summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/gcard/gcard.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/gcard/gcard.sty')
-rw-r--r--Master/texmf-dist/tex/latex/gcard/gcard.sty16
1 files changed, 8 insertions, 8 deletions
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}
}