summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/booklet/booklet.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/booklet/booklet.sty')
-rw-r--r--Master/texmf-dist/tex/latex/booklet/booklet.sty82
1 files changed, 82 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/booklet/booklet.sty b/Master/texmf-dist/tex/latex/booklet/booklet.sty
new file mode 100644
index 00000000000..67d71a0f7bf
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/booklet/booklet.sty
@@ -0,0 +1,82 @@
+%%
+%% This is file `booklet.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% booklet.dtx (with options: `usc')
+%%
+%% -----------------------------------------------------------------
+%% Author: Peter Wilson (Herries Press) herries dot press at earthlink dot net
+%% Copyright 2000 --- 2005 Peter R. Wilson
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3 of this license or (at your option) any
+%% later version.
+%% The latest version of the license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2003/06/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This work consists of the files listed in the README file.
+%% -----------------------------------------------------------------
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{booklet}[2005/03/23 v0.7 booklet printing]
+
+\newcommand*{\twoup@end}{\endinput}
+
+\newdimen\pageseplength
+\newdimen\pagesepwidth
+\newdimen\pagesepoffset
+
+\newif\ifsidebyside
+ \sidebysidetrue
+
+\newif\ifuselandscape
+ \uselandscapefalse
+\newif\ifprintoption
+ \printoptionfalse
+
+\newcounter{signature}
+\newcounter{sigcount}
+ \setcounter{sigcount}{0}
+\newcommand*{\pagespersignature}[1]{\setcounter{signature}{#1}}
+ \pagespersignature{32}
+
+\def\magstepminus#1{%
+ \ifcase#1 \@m\or 833\or 694\or 579\or 482\or 401\fi\relax}
+
+\newcommand*{\target}[3]{}
+\newcommand*{\source}[3]{}
+\newcommand*{\setpdftargetpages}{}
+\newcommand*{\setdvipstargetpages}{}
+
+\newcommand*{\targettopbottom}{}
+
+\newcommand*{\twoupemptypage}{}
+\newcommand*{\twoupclearpage}{}
+
+\newcommand*{\checkforlandscape}{%
+ \ifx\ifuselandscape\ifprintoption
+ \uselandscapefalse\else\uselandscapetrue\fi}
+
+\DeclareOption{print}{\printoptiontrue\def\twoup@end{}}
+\DeclareOption{noprint}{\printoptionfalse\def\twoup@end{\endinput}}
+\DeclareOption{landscape}{\uselandscapetrue}
+\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{bkltprnt}}
+\ProcessOptions\relax
+\ifuselandscape
+ \PassOptionsToPackage{landscape}{bkltprnt}
+\fi
+
+\twoup@end
+
+\RequirePackage{bkltprnt}
+
+\endinput
+%%
+%% End of file `booklet.sty'.