Wikiversity:Semantic templates/Row configuration/Latex
\newcommand{\rowandtwo}[2]{#1 & #2}
\newcommand{\rowandthree}[3]{#1 & #2 & #3}
\newcommand{\rowandfour}[4]{#1 & #2 & #3 & #4}
\newcommand{\rowandfive}[5]{#1 & #2 & #3 & #4 & #5}
\newcommand{\rowandsix}[6]{#1 & #2 & #3 & #4 & #5 & #6}
\newcommand{\rowandseven}[7]{#1 & #2 & #3 & #4 & #5 & #6 & #7}
\newcommand{\rowandeight}[8]{#1 & #2 & #3 & #4 & #5 & #6 & #7 & #8}
\newcommand{\rowandnine}[9]{#1 & #2 & #3 & #4 & #5 & #6 & #7 & #8 & #9}
\newcommand{\mathrowandtwo}[2]{$#1$ & $#2$}
\newcommand{\mathrowandthree}[3]{$#1$ & $ #2$ & $#3$}
\newcommand{\mathrowandfour}[4]{$#1$ & $#2$ & $#3$ & $#4$}
\newcommand{\mathrowandfive}[5]{$#1$ & $#2$ & $#3$ & $#4$ & $#5$}
\newcommand{\mathrowandsix}[6]{$#1$ & $#2$ & $#3$ & $#4$ & $#5$ & $#6$}
\newcommand{\mathrowandseven}[7]{$#1$ & $#2$ & $#3$ & $#4$ & $#5$ & $#6$ & $#7$}
\newcommand{\mathrowandeight}[8]{$#1$ & $#2$ & $#3$ & $#4$ & $#5$ & $#6$ & $#7$ & $#8$}
\newcommand{\mathrowandnine}[9]{$#1$ & $#2$ & $#3$ & $#4$ & $#5$ & $#6$ & $#7$ & $#8$ & $#9$}
% ? ?
\newcommand {\listsixmathand}[6]{$#1$ & $#2$& $#3$ & $#4$ & $#5$ & $#6$}
\newcommand {\listsevenmathand}[7]{$#1$ & $#2$& $#3$ & $#4$ & $#5$ & $#6$ & $#7$}
\newcommand{\listtwoand}[2]{#1}
\newcommand{\listthreeand}[3]{#1}
\newcommand{\listsevenand}[7]{#1}
\newcommand{\listsixbreak}[6]{#1 \\ \hline #2 \\ \hline #3 \\ \hline #4 \\ \hline #5 \\ \hline #6}
\newcommand{\leadrowandthree}[3]{#1}
\newcommand{\mathdoublerowandthree}[6]{$#1$&$#2$&$#3$\\ \hline $#4$&$#5$&$#6$}