this is for holding javascript data
Deyan Ginev edited section_LaTeX_Programming_Only_if__.tex
almost 9 years ago
Commit id: b69d496d0c3c82ef6f01c0387235bd4d39f23924
deletions | additions
diff --git a/section_LaTeX_Programming_Only_if__.tex b/section_LaTeX_Programming_Only_if__.tex
index 9b0e9ff..f39b08b 100644
--- a/section_LaTeX_Programming_Only_if__.tex
+++ b/section_LaTeX_Programming_Only_if__.tex
...
\newcounter{a}
\newcounter{b}
\newcount\ab
%
% And store the rows in a special token variable, to avoid typesetting troubles with tabular
\newtoks\allrows
% The darkest black magic is needed to make \addrow update the \allrows variable
...
% Some simple macros for initializing and printing our tokens variable
\newcommand*\resetrows{\global\allrows{}}
\newcommand*\printrows{\the\allrows}
%
% We can now initialize and generate our table rows
\resetrows
% For A from 5 to 9