From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Mon, 2 Sep 2019 13:46:59 +0900
Subject: Initial commit

---
 macros/latex/contrib/flacards/flacards_ex.tex | 53 +++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
 create mode 100644 macros/latex/contrib/flacards/flacards_ex.tex

(limited to 'macros/latex/contrib/flacards/flacards_ex.tex')

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
-- 
cgit v1.2.3

