diff options
author | Peter Fabinski <github@peterfab.com> | 2021-08-03 17:34:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-03 15:34:39 -0600 |
commit | 8667ba2bcc8a7da6ba50369161c0bcb9020780e8 (patch) | |
tree | 61b348636913d420e975ac8fbfc0be9f40cfcb91 /test/command | |
parent | f938378d001cb892ccccbf6808010dd69becc26f (diff) | |
download | pandoc-8667ba2bcc8a7da6ba50369161c0bcb9020780e8.tar.gz |
LaTeX table writer: Increase column width precision (#7466)
In some cases, the rounding performed by the LaTeX table
writer would introduce visible overrun outside the text
area.
This adds two more decimal places to the width values.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/5367.md | 2 | ||||
-rw-r--r-- | test/command/7272.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/command/5367.md b/test/command/5367.md index a67011c2f..427aab913 100644 --- a/test/command/5367.md +++ b/test/command/5367.md @@ -21,7 +21,7 @@ dolly[^5] hello\footnote{doc footnote} \begin{longtable}[]{@{} - >{\centering\arraybackslash}p{(\columnwidth - 0\tabcolsep) * \real{0.17}}@{}} + >{\centering\arraybackslash}p{(\columnwidth - 0\tabcolsep) * \real{0.1667}}@{}} \caption[Sample table.]{Sample table.\footnote{caption footnote}}\tabularnewline \toprule \begin{minipage}[b]{\linewidth}\centering diff --git a/test/command/7272.md b/test/command/7272.md index d27b25143..cea282a10 100644 --- a/test/command/7272.md +++ b/test/command/7272.md @@ -15,7 +15,7 @@ </table> ^D \begin{longtable}[]{@{} - >{\raggedright\arraybackslash}p{(\columnwidth - 0\tabcolsep) * \real{1.00}}@{}} + >{\raggedright\arraybackslash}p{(\columnwidth - 0\tabcolsep) * \real{1.0000}}@{}} \toprule \endhead \begin{minipage}[t]{\linewidth}\raggedright |