summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-08-24 18:33:37 +0000
committerKarl Berry <karl@freefriends.org>2007-08-24 18:33:37 +0000
commitb7146f7aec74699328df9e0d1ef73e83b9a8899d (patch)
treea889fd7e96c2bac043a31529680f71883ec56fb6 /Master/texmf-dist
parent243d38ca86ef978f554b6384d5cfec96eb24a5b6 (diff)
gcard update (22aug07)
git-svn-id: svn://tug.org/texlive/trunk@4794 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/gcard/README4
-rw-r--r--Master/texmf-dist/doc/latex/gcard/gcard.pdfbin138641 -> 141596 bytes
-rw-r--r--Master/texmf-dist/doc/latex/gcard/gcardex.tex13
-rw-r--r--Master/texmf-dist/tex/latex/gcard/gcard.sty16
4 files changed, 20 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/gcard/README b/Master/texmf-dist/doc/latex/gcard/README
index 335c665ed1a..fdf8e74658c 100644
--- a/Master/texmf-dist/doc/latex/gcard/README
+++ b/Master/texmf-dist/doc/latex/gcard/README
@@ -13,9 +13,9 @@ File list:
gcard.sty % main package file
gcard.pdf % main documentation
README % this file
-gcardminex.tex % minimal example as shown in gcard.pdf
+gcardminexample.tex % minimal example as shown in gcard.pdf
gcardex.tex % slightly more complicated example
-29 May 2007
+21 August 2007
George McBane
mcbaneg@gvsu.edu
diff --git a/Master/texmf-dist/doc/latex/gcard/gcard.pdf b/Master/texmf-dist/doc/latex/gcard/gcard.pdf
index b87116e5ebb..ea7a1303985 100644
--- a/Master/texmf-dist/doc/latex/gcard/gcard.pdf
+++ b/Master/texmf-dist/doc/latex/gcard/gcard.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/gcard/gcardex.tex b/Master/texmf-dist/doc/latex/gcard/gcardex.tex
index c947875b964..f06ee21bb5e 100644
--- a/Master/texmf-dist/doc/latex/gcard/gcardex.tex
+++ b/Master/texmf-dist/doc/latex/gcard/gcardex.tex
@@ -1,18 +1,25 @@
% greeting card document using gcard package, showing basic techniques of size
% selection and horizontal and vertical placement of text
+% For landscape orientation, include ``landscape'' as a global
+% option, and call the geometry package explicitly to specify your
+% output driver. This example assumes dvips. (The explicit \usepackage{geometry}
+% is unnecessary with pdftex, and in fact pdftex will even ignore other driver
+% specifications.)
+
% G. C. McBane 19 May 2007
-\documentclass[12 pt]{article}
+\documentclass[12 pt,landscape]{article}
\usepackage{palatino}
+\usepackage[dvips]{geometry}
\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{\gcguttermargin}{8 mm} % inside edge of textblock
+\setlength{\gcedgemargin}{\gcguttermargin} % outside edge
\setlength{\gctopmargin}{6 mm} % top
\setlength{\gcbottommargin}{\gctopmargin} % bottom
diff --git a/Master/texmf-dist/tex/latex/gcard/gcard.sty b/Master/texmf-dist/tex/latex/gcard/gcard.sty
index 9acc5927d59..58dea2e51a7 100644
--- a/Master/texmf-dist/tex/latex/gcard/gcard.sty
+++ b/Master/texmf-dist/tex/latex/gcard/gcard.sty
@@ -5,7 +5,7 @@
% the page.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{gcard}[2007/05/21 simple greeting card package]
+\ProvidesPackage{gcard}[2007/08/21 simple greeting card package]
\DeclareOption{showboxes}{\PassOptionsToPackage{showboxes}{textpos}}
\ProcessOptions
\RequirePackage[absolute]{textpos}
@@ -17,8 +17,8 @@
\newsavebox{\paneltext}
% Define lengths
-\newlength{\guttermargin}
-\newlength{\edgemargin}
+\newlength{\gcguttermargin}
+\newlength{\gcedgemargin}
\newlength{\gctopmargin}
\newlength{\gcbottommargin}
\newlength{\panelwidth}
@@ -29,8 +29,8 @@
% 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}{0.2 in} % inside of panel
-\setlength{\edgemargin}{\guttermargin} % outside
+\setlength{\gcguttermargin}{0.2 in} % inside of panel
+\setlength{\gcedgemargin}{\gcguttermargin} % outside
\setlength{\gctopmargin}{0.2 in} % top
\setlength{\gcbottommargin}{\gctopmargin} % bottom
@@ -71,13 +71,13 @@
\pagestyle{empty}
% User should have chosen margins by now; compute panel sizes
% and ``step sizes'' for placing panels
-\setlength{\panelwidth}{(\paperwidth-2\guttermargin-2\edgemargin)/2}
+\setlength{\panelwidth}{(\paperwidth-2\gcguttermargin-2\gcedgemargin)/2}
\setlength{\panelheight}{(\paperheight-2\gctopmargin-2\gcbottommargin)/2}
-\setlength{\TPHorizModule}{\panelwidth + 2\guttermargin}
+\setlength{\TPHorizModule}{\panelwidth + 2\gcguttermargin}
\setlength{\TPVertModule}{\panelheight + 2\gctopmargin}
% Set position of upper left corner of upper left panel (front cover)
% with command from textpos package.
-\textblockorigin{\edgemargin}{\gcbottommargin}
+\textblockorigin{\gcedgemargin}{\gcbottommargin}
}