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
\begin{table}[H]
\centering\begin{tabular}[t]{>{\raggedleft\arraybackslash}p{0.05\textwidth}>{\raggedright\arraybackslash}p{0.9\textwidth}}
\toprule
v1 & v2\\
\midrule\cellcolor{gray!10}{1} & \cellcolor{gray!10}{without line \cellcolor{gray!10}{breaks}}\\
2 & without line breaks\\
\cellcolor{gray!10}{3} & \cellcolor{gray!10}{without line breaks}\\
4 & with line
breaks\\
5 & with line
breaks\\
6 & with line
breaks\\
\cellcolor{gray!10}{7} & \cellcolor{gray!10}{without line breaks}\\
8 & without line breaks\\
\cellcolor{gray!10}{9} & \cellcolor{gray!10}{without line breaks}\\
\bottomrule\end{tabular}
\end{table}
\end{document}
The text was updated successfully, but these errors were encountered:
Describe the bug
Striping does not work if the cell contains line breaks
To Reproduce
Knit PDF with RMarkdown containing the following code chunks
Cell color in row 5 becomes invalid.
The Latex code looks like this:
The text was updated successfully, but these errors were encountered: