Joseph Wright:
It works like a champ. Thanks!
Search found 2 matches
- Tue Nov 17, 2009 12:40 am
- Forum: General
- Topic: Increment (or decrement) a parameter in LaTeX
- Replies: 8
- Views: 11572
- Mon Nov 16, 2009 6:55 pm
- Forum: General
- Topic: Increment (or decrement) a parameter in LaTeX
- Replies: 8
- Views: 11572
Increment (or decrement) a parameter in LaTeX
How can I increment or decrement a parameter in LaTeX?
For example, suppose I create an environment foo as follows:
\newenvironment{foo}[2]{\begin{tabular}{*{#1}c*{#2}r}}{\end{tabular}}
I can write
\begin{foo}{4}{3}
<tabular data in seven columns>
\end{foo}
But in my application, if the first ...
For example, suppose I create an environment foo as follows:
\newenvironment{foo}[2]{\begin{tabular}{*{#1}c*{#2}r}}{\end{tabular}}
I can write
\begin{foo}{4}{3}
<tabular data in seven columns>
\end{foo}
But in my application, if the first ...