| 1 |
% This file is part of flacards. |
| 2 |
% |
| 3 |
% Flacards is free software; you can redistribute it and/or modify |
| 4 |
% it under the terms of the GNU General Public License as published by |
| 5 |
% the Free Software Foundation; either version 2 of the License, or |
| 6 |
% (at your option) any later version. |
| 7 |
% |
| 8 |
% Flacards is distributed in the hope that it will be useful, |
| 9 |
% but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 |
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 |
% GNU General Public License for more details. |
| 12 |
% |
| 13 |
% You should have received a copy of the GNU General Public License |
| 14 |
% along with Foobar; if not, write to the Free Software |
| 15 |
% Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 16 |
% |
| 17 |
% |
| 18 |
|
| 19 |
|
| 20 |
\documentclass[a4paper,frontgrid]{flacards} |
| 21 |
\usepackage{ngerman} |
| 22 |
|
| 23 |
\usepackage{color} |
| 24 |
|
| 25 |
\fboxsep=0pt |
| 26 |
|
| 27 |
\renewcommand{\fchead}{\colorbox{red}{\small\sffamily\bfseries\textcolor{white}{\parbox{\cardwidth}{\vskip3pt\centering Deutsch\vskip4pt}}}} |
| 28 |
\renewcommand{\bchead}{\colorbox{blue}{\small\sffamily\bfseries\textcolor{white}{\parbox{\cardwidth}{\vskip3pt\centering English\vskip3pt}}}} |
| 29 |
|
| 30 |
\renewcommand{\frfoot}{\footnotesize\thecardno\hskip3pt\smallskip} % change layout for left foot on front |
| 31 |
\renewcommand{\brfoot}{\footnotesize\thecardno\hskip3pt\smallskip} % change layout for left foot on front |
| 32 |
|
| 33 |
% You can define head and foot elements using \flhead, \fchead and \frhead for right, center and right head on frontside, |
| 34 |
% \flfoot, \fcfoot, \flfoot for footline on frontside. Analogical use \blhead, \bchead, \brhead, \blfoot, \bcfoot and |
| 35 |
% \frfoot for backside. |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
%\renewcommand{\cardtextstyleb}{\flushright} |
| 40 |
\begin{document} |
| 41 |
\pagesetup{2}{4} % 3x8 cards |
| 42 |
\renewcommand{\flfoot}{\hskip3pt\footnotesize Lektion 1\smallskip} % change layout for left foot on front |
| 43 |
\card{gehen\\schlafen}{to go/to walk\\to sleep} |
| 44 |
\card{hell, klar}{bright} |
| 45 |
\card{mit\\ohne}{with\\without} |
| 46 |
\card{Lernkarte}{flashcard} |
| 47 |
\card{Wasser}{water} |
| 48 |
\card{Saft}{juice} |
| 49 |
\card{Fenster}{window} |
| 50 |
\card{Linie}{line} |
| 51 |
\card{und\\oder}{and\\or} |
| 52 |
\card{Regen}{rain} |
| 53 |
\end{document} |