Debian Codegraph @

texmf-dist/doc/latex/gcard/gcardex.tex

raw
1 % greeting card document using gcard package, showing basic techniques of size
2 % selection and horizontal and vertical placement of text
3
4 % For landscape orientation, include ``landscape'' as a global
5 % option, and call the geometry package explicitly to specify your
6 % output driver. This example assumes dvips. (The explicit \usepackage{geometry}
7 % is unnecessary with pdftex, and in fact pdftex will even ignore other driver
8 % specifications.)
9
10 % G. C. McBane 19 May 2007
11
12 \documentclass[12 pt,landscape]{article}
13 \usepackage{palatino}
14 \usepackage[dvips]{geometry}
15 \usepackage{gcard}
16
17 % user should set next four lengths to taste; defined for a single panel
18 % after folding. All four panels use the same margins.
19 % Here, edge and gutter are set the same, as are top and bottom; that's
20 % not required, and it's okay to use 4 different values.
21 \setlength{\gcguttermargin}{8 mm} % inside edge of textblock
22 \setlength{\gcedgemargin}{\gcguttermargin} % outside edge
23 \setlength{\gctopmargin}{6 mm} % top
24 \setlength{\gcbottommargin}{\gctopmargin} % bottom
25
26
27 \begin{document}
28
29 \begin{frontcover}
30 \centering
31 \huge
32 \textit{We hope you're\\
33 having a\ldots}
34 \end{frontcover}
35
36
37 % back cover; pushed down to 0.5 cm above bottom margin
38 \begin{backcover}
39 \centering
40 \vfill
41 McB\"{u}chau Family Productions
42 \vspace{.5 cm}
43 \end{backcover}
44
45 % inside left
46 \begin{insideleft}
47 \centering
48 \small
49 THIS SPACE INTENTIONALLY LEFT BLANK
50 \end{insideleft}
51
52 % inside right
53 \begin{insideright}
54 \begin{center} % same effect as \centering used for front cover
55 \Huge
56 \textit{Happy\\
57 Mother's Day!}
58 \end{center}
59 \end{insideright}
60
61 \end{document}