diff options
author | Karl Berry <karl@freefriends.org> | 2006-07-04 12:51:40 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-07-04 12:51:40 +0000 |
commit | c0e3aff05a6b70934b9c94b6230d1a519bf6e1ab (patch) | |
tree | 01db88f5688f9dd2570bdf3771a8109fcfae80be /Master/texmf-dist/tex/latex/flippdf | |
parent | ebe0c16022730f6878335a52bc7604dc0b1d96f0 (diff) |
new package flippdf
git-svn-id: svn://tug.org/texlive/trunk@1765 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/flippdf')
-rw-r--r-- | Master/texmf-dist/tex/latex/flippdf/flippdf.sty | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/flippdf/flippdf.sty b/Master/texmf-dist/tex/latex/flippdf/flippdf.sty new file mode 100644 index 00000000000..0c7dc213210 --- /dev/null +++ b/Master/texmf-dist/tex/latex/flippdf/flippdf.sty @@ -0,0 +1,55 @@ +%% +%% This is file `flippdf.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% flippdf.dtx +%% This is file `flippdf.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% flippdf.dtx +%% +%% IMPORTANT NOTICE: +%% +%% Copyright 2006 +%% Sergio Callegari <sergio.callegari@gmail.com> +%% +%% --------------------------------------------- +%% This file is part of the flippdf package, +%% a contribution to the LaTeX2e system. +%% --------------------------------------------- +%% +%% This program consists of the files listed in the README file included +%% in the package. +%% +%% Any modified versions of this file must be renamed with new filenames +%% distinct from flippdf.sty. +%% +%% For distribution of the original source see the terms +%% for copying and modification in the file flippdf.dtx. +%% +%% This generated file may be distributed as long as the +%% original source files, as listed above, are part of the +%% same distribution. (The sources need not necessarily be +%% in the same archive or directory.) +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{flippdf}% + [2006/06/30 1.0 Horizontal flipping of pages with pdfLaTeX] +\RequirePackage{everypage} +\newif\if@sc@flippdf +\newcommand\FlipPDF{\@sc@flippdftrue} +\newcommand\UnFlipPDF{\@sc@flippdffalse} +\FlipPDF +\DeclareOption{off}{\UnFlipPDF} +\ProcessOptions +\AddEverypageHook{% + \if@sc@flippdf + \pdfliteral direct {-1 0 0 1 \strip@pt\paperwidth\space 0 cm} + \fi} +\endinput +%% +%% End of file `flippdf.sty'. |