15.07.2013 Views

flowfram.pdf. - CTAN

flowfram.pdf. - CTAN

flowfram.pdf. - CTAN

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.

\@ffnodraft Unset all draft settings.<br />

\newcommand*{\@ffnodraft}{%<br />

\showtypeblockfalse<br />

\showmarginsfalse<br />

\showframebboxfalse<br />

}<br />

\@fr@meifdraft Draw bounding box.<br />

\newcommand*{\@fr@meifdraft}[3][\setffdraftcolor]{%<br />

\def\ff@backcol{{none}}%<br />

\@ifundefined{color}{\frame{#2}}{#1\frame{#2}}%<br />

\ifthenelse{\equal{#3}{}}{}%<br />

{%<br />

\makebox[0pt][l]{\hskip\fflabelsep\fflabelfont{[#3]}}%<br />

}%<br />

}%<br />

Colour setting commands, do nothing by default:<br />

\newcommand*{\@s@tffcol}{}<br />

\newcommand*{\@s@tfftextcol}{}<br />

\@ffbackground Deal with frame background colour. Note that the background colour only extends<br />

to the limit of the frame’s bounding box. If you want the background<br />

colour to be flush with the frames border, you will have to create your own customised<br />

border.<br />

\newcommand*{\@ffbackground}[1]{#1}<br />

Now declare the options.<br />

draft If draft, switch to draft definitions.<br />

\DeclareOptionX{draft}{\@ffdraft}<br />

final If not draft, reset commands so that no bounding boxes are drawn.<br />

\DeclareOptionX{final}{\@ffnodraft}<br />

Set the default to final:<br />

\@ffnodraft<br />

verbose Verbose mode is primarily for debug messages.<br />

\define@choicekey{<strong>flowfram</strong>.sty}%<br />

{verbose}[\val\nr]%<br />

{true,false}[true]%<br />

{%<br />

\ifcase\nr\relax<br />

\renewcommand*{\flf@doifverbose}[1]{##1}%<br />

\renewcommand*{\flf@message}[1]{\PackageInfo{<strong>flowfram</strong>}{##1}}%<br />

\or<br />

\renewcommand*{\flf@doifverbose}[1]{}%<br />

4

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

Saved successfully!

Ooh no, something went wrong!