%% %% This is file `elzcards-example.tex', %% generated with the docstrip utility. %% %% The original source files were: %% %% elzcards.dtx (with options: `ejemplo') %% %% Copyright 2015 Emilio Lazo Zaia %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either %% version 1.3c of this license or (at your option) any later %% version. This version of this license is in %% http://www.latex-project.org/lppl/lppl-1-3c.{html|txt|tex|pdf} %% and the latest version of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.3c or later is part of all distributions of %% LaTeX version 2008/05/04 or later. %% %% This work has the LPPL maintenance status `maintained'. %% %% 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.sty and %% elzcards-example.tex. %% \documentclass{article} \usepackage{elzcards} \usepackage[landscape,letterpaper,vmargin={0.25in,0.25in},hmargin={0.25in,0.25in}]{geometry} \newcommand{\mycenter}[1]{% top left corner\vfill\mbox{}% \begin{center}\LARGE#1\end{center}% \mbox{}\vfill \hfill bottom right corner} \begin{document} \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} %% %% %% End of file `elzcards-example.tex'.