diff options
author | Karl Berry <karl@freefriends.org> | 2007-08-24 18:33:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-08-24 18:33:37 +0000 |
commit | b7146f7aec74699328df9e0d1ef73e83b9a8899d (patch) | |
tree | a889fd7e96c2bac043a31529680f71883ec56fb6 /Master/texmf-dist/tex/latex/gcard | |
parent | 243d38ca86ef978f554b6384d5cfec96eb24a5b6 (diff) |
gcard update (22aug07)
git-svn-id: svn://tug.org/texlive/trunk@4794 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/gcard')
-rw-r--r-- | Master/texmf-dist/tex/latex/gcard/gcard.sty | 16 |
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} } |