summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/ppower4/pagetrans.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/ppower4/pagetrans.tex')
-rw-r--r--Master/texmf-dist/doc/latex/ppower4/pagetrans.tex55
1 files changed, 55 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/ppower4/pagetrans.tex b/Master/texmf-dist/doc/latex/ppower4/pagetrans.tex
new file mode 100644
index 00000000000..e4a45be8ee6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ppower4/pagetrans.tex
@@ -0,0 +1,55 @@
+%% Transition commands for use with hyperref.
+%% Thanks to Marc van Dongen <dongen@cs.ucc.ie> for preparing this.
+\newcommand{\pagetransition}[1]{%
+ \hypersetup{pdfpagetransition={#1}}
+}
+
+\newcommand{\HOSplit}[0]{%
+ \pagetransition{Split /Dm /H /M /O}
+}
+
+\newcommand{\HISplit}[0]{%
+ \pagetransition{Split /Dm /H /M /I}
+}
+
+\newcommand{\VOSplit}[0]{%
+ \pagetransition{Split /Dm /V /M /O}
+}
+
+\newcommand{\VISplit}[0]{%
+ \pagetransition{Split /Dm /V /M /I}
+}
+
+\newcommand{\HBlinds}[0]{%
+ \pagetransition{Blinds /Dm /H}
+}
+
+\newcommand{\VBlinds}[0]{%
+ \pagetransition{Blinds /Dm /V}
+}
+
+\newcommand{\OBox}[0]{%
+ \pagetransition{Box /M /O}
+}
+
+\newcommand{\IBox}[0]{%
+ \pagetransition{Box /M /I}
+}
+
+% argument must be number from 0 to 360
+\newcommand{\Wipe}[1]{%
+ \pagetransition{Wipe /Di #1}
+}
+
+\newcommand{\Dissolve}[0]{%
+ \pagetransition{Dissolve}
+}
+
+% argument must be number 0, 270 or 315
+\newcommand{\pageTransitionGlitter}[1]{%
+ \pagetransition{Glitter /Di #1}
+}
+
+\newcommand{\Replace}[0]{%
+ \pagetransition{Replace}
+}