I have a table as described here.
It has a \Downarrow on the left side.
I would like to add a caption to this, but I have had no luck due to the whole tabular environment being contained in math mode ($...$).
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityI have a table as described here.
It has a \Downarrow on the left side.
I would like to add a caption to this, but I have had no luck due to the whole tabular environment being contained in math mode ($...$).
You tried to encapsulate the table
environment around it like this?
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{table}\centering
$\rotatebox[origin=c]{90}{time}%
\left\Downarrow% Use `\left.` if don't want arrow on this side.
\begin{tabular}{r r}
1:00 & 2 \\
3:00 & 4 \\
5:00 & 6 \\
7:00 & 8 \\
8:00 & 10 \\
\end{tabular}
\right\downarrow% Use `\right.` if don't want arrow on this side.
\rotatebox[origin=c]{90}{time}$
\caption{test}
\end{table}
\end{document}
\captionof
from the caption package). Since you show no code we have no idea what you are doing.