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
I've found an issue in texreg(.,caption.above = TRUE). If you set caption to be above the table, texreg() will generate a LaTeX similar to this:
\begin{table}[htb]
\caption{H1: Finales ...}
\begin{center}
...
And this code will lead to an LaTeX table output, which looks like following table:
As you can see there is a vertical space between caption and table, which doesn't look great and waste some space in the LaTeX document. An solution would be to set \caption{} after the center environment:
\begin{table}[htb]
\begin{center}
\caption{H1: Finales ...}
...
which would lead to the following table:
which is in my opinion the better solution.
Request: Is it possible to reprogram texreg() to set the \caption after center environment?
Remark: In R package xtable the \caption is set after \centering.
The text was updated successfully, but these errors were encountered:
Hello,
I've found an issue in
texreg(.,caption.above = TRUE)
. If you set caption to be above the table,texreg()
will generate a LaTeX similar to this:And this code will lead to an LaTeX table output, which looks like following table:
As you can see there is a vertical space between caption and table, which doesn't look great and waste some space in the LaTeX document. An solution would be to set
\caption{}
after thecenter
environment:which would lead to the following table:
which is in my opinion the better solution.
Request: Is it possible to reprogram
texreg()
to set the\caption
aftercenter
environment?Remark: In R package
xtable
the\caption
is set after\centering
.The text was updated successfully, but these errors were encountered: