From 8667ba2bcc8a7da6ba50369161c0bcb9020780e8 Mon Sep 17 00:00:00 2001 From: Peter Fabinski Date: Tue, 3 Aug 2021 17:34:39 -0400 Subject: 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. --- test/command/5367.md | 2 +- test/command/7272.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test/command') 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 @@ ^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 -- cgit v1.2.3