GESIS-Methods-Hub / andrew

Content Aggregation System for tutorials and vignette of reproducible computational methods.
https://gesis-methods-hub.github.io/andrew/
MIT License
2 stars 0 forks source link

Text overflow in table cell #193

Closed rgaiacs closed 11 months ago

rgaiacs commented 11 months ago

Given the minimal Markdown working example

Multiline tables respect the relative width of columns

-------------------------------------------------------------------------------------------------------------------------
Search Engine Foo                        Bar                        Foo                        Bar
------------- -------------------------- -------------------------- -------------------------- --------------------------
DuckDuckGo    1                          1                          1                          1

X             1                          1                          1                          1
-------------------------------------------------------------------------------------------------------------------------

Converting the Markdown to PDF with pandoc --from markdown+multiline_tables --to pdf --output mwe.pdf mwe.md produces mwe.pdf that has

Screenshot of PDF with text overflow

Note that DuckDuckGo overflow the cell.

rgaiacs commented 11 months ago

Based on https://tex.stackexchange.com/a/338524/22451, we should use LuaLaTeX.

Screenshot of PDF render with LuaLaTeX