<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass[a4paper,frontgrid]{flacards}
\usepackage{color}

% redefining center head on frontside
\renewcommand{\fchead}{%
 \vskip-3pt\fboxsep=0pt%
 \colorbox{red}{%
  \small\sffamily\bfseries\textcolor{white}{%
   \parbox{\cardwidth}{\vskip3pt\centering Deutsch\vskip4pt}%
  }%
 }%
}

% redefining center head on backside
\renewcommand{\bchead}{%
 \vskip-3pt\fboxsep=0pt%
 \colorbox{blue}{%
  \small\sffamily\bfseries\textcolor{white}{%
   \parbox{\cardwidth}{\vskip3pt\centering Espa\~nol\vskip4pt}
  }%
 }%
}

% redefining default text style for front side
\renewcommand{\cardtextstylef}{\bfseries}


% You can define head and foot elements using \flhead, \fchead 
% and \frhead for right, center and right head on frontside,
% \flfoot, \fcfoot, \flfoot for footline on frontside. 
% Analogical use \blhead, \bchead, \brhead, \blfoot, \bcfoot 
% and \frfoot for backside.

\begin{document}
% 2x4 cards per page
\pagesetup{2}{4}

% change layout for left foot on front
\renewcommand{\flfoot}{\footnotesize Grammatik} 

\card{Conjugation (pret\'erito imperfecto, regular)}
{\begin{tabular}{l|ll}
                  &amp; cocin{\bfseries ar}       &amp; viv{\bfseries ir}\\
\noalign{\hrule height 1pt}%------------------------------------------
yo                &amp; cocin{\bfseries aba}      &amp; viv{\bfseries \'ia}\\
t\'u              &amp; cocin{\bfseries abas}     &amp; viv{\bfseries \'ias}\\
usted, ella, \'el &amp; cocin{\bfseries aba}      &amp; viv{\bfseries \'ia}\\
nosotros/-as      &amp; cocin{\bfseries \'abamos} &amp; viv{\bfseries \'iamos}\\
vosotros/-as      &amp; cocin{\bfseries abais}    &amp; viv{\bfseries \'iais}\\
ustedes, ellos/-as&amp; cocin{\bfseries aban}     &amp; viv{\bfseries \'ian}\\
\end{tabular}
}

\card{Conjugation (pret\'erito imperfecto, irregular)}
{\begin{tabular}{l|lll}
                  &amp; ser      &amp; ir       &amp; ver\\
\noalign{\hrule height 1pt}%------------------------
yo                &amp; era      &amp; iba      &amp; ve\'ia\\
t\'u              &amp; eras     &amp; ibas     &amp; ve\'ias\\
usted, ella, \'el &amp; era      &amp; iba      &amp; ve\'ia\\
nosotros/-as      &amp; \'eramos &amp; \'ibamos &amp; ve\'iamos\\
vosotros/-as      &amp; erais    &amp; ibais    &amp; ve\'iais\\
ustedes, ellos/-as&amp; eran     &amp; iban     &amp; ve\'ian\\
\end{tabular}
}

\renewcommand{\flfoot}{\footnotesize Vokabeln} 
\card{gehen}{ir}
\card{sein}{ser/estar}
\card{Land}{pais, {\em m}}
\end{document} 
</pre></body></html>