You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pandoc generates latex column spacing in latex output for a nCols=3-column like this:
IMO: \columnwidth - 2\tabcolsep) * \real{0.41} should be \columnwidth - (2*(nCols - 1))\tabcolsep) * \real{0.41}
Latex inserts for each column a \tabcolsep at the beginning and the end. So the space between two adjacent columns is 2\tabcolsep.
Bonus: It might be nice, to put the format (\columnwidth - 2\tabcolsep) * \real{0.30}}\raggedright directly into the column. e.g. (also removing unnecessary minipage if possible, might still stay...)
+----------------------------+---------------------------------------+----------------------------+
| A | B | A |
+============================+=======================================+============================+
| sdasdasda | asdasdasdasd | sdasdasda |||||
+----------------------------+---------------------------------------+----------------------------+
Table: Title
I've tried to implement the strategy recommended in the stackexchange post you linked to in the other issue. Minipages are only used when necessary, and width and alignment information is put in the column descriptors at the outset.
This gives nicer latex output, at least.
Pandoc generates latex column spacing in latex output for a
nCols=3
-column like this:IMO:
\columnwidth - 2\tabcolsep) * \real{0.41}
should be\columnwidth - (2*(nCols - 1))\tabcolsep) * \real{0.41}
Latex inserts for each column a
\tabcolsep
at the beginning and the end. So the space between two adjacent columns is2\tabcolsep
.Bonus: It might be nice, to put the format
(\columnwidth - 2\tabcolsep) * \real{0.30}}\raggedright
directly into the column. e.g. (also removing unnecessary minipage if possible, might still stay...)Test:
The text was updated successfully, but these errors were encountered: