Skip to content

\textcolor and \color commands do not work inside tables #206

@co1emi11er2

Description

@co1emi11er2

Input

#mi(`\begin{tabular}{rrrr}
  \toprule
  \textbf{Time} & \textbf{Acceleration} & \textbf{Velocity} & \textbf{Distance} \\
  {[s]} & [m / s$^2$] & [m / s] & [m] \\
  \midrule
  0.0 & 1.0 & 0.0 & 0.0 \\
  1.0 & 1.0 & 1.0 & 0.5 \\
  2.0 & 1.0 & 2.0 & 2.0 \\
  3.0 & 1.0 & 3.0 & 4.5 \\
  4.0 & 1.0 & 4.0 & 8.0 \\
  5.0 & 1.0 & 5.0 & \color{blue}{12.5} \\
  6.0 & 1.0 & 6.0 & \textcolor{blue}{18.0} \\
  7.0 & 1.0 & 7.0 & \textcolor{blue}{24.5} \\
  8.0 & 1.0 & 8.0 & \textcolor{blue}{32.0} \\
  9.0 & 1.0 & 9.0 & \textcolor{blue}{40.5} \\
  10.0 & 1.0 & \textcolor{red}{10.0} & \textcolor{blue}{50.0} \\
  11.0 & 1.0 & \textcolor{red}{11.0} & \textcolor{blue}{60.5} \\
  12.0 & 1.0 & \textcolor{red}{12.0} & \textcolor{blue}{72.0} \\
  13.0 & 1.0 & \textcolor{red}{13.0} & \textcolor{blue}{84.5} \\
  14.0 & 1.0 & \textcolor{red}{14.0} & \textcolor{blue}{98.0} \\
  15.0 & 1.0 & \textcolor{red}{15.0} & \textcolor{blue}{112.5} \\
  16.0 & 1.0 & \textcolor{red}{16.0} & \textcolor{blue}{128.0} \\
  17.0 & 1.0 & \textcolor{red}{17.0} & \textcolor{blue}{144.5} \\
  18.0 & 1.0 & \textcolor{red}{18.0} & \textcolor{blue}{162.0} \\
  19.0 & 1.0 & \textcolor{red}{19.0} & \textcolor{blue}{180.5} \\
  20.0 & 1.0 & \textcolor{red}{20.0} & \textcolor{blue}{200.0} \\
  \bottomrule
\end{tabular}`)

Output

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions