summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/flacards/flacards_ex.tex
blob: 2d91379e9bd312641e43cfa7d852106b1f9bb0e1 (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
%    This file is part of flacards.
%
%    Flacards is free software; you can redistribute it and/or modify
%    it under the terms of the GNU General Public License as published by
%    the Free Software Foundation; either version 2 of the License, or
%    (at your option) any later version.
%
%    Flacards is distributed in the hope that it will be useful,
%    but WITHOUT ANY WARRANTY; without even the implied warranty of
%    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%    GNU General Public License for more details.
%
%    You should have received a copy of the GNU General Public License
%    along with Foobar; if not, write to the Free Software
%    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
%
%


\documentclass[a4paper,frontgrid]{flacards}
\usepackage{ngerman}

\usepackage{color}

\fboxsep=0pt

\renewcommand{\fchead}{\colorbox{red}{\small\sffamily\bfseries\textcolor{white}{\parbox{\cardwidth}{\vskip3pt\centering Deutsch\vskip4pt}}}}
\renewcommand{\bchead}{\colorbox{blue}{\small\sffamily\bfseries\textcolor{white}{\parbox{\cardwidth}{\vskip3pt\centering  English\vskip3pt}}}}

\renewcommand{\frfoot}{\footnotesize\thecardno\hskip3pt\smallskip} % change layout for left foot on front
\renewcommand{\brfoot}{\footnotesize\thecardno\hskip3pt\smallskip} % change layout for left foot on front

% 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.



%\renewcommand{\cardtextstyleb}{\flushright}
\begin{document}
\pagesetup{2}{4} % 3x8 cards
\renewcommand{\flfoot}{\hskip3pt\footnotesize Lektion 1\smallskip} % change layout for left foot on front
\card{gehen\\schlafen}{to go/to walk\\to sleep}
\card{hell, klar}{bright}
\card{mit\\ohne}{with\\without}
\card{Lernkarte}{flashcard}
\card{Wasser}{water}
\card{Saft}{juice}
\card{Fenster}{window}
\card{Linie}{line}
\card{und\\oder}{and\\or}
\card{Regen}{rain}
\end{document}