summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/elzcards
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-04-26 21:24:24 +0000
committerKarl Berry <karl@freefriends.org>2015-04-26 21:24:24 +0000
commitbe2706af7c57a0ef0f4d4e9f684ca4ef74922a82 (patch)
tree2c8922b2b529477d6707f7d02cecab39a5ec94a0 /Master/texmf-dist/doc/latex/elzcards
parenta82c1b341ea2f1522ad9ea40b90e204c1ef789fe (diff)
elzcards (26apr15)
git-svn-id: svn://tug.org/texlive/trunk@37063 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/elzcards')
-rw-r--r--Master/texmf-dist/doc/latex/elzcards/README8
-rw-r--r--Master/texmf-dist/doc/latex/elzcards/elzcards-example.tex76
-rw-r--r--Master/texmf-dist/doc/latex/elzcards/elzcards.pdfbin237186 -> 90569 bytes
3 files changed, 55 insertions, 29 deletions
diff --git a/Master/texmf-dist/doc/latex/elzcards/README b/Master/texmf-dist/doc/latex/elzcards/README
index 9fe2418df96..532570e202d 100644
--- a/Master/texmf-dist/doc/latex/elzcards/README
+++ b/Master/texmf-dist/doc/latex/elzcards/README
@@ -1,7 +1,7 @@
<elzcards>
-elzcards is a class meant to be an easy and flexible way
+elzcards is a package meant to be an easy and flexible way
to typeset business cards, index cards and flash cards,
-with its back side as an option. You must bother only by
-setting the paper size, margins and the design of
-your card. Everything else is done by elzcards.
+with -optional- back side. You must bother only by setting
+the paper size, margins and the design of your card.
+Everything else is done by elzcards.
diff --git a/Master/texmf-dist/doc/latex/elzcards/elzcards-example.tex b/Master/texmf-dist/doc/latex/elzcards/elzcards-example.tex
index b1f12c182ae..b1fcf0647d5 100644
--- a/Master/texmf-dist/doc/latex/elzcards/elzcards-example.tex
+++ b/Master/texmf-dist/doc/latex/elzcards/elzcards-example.tex
@@ -23,35 +23,61 @@
%% The Current Maintainer of this work is Emilio Lazo Zaia.
%%
%% This work consists of the files README and elzcards.dtx with
-%% its derived files elzcards.ins, elzcards.cls and
+%% its derived files elzcards.ins, elzcards.sty and
%% elzcards-example.tex.
%%
-\documentclass{elzcards}
+\documentclass{article}
+\usepackage{elzcards}
\usepackage[landscape,letterpaper,vmargin={0.25in,0.25in},hmargin={0.25in,0.25in}]{geometry}
-\newcommand{\mycenter}[1]{\vfill\mbox{}\begin{center}\LARGE#1\end{center}\mbox{}\vfill}
+\newcommand{\mycenter}[1]{%
+ top left corner\vfill\mbox{}%
+ \begin{center}\LARGE#1\end{center}%
+ \mbox{}\vfill \hfill bottom right corner}
\begin{document}
- \MakeBC{\mycenter{Business card \\ only front side \\ default options}}%
- \MakeBC*{\mycenter{Business card \\ front side \\ with dots}}%
- [\mycenter{Business card \\ back side}]
- \MakeBC**{\mycenter{Business card \\ front side \\ with lines}}%
- [\mycenter{Business card \\ back side}]
- \MakeBC*[2in][3.5in][1mm]{\mycenter{Business card \\ vertical \\ front side \\ with 1mm dots}}%
- [\mycenter{Business card \\ vertical \\ back side}]
- \Card{\mycenter{Index/flash card \\ front card 1}}[\mycenter{Index/flash card \\ back card 1}]
- \Card{\mycenter{Index/flash card \\ front card 2}}[\mycenter{Index/flash card \\ back card 2}]
- \Card{\mycenter{Index/flash card \\ front card 3}}[\mycenter{Index/flash card \\ back card 3}]
- \Card{\mycenter{Index/flash card \\ front card 4}}[\mycenter{Index/flash card \\ back card 4}]
- \Card{\mycenter{Index/flash card \\ front card 5}}[\mycenter{Index/flash card \\ back card 5}]
- \Card{\mycenter{Index/flash card \\ front card 6}}[\mycenter{Index/flash card \\ back card 6}]
- \Card{\mycenter{Index/flash card \\ front card 7}}[\mycenter{Index/flash card \\ back card 7}]
- \MakeIC
- \Card{\mycenter{Index/flash card \\ 3x3in \\ with 2mm dots \\ card 1}}
- \Card{\mycenter{Index/flash card \\ 3x3in \\ with 2mm dots \\ card 2}}
- \Card{\mycenter{Index/flash card \\ 3x3in \\ with 2mm dots \\ card 3}}
- \Card{\mycenter{Index/flash card \\ 3x3in \\ with 2mm dots \\ card 4}}
- \Card{\mycenter{Index/flash card \\ 3x3in \\ with 2mm dots \\ card 5}}
- \Card{\mycenter{Index/flash card \\ 3x3in \\ with 2mm dots \\ card 6}}
- \MakeFC*[3in][3in][2mm]
+ \BusinessCard{\mycenter{Business card \\ only front side \\ default options}}
+ \MakeBC
+ \BusinessCard{\mycenter{Business card \\ front side \\ other size: vertical \\
+ with thicker and longer crosses}}%
+ [\mycenter{Business card \\ front side \\ other size: vertical}]
+ \MakeBC[hsize=2in, vsize=3.5in, line thickness=1pt, segment length=0.5cm]
+ \BusinessCard{\mycenter{Business card \\ only front side \\ with dots}}
+ \MakeBC[dots]
+ \BusinessCard{\mycenter{Business card \\ only front side \\ with big dots and gaps}}
+ \MakeBC[dots, dot size=4pt, hgap=1.666cm, vgap=0.666cm]
+ \BusinessCard{\mycenter{Business card \\ only front side \\ with lines}}
+ \MakeBC[lines]
+ \BusinessCard{\mycenter{Business card \\ only front side \\ with thicker lines}}
+ \MakeBC[lines, line thickness=2pt]
+ \BusinessCard{\mycenter{Business card \\ front side \\ other size \\ with gaps}}%
+ [\mycenter{Business card \\ other size \\ back side}]
+ %% We can specify size also with \BCdim command, outsize of \MakeBC command:
+ \BCdim{74mm}{52mm}
+ \MakeBC[hgap=1.666cm, vgap=0.666cm]
+ \IndexCard{\mycenter{Index/flash card \\ front side \CurrentIC{} of \TotalIC}}%
+ [\mycenter{Index/flash card \CurrentIC{} of \TotalIC \\ back side}]
+ %% Note that not all cards has back side.
+ \IndexCard{\mycenter{Index/flash card \\ front side \CurrentIC{} of \TotalIC}}
+ \IndexCard{\mycenter{Index/flash card \\ front side \CurrentIC{} of \TotalIC}}
+ \IndexCard{\mycenter{Index/flash card \\ front side \CurrentIC{} of \TotalIC}}%
+ [\mycenter{Index/flash card \CurrentIC{} of \TotalIC \\ back side}]
+ \IndexCard{\mycenter{Index/flash card \\ front side \CurrentIC{} of \TotalIC}}
+ \IndexCard{\mycenter{Index/flash card \\ front side \CurrentIC{} of \TotalIC}}
+ \IndexCard{\mycenter{Index/flash card \\ front side \CurrentIC{} of \TotalIC}}
+ %% Now \MakeIC* instead of \MakeIC, so we can process them again with \MakeIC or \MakeIC*.
+ \MakeIC*
+ %% We define some default parameters instead of giving options to \MakeIC:
+ \ICgap{0.5cm}{0.5cm}
+ \CrossSegment{10pt}
+ \LineThickness{1pt}
+ %% \MakeIC* again because we did use \MakeIC* before:
+ \MakeIC*
+ \FCgap{0pt}{0pt}% \FCgap is an alias to \ICgap.
+ \ICdim{6in}{4in}
+ \DotSize{1mm}
+ \CropDots
+ %% \CropCrosses
+ %% \CropLines
+ \MakeFC*% \MakeFC is an alias to \MakeIC.
\end{document}
%%
%%
diff --git a/Master/texmf-dist/doc/latex/elzcards/elzcards.pdf b/Master/texmf-dist/doc/latex/elzcards/elzcards.pdf
index e8fe1498347..76c71f29670 100644
--- a/Master/texmf-dist/doc/latex/elzcards/elzcards.pdf
+++ b/Master/texmf-dist/doc/latex/elzcards/elzcards.pdf
Binary files differ