summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/flacards/flacards_ex.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/flacards/flacards_ex.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/flacards/flacards_ex.tex')
-rw-r--r--macros/latex/contrib/flacards/flacards_ex.tex53
1 files changed, 53 insertions, 0 deletions
diff --git a/macros/latex/contrib/flacards/flacards_ex.tex b/macros/latex/contrib/flacards/flacards_ex.tex
new file mode 100644
index 0000000000..2d91379e9b
--- /dev/null
+++ b/macros/latex/contrib/flacards/flacards_ex.tex
@@ -0,0 +1,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} \ No newline at end of file