From ffcb74e60a180d671758213c607119609a64a689 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Wed, 8 Dec 2010 00:31:20 +0000
Subject: ticket 0.4b (7dec10)

git-svn-id: svn://tug.org/texlive/trunk@20679 c570f23f-e606-0410-a88d-b1316a301751
---
 .../doc/latex/ticket/ex_flashcard_rm.tex           | 76 ++++++++++++++++++++++
 1 file changed, 76 insertions(+)
 create mode 100644 Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.tex

(limited to 'Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.tex')

diff --git a/Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.tex b/Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.tex
new file mode 100644
index 00000000000..998592c5da0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ticket/ex_flashcard_rm.tex
@@ -0,0 +1,76 @@
+%%%
+%
+% ticket.sty example file for flashcards for word learning
+%
+%%%%
+% use the corresponding paper size for your ticket definition
+\documentclass[a4paper,10pt]{letter}
+
+\usepackage[flashCard,boxed,rowmode]{ticket}
+\usepackage{graphicx}  % load misc stuff
+\usepackage{syntonly}  %to test without output
+\usepackage{fancybox}
+
+% make your default ticket. \ticketdefault is somewhat like a background
+\renewcommand{\ticketdefault}{%no background
+}
+
+% now what do you like to put in your ticket
+\newcommand{\card}[2]{\ticket{%
+    \put(32.5,15){\makebox[0mm]{\centering{\huge{\textbf{#1}}}}}
+ }}
+
+\newcommand{\entryroot}[2]{}
+
+\newcommand{\raiz}[3]{\ticket{%
+    \put(2,31){{$\sqrt{\enspace}$}}
+    \put(32.5,15){\makebox[0mm]{{\huge{\textit{{ #1 }}}}}}
+}}
+
+%puts a bullet on the word.
+\newcommand{\blt}{$\bullet$\enspace}
+
+%command for the synonyms
+\newcommand{\syn}[1]{
+  \begin{center}
+     \fbox{\parbox[t]{50mm}{\centering{#1}}}
+  \end{center}
+}
+
+%command for the related words.
+\newcommand{\relwords}[1]{$\mathbf{\sim}$ #1}
+
+%command for the examples
+\newcommand{\example}[1]{\\[1.5mm]\textit{#1}}
+
+
+
+
+%% you can generate this part from a database!
+\begin{document}
+\input{words}
+% change the commands for the backside
+\renewcommand{\card}[2]{\ticket{%
+    \put(3,30){\parbox{58mm}{\large{\textbf{ #1:}}}}%
+    \put(4,23){\parbox[t]{58mm} {\small {\blt #2}}}%
+ }}
+
+\renewcommand{\entryroot}[2]{\small{\textbf{#1 }}\textit{\scriptsize{{#2}}}$\|$}
+
+\renewcommand{\raiz}[3]{\ticket{%
+    \put(3,30){\parbox{58mm}{\textbf{#1:} #2}}%
+    \put(3,13){\parbox{58mm}{#3}}%
+ }}
+
+\backside%
+\oddsidemargin=8pt
+\input{words}
+\end{document}
+
+
+
+
+
+
+
+
-- 
cgit v1.2.3

