this is for holding javascript data
Deyan Ginev edited section_LaTeX_Programming_Only_if__.tex
almost 9 years ago
Commit id: 7132eaccfc910189b8f7329566dc60da3e58d78d
deletions | additions
diff --git a/section_LaTeX_Programming_Only_if__.tex b/section_LaTeX_Programming_Only_if__.tex
index e18c0e8..a07bb53 100644
--- a/section_LaTeX_Programming_Only_if__.tex
+++ b/section_LaTeX_Programming_Only_if__.tex
...
% We can now initialize and generate our table rows
\resetrows
\setcounter{a}{0} % For A from
1 5 to 9
\setcounter{a}{4}
\loop\ifnum\thea<9
\stepcounter{a}
\setcounter{b}{0}
...
\repeat
% Finally, show our work, by writing a table with minimal markup:
\begin{longtable}{|rrr|} \begin{tabular}{|rrr|}
\hline $A$ & $B$ & $A\times B$ \\ \hline
\printrows
\end{longtable} \end{tabular}
\end{lstlisting}
\end{minipage}
\begin{minipage}{0.2\textwidth}
...
\resetrows
\setcounter{a}{0} \setcounter{a}{4}
\loop\ifnum\thea<9
\stepcounter{a}
\setcounter{b}{0}
...
\expandafter\global\expandafter\allrows\expandafter{\the\allrows\hline}
\repeat
\begin{longtable}{|rrr|} \begin{tabular}{|rrr|}
\hline $A$ & $B$ & $A\times B$ \\ \hline
\printrows
\end{longtable} \end{tabular}
\end{minipage}