13.02.2018 Views

sample

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

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

81 \@lipsumexp\csname lipsum@\romannumeral\c@lips@count\endcsname}%<br />

82 \repeat<br />

83 \endgroup<br />

After the group is closed, \edef \lipsumexp with the content of \@lipsumexp. We<br />

need \global here since \@unpacklipsum might be called from within a group by<br />

\@@unpacklipsum<br />

84 \global\edef\lipsumexp{\@lipsumexp}%<br />

85 }<br />

86<br />

87 \newcommand\UnpackLipsum{%<br />

88 \@ifstar\@@UnpackLipsum\@UnpackLipsum<br />

89 }<br />

The uppercase versions \UnpackLipsum and \UnpackLipsum* work quite similar in<br />

that they redefine \lips@par locally.<br />

90<br />

91 \newcommand\@UnpackLipsum[1][\lips@default]{%<br />

92 \begingroup<br />

93 \def\lips@par{ }%<br />

94 \expandafter\lips@minmax\expandafter{#1}%<br />

95 \c@lips@count=\lips@min\relax<br />

96 \advance\c@lips@count\m@ne<br />

97 \def\@lipsumexp{}%<br />

98 \loop\ifnum\c@lips@count

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

Saved successfully!

Ooh no, something went wrong!