blob: e4a45be8ee66f99bd0add2fe1b91667851a32dbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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}
}
|