summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/flacards/flacards_ex2.tex
blob: b2dbd87c6fd0ce343289d8b396c001e92cec794f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
\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}
                  & cocin{\bfseries ar}       & viv{\bfseries ir}\\
\noalign{\hrule height 1pt}%------------------------------------------
yo                & cocin{\bfseries aba}      & viv{\bfseries \'ia}\\
t\'u              & cocin{\bfseries abas}     & viv{\bfseries \'ias}\\
usted, ella, \'el & cocin{\bfseries aba}      & viv{\bfseries \'ia}\\
nosotros/-as      & cocin{\bfseries \'abamos} & viv{\bfseries \'iamos}\\
vosotros/-as      & cocin{\bfseries abais}    & viv{\bfseries \'iais}\\
ustedes, ellos/-as& cocin{\bfseries aban}     & viv{\bfseries \'ian}\\
\end{tabular}
}

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

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