nofullpage option

This commit is contained in:
Alexander Yakovlev 2014-06-01 14:06:17 +07:00
parent 77ef1fde8f
commit 18e51d02a1
1 changed files with 9 additions and 1 deletions

View File

@ -23,6 +23,11 @@
\NeedsTeXFormat{LaTeX2e}
\typeout{plari_prime <\filedate:\fileversion> - typesetting stageplay scripts}
\newif\if@Fullpage
\@Fullpagetrue
\DeclareOption{nofullpage}{\global\@Fullpagefalse}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}}
\ProcessOptions
@ -150,7 +155,10 @@
\newfontinstance\scshape[Letters=SmallCaps, Numbers=Uppercase]{PT Serif Caption}
\RequirePackage{hyperref}
\RequirePackage{indentfirst}
\RequirePackage[cm]{fullpage}
\if@Fullpage
\RequirePackage[cm]{fullpage}
\fi
\pagestyle{empty}
\setcounter{secnumdepth}{0}
\setcounter{tocdepth}{2}