From b7146f7aec74699328df9e0d1ef73e83b9a8899d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 24 Aug 2007 18:33:37 +0000 Subject: gcard update (22aug07) git-svn-id: svn://tug.org/texlive/trunk@4794 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/gcard/gcard.sty | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex/latex/gcard') 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} } -- cgit v1.2.3