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
If there is already a relevant issue, whether open or closed, comment on the existing thread instead of posting a new issue.
Description
I have series of the same GT tables in one report.
(Same structure and formatting. Different data)
Tables are simple and don't look good stretched to 100% of the page.
I use:
tab_options(table.width = pct(70))
It works exactly as intended when there is only one table in the report.
When there is more than one table it gives:
ERROR:
compilation failed- error
LaTeX Error: Command \holdLTleft already defined.
Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.656 \newlength\holdLTleft
\newlength\holdLTright\setlength\holdLTleft{\LTle...
see Zestawienie-QC.log for more information.
I'm positive that tab_options(table.width = pct(70)) is the problem.
Without it document renders properly.
Also, when only one table width is formatted in the document it renders properly (but ugly - the first table is formatted, the rest are stretched).
My guess is that formatting the second table doubles some latex tags that can't be doubled.
There is this line before every table in resulting .tex file:
Prework
Description
I have series of the same GT tables in one report.
(Same structure and formatting. Different data)
Tables are simple and don't look good stretched to 100% of the page.
I use:
It works exactly as intended when there is only one table in the report.
When there is more than one table it gives:
Zestawienie-QC.log
I'm positive that
tab_options(table.width = pct(70))
is the problem.Without it document renders properly.
Also, when only one table width is formatted in the document it renders properly (but ugly - the first table is formatted, the rest are stretched).
My guess is that formatting the second table doubles some latex tags that can't be doubled.
There is this line before every table in resulting .tex file:
Manual removal of every occurrence after the first fixes the document and it starts to render properly.
Reproducible example
It is the same for any table I've tried.
Expected result
Well, it would be nice to be allowed to format more than one table in the report, I guess.
Session info
The text was updated successfully, but these errors were encountered: