summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/turnthepage/turnthepage.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/turnthepage/turnthepage.sty')
-rw-r--r--macros/latex/contrib/turnthepage/turnthepage.sty34
1 files changed, 34 insertions, 0 deletions
diff --git a/macros/latex/contrib/turnthepage/turnthepage.sty b/macros/latex/contrib/turnthepage/turnthepage.sty
new file mode 100644
index 0000000000..554cd6fce2
--- /dev/null
+++ b/macros/latex/contrib/turnthepage/turnthepage.sty
@@ -0,0 +1,34 @@
+% This is file `turnthepage.sty' v1.3a by Merciadri Luca.
+% Thanks to Marc van Dongen and Martin Muench for their help.
+
+\NeedsTeXFormat{LaTeX2e}[1994/06/01]
+\ProvidesPackage{turnthepage}[2011/03/24 v1.3a
+ Loading turnthepage package (LM)]
+
+\DeclareOption{short}{\providecommand{\turnp@geoption}{short}}
+\DeclareOption{english}{\providecommand{\turnp@geoption}{english}}
+\DeclareOption{francais}{\providecommand{\turnp@geoption}{francais}}
+\DeclareOption{nederlands}{\providecommand{\turnp@geoption}{nederlands}}
+\DeclareOption{deutsch}{\providecommand{\turnp@geoption}{deutsch}}
+
+\ProcessOptions
+
+\ifx\turnp@geoption\undefined
+ \providecommand{\turnp@geoption}{ }
+\fi
+
+\newif\ifetex
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname eTeXversion\endcsname\relax
+ \etexfalse
+\else
+ \etextrue
+\fi
+
+\ifetex
+ \PackageInfo{turnthepage}{e-TeX found, loading package turnpageetex.}
+ \RequirePackage[\turnp@geoption]{turnpageetex}
+\else
+ \PackageInfo{turnthepage}{e-TeX not found, loading package turnpagewoetex.}
+ \RequirePackage[\turnp@geoption]{turnpagewoetex}
+\fi \ No newline at end of file