I see many cls
files using plus
and minus
operators to set lengths. How can I use these operators (or some equivalent macro(s)) to do something like the following?
\setlength{\lengtha}{.5\textwidth}
\setlength{\lengthb}{.5\textwidth}
\begin{tabular*}{\lengtha plus \lengthb}{cc}
a & b \\
\end{tabular*}
Best Answer
Use the calc package. Package description: