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
% output of the R code above\begin{tabular}[t]{l|l}
\hline
Col1 & Col2\\
\hline\multicolumn{2}{l}{\textbf{Packed rows}}\\
\hline\hspace{1em}val1 & val4\\
\hspace{1em}val2 & val5\\
val3 & val6\\
\hline\end{tabular}
However, in the table I am currently building, I would really like to add space between the rows within a group, not only between the groups of packed rows (which is possible using the argument latex_gap_space). So my desired output would allow for something like this:
% desired output\begin{tabular}[t]{l|l}
\hline
Col1 & Col2\\
\hline\multicolumn{2}{l}{\textbf{Packed rows}}\\
\hline\hspace{1em}val1 & val4\\
\addlinespace% space between rows within a group\hspace{1em}val2 & val5\\
\addlinespace% space between two groups
val3 & val6\\
\hline\end{tabular}
If this is possible already, I apologize and would welcome a hint. Thank you so much for the awesome package! 😊
The text was updated successfully, but these errors were encountered:
I think an example explains it best. Take the following minimal data frame:
The following code yields the expected output
When I use
pack_rows()
however, the\addlinespace
commands are omitted:However, in the table I am currently building, I would really like to add space between the rows within a group, not only between the groups of packed rows (which is possible using the argument
latex_gap_space
). So my desired output would allow for something like this:If this is possible already, I apologize and would welcome a hint. Thank you so much for the awesome package! 😊
The text was updated successfully, but these errors were encountered: