MyST-Parser icon indicating copy to clipboard operation
MyST-Parser copied to clipboard

Sphinx latex output doesn't keep text alignment in tables

Open MacqGit opened this issue 1 year ago • 0 comments

What version of myst-parser are you using?

4.0.0

What version dependencies are you using?

Sphinx 8.0.2 sphinx-autobuild 2024.4.16 sphinx-book-theme 1.1.3 sphinx-copybutton 0.5.2 sphinx_design 0.6.1 sphinx_external_toc 1.0.1 sphinx_gettext_ifconfig 1.0 sphinx-intl 2.2.0 sphinx-multilingual 1.0 sphinxcontrib-applehelp 2.0.0 sphinxcontrib-devhelp 2.0.0 sphinxcontrib-htmlhelp 2.1.0 sphinxcontrib-httpdomain 1.8.1 sphinxcontrib-jsmath 1.0.1 sphinxcontrib-qthelp 2.0.0 sphinxcontrib-serializinghtml 2.0.0 sphinxcontrib-youtube 1.4.1

What operating system are you using?

Linux

Describe the Bug

When defining text alignment in table columns, this alignment is not kept in pdf output. e.g.: Source markdown: ` ` ` {eval-rst} .. raw:: latex

\begingroup \scriptsize ` ` `

Total Detected Correct Reading Performance (Detection x Reading) Country Class Make + Model Color Error No Color
Nr. Plates 1500 1493 1488 99.20% 1490 1493 1487 38 27
Performance - 99,53% 99,67% 99.80% 100% 99,60% 2,54% 1,81%

` ` ` ```{eval-rst} .. raw:: latex

\endgroup ` ` `

-> in html image

-> in pdf image

Expected Behavior

Alignment kept in .pdf output

To Reproduce

No response

MacqGit avatar Sep 06 '24 14:09 MacqGit