Deyan Ginev edited section_LaTeX_Programming_Only_if__.tex  almost 9 years ago

Commit id: 859e580a30759016829437baaac6881e3ef0816d

deletions | additions      

       

\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}