Reset row counter before each table

This commit is contained in:
Philipp Matthias Schäfer 2025-01-16 16:31:34 +01:00
parent b895d3f36d
commit 1eba055be0
2 changed files with 71 additions and 26 deletions

View File

@ -11,6 +11,8 @@
\renewcommand{\familydefault}{\sfdefault}
\rowcolors{1}{black!5!white}{white}
\newtcolorbox{contable}[1]{before title={\setcounter{rownum}{0}}, title={\textbf{#1}}, tabularx={l|X}}
\begin{document}
\begin{center}
@ -23,32 +25,73 @@
\begin{multicols}{2}
\begin{tcolorbox}[tabularx={l|X}, title={\textbf{presente}}]
\begin{contable}{presente}
eu & cant-o \\
tu & cant-as \\
ela/ele & cant-a \\
nós & cant-amos \\
vós & cant-ais \\
elas/eles & cant-am \\
\end{tcolorbox}
\end{contable}
\begin{tcolorbox}[tabularx={l|X}, title={\textbf{préterito perfeito}}]
\begin{contable}{préterito perfeito}
eu & cant-ei \\
tu & cant-aste \\
ela/ele & cant-ou \\
nós & cant-amos \\
vós & cant-astes \\
elas/eles & cant-aram \\
\end{tcolorbox}
\end{contable}
\begin{tcolorbox}[tabularx={l|X}, title={\textbf{futuro de presente}}]
\begin{contable}{futuro de presente}
eu & cant-arei \\
tu & cant-arás \\
ela/ele & cant-ará \\
nós & cant-aremos \\
vós & cant-areis \\
elas/eles & cant-arão \\
\end{tcolorbox}
\end{contable}
\end{multicols}
\clearpage
\begin{center}
{\large tabela de conjugação}\\
\vskip1ex
{\Huge \textbf{-er} (example: com-er)}
\end{center}
\vskip1em
\begin{multicols}{2}
\begin{contable}{presente}
eu & com-o \\
tu & com-es \\
ela/ele & com-e \\
nós & com-emos \\
vós & com-eis \\
elas/eles & com-em \\
\end{contable}
\begin{contable}{préterito perfeito}
eu & com-i \\
tu & com-este \\
ela/ele & com-eu \\
nós & com-emos \\
vós & com-estes \\
elas/eles & com-eram \\
\end{contable}
\begin{contable}{futuro de presente}
eu & com-erei \\
tu & com-erás \\
ela/ele & com-erá \\
nós & com-eremos \\
vós & com-ereis \\
elas/eles & com-erão \\
\end{contable}
\end{multicols}

View File

@ -11,6 +11,8 @@
\renewcommand{\familydefault}{\sfdefault}
\rowcolors{1}{black!5!white}{white}
\newtcolorbox{contable}[1]{before title={\setcounter{rownum}{0}}, title={\textbf{#1}}, tabularx={l|X}}
\begin{document}
\begin{center}
@ -23,14 +25,14 @@
\begin{multicols}{2}
\begin{tcolorbox}[tabularx={l|X}, title={\textbf{présent}}]
\begin{contable}{présent}
j & aim-e \\
tu & aim-es \\
elle/il & aim-e \\
nous & aim-ons \\
vous & aim-ez \\
elles/ils & aim-ent \\
\end{tcolorbox}
\end{contable}
\end{multicols}
@ -46,14 +48,14 @@
\begin{multicols}{2}
\begin{tcolorbox}[tabularx={l|X}, title={\textbf{présent}}]
\begin{contable}{présent}
je & fin-is \\
tu & fin-is \\
elle/il & fin-it \\
nous & fin-issons \\
vous & fin-issez \\
elles/ils & fin-issent \\
\end{tcolorbox}
\end{contable}
\end{multicols}
@ -69,14 +71,14 @@
\begin{multicols}{2}
\begin{tcolorbox}[tabularx={l|X}, title={\textbf{présent}}]
\begin{contable}{présent}
j & ai \\
tu & as \\
elle/il & a \\
nous & avons \\
vous & avez \\
elles/ils & ont \\
\end{tcolorbox}
\end{contable}
\end{multicols}
@ -92,14 +94,14 @@
\begin{multicols}{2}
\begin{tcolorbox}[tabularx={l|X}, title={\textbf{présent}}]
\begin{contable}{présent}
je & cour-s \\
tu & cour-s \\
elle/il & cour-t \\
nous & cour-ons \\
vous & cour-ez \\
elles/ils & cour-ent \\
\end{tcolorbox}
\end{contable}
\end{multicols}
@ -115,14 +117,14 @@
\begin{multicols}{2}
\begin{tcolorbox}[tabularx={l|X}, title={\textbf{présent}}]
\begin{contable}{présent}
je & d-ois \\
tu & d-ois \\
elle/il & d-oit \\
nous & d-evons \\
vous & d-evez \\
elles/ils & d-oivent \\
\end{tcolorbox}
\end{contable}
\end{multicols}
@ -138,14 +140,14 @@
\begin{multicols}{2}
\begin{tcolorbox}[tabularx={l|X}, title={\textbf{présent}}]
\begin{contable}{présent}
je & suis \\
tu & es \\
elle/il & est \\
nous & sommes \\
vous & êtes \\
elles/ils & sont \\
\end{tcolorbox}
\end{contable}
\end{multicols}
@ -161,14 +163,14 @@
\begin{multicols}{2}
\begin{tcolorbox}[tabularx={l|X}, title={\textbf{présent}}]
\begin{contable}{présent}
je & perd-s \\
tu & perd-s \\
elle/il & perd \\
nous & perd-ons \\
vous & perd-ez \\
elles/ils & perd-ent \\
\end{tcolorbox}
\end{contable}
\end{multicols}
@ -184,14 +186,14 @@
\begin{multicols}{2}
\begin{tcolorbox}[tabularx={l|X}, title={\textbf{présent}}]
\begin{contable}{présent}
je & p-eux \\
tu & p-eux \\
elle/il & p-eut \\
nous & p-ouvons \\
vous & p-ouvez \\
elles/ils & p-euvent \\
\end{tcolorbox}
\end{contable}
\end{multicols}
@ -207,14 +209,14 @@
\begin{multicols}{2}
\begin{tcolorbox}[tabularx={l|X}, title={\textbf{présent}}]
\begin{contable}{présent}
je & pren-ds \\
tu & pren-ds \\
elle/il & pren-d \\
nous & pren-ons \\
vous & pren-ez \\
elles/ils & pren-nent \\
\end{tcolorbox}
\end{contable}
\end{multicols}
@ -230,14 +232,14 @@
\begin{multicols}{2}
\begin{tcolorbox}[tabularx={l|X}, title={\textbf{présent}}]
\begin{contable}{présent}
je & v-eux \\
tu & v-eux \\
elle/il & v-eut \\
nous & v-oulons \\
vous & v-oulez \\
elles/ils & v-eulent \\
\end{tcolorbox}
\end{contable}
\end{multicols}