summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/gcard/gcardex.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/gcard/gcardex.tex')
-rw-r--r--Master/texmf-dist/doc/latex/gcard/gcardex.tex54
1 files changed, 54 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/gcard/gcardex.tex b/Master/texmf-dist/doc/latex/gcard/gcardex.tex
new file mode 100644
index 00000000000..c947875b964
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/gcard/gcardex.tex
@@ -0,0 +1,54 @@
+% greeting card document using gcard package, showing basic techniques of size
+% selection and horizontal and vertical placement of text
+
+% G. C. McBane 19 May 2007
+
+\documentclass[12 pt]{article}
+\usepackage{palatino}
+\usepackage{gcard}
+
+% user should set next four lengths to taste; defined for a single panel
+% after folding. All four panels use the same margins.
+% Here, edge and gutter are set the same, as are top and bottom; that's
+% not required, and it's okay to use 4 different values.
+\setlength{\guttermargin}{8 mm} % inside edge of textblock
+\setlength{\edgemargin}{\guttermargin} % outside edge
+\setlength{\gctopmargin}{6 mm} % top
+\setlength{\gcbottommargin}{\gctopmargin} % bottom
+
+
+\begin{document}
+
+\begin{frontcover}
+\centering
+\huge
+\textit{We hope you're\\
+having a\ldots}
+\end{frontcover}
+
+
+% back cover; pushed down to 0.5 cm above bottom margin
+\begin{backcover}
+\centering
+\vfill
+McB\"{u}chau Family Productions
+\vspace{.5 cm}
+\end{backcover}
+
+% inside left
+\begin{insideleft}
+\centering
+\small
+THIS SPACE INTENTIONALLY LEFT BLANK
+\end{insideleft}
+
+% inside right
+\begin{insideright}
+ \begin{center} % same effect as \centering used for front cover
+\Huge
+\textit{Happy\\
+Mother's Day!}
+ \end{center}
+\end{insideright}
+
+\end{document}