this is for holding javascript data
Deyan Ginev edited section_LaTeX_Programming_Only_if__.tex
almost 9 years ago
Commit id: 859e580a30759016829437baaac6881e3ef0816d
deletions | additions
diff --git a/section_LaTeX_Programming_Only_if__.tex b/section_LaTeX_Programming_Only_if__.tex
index 25857ed..bc74c49 100644
--- a/section_LaTeX_Programming_Only_if__.tex
+++ b/section_LaTeX_Programming_Only_if__.tex
...
\repeat
% Finally, show our work, by writing a table with minimal markup:
\begin{table}[ht]
\small
\begin{longtable}{|rrr|}
\hline $A$ & $B$ & $A\times B$ \\ \hline
\printrows
\end{longtable}
\end{table}
\end{lstlisting}
% Actual multiplication table implementation:
...
\expandafter\global\expandafter\allrows\expandafter{\the\allrows\hline}
\repeat
\begin{table}[ht]
\small
\begin{longtable}{|rrr|}
\hline $A$ & $B$ & $A\times B$ \\ \hline
\printrows
\end{longtable}
\label{tab:multiplication}
\end{table}