12.07.2015 Views

Printing Envelopes and Labels in LATEX2ε: EnvLab Package - Mirror

Printing Envelopes and Labels in LATEX2ε: EnvLab Package - Mirror

Printing Envelopes and Labels in LATEX2ε: EnvLab Package - Mirror

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

336 \renewcomm<strong>and</strong>{\mlabel}[2]{\ignorespaces%337 \spaceskip 0pt\relax%338 \xspaceskip 0pt\relax%8.2 <strong>Pr<strong>in</strong>t<strong>in</strong>g</strong> of one envelope339 \if@envelope%340 \leavevmode%341 \hspace*{\EnvelopeLeftMarg<strong>in</strong>}%342 \@Pr<strong>in</strong>tEnvelope{#1}{#2}%343 \clearpage%344 \@beg<strong>in</strong>labelpagehook%8.3 <strong>Pr<strong>in</strong>t<strong>in</strong>g</strong> of one label345 \else%346 \ignorespaces%347 \ifnum\theLabelCountCol>\theLabelMaxCol%348 \\\nopagebreak%349 \stepcounter{LabelCountRow}%350 \setcounter{LabelCountCol}{1}%351 \fi%352 \ifnum\theLabelCountRow>\theLabelMaxRow%353 \vfill\eject\@beg<strong>in</strong>labelpagehook%354 \setcounter{LabelCountRow}{1}%355 \setcounter{LabelCountCol}{1}%356 \fi%357 \if@biglabel%358 \Pr<strong>in</strong>tBigLabel{#1}{#2}%359 \else%360 \Pr<strong>in</strong>tLabel{#2}%361 \fi%362 \ignorespaces\nol<strong>in</strong>ebreak%363 \stepcounter{LabelCountCol}%364 \fi}%\@numreturnlabels\pr<strong>in</strong>treturnlabels8.4 <strong>Pr<strong>in</strong>t<strong>in</strong>g</strong> of return labelsWe pr<strong>in</strong>t only mail<strong>in</strong>g addresses on labels. The user is supposed to have prepr<strong>in</strong>tedreturn labels. Here we describe a utility for pr<strong>in</strong>t<strong>in</strong>g them. This utility should beused <strong>in</strong> a separate document.The counter \@numreturnlabels stores the number of return labels to bepr<strong>in</strong>ted. Note that it is a TEX counter, not a L A TEX one.365 \newcount\@numreturnlabelsThis macro has two parameters: the number of labels to be pr<strong>in</strong>ted <strong>and</strong> thetext that is pr<strong>in</strong>ted. It is the same on all labels.366 \newcomm<strong>and</strong>{\pr<strong>in</strong>treturnlabels}[2]{%367 \@numreturnlabels=#1368 \def\@toaddressfont{\@fromaddressfont}14

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!