blob: 8e90a6af5161af3c8b73101c7b5346299e1a7890 (
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
|
\documentclass{article}
\usepackage{ocgtools}
\begin{document}
\ocgtext{Test}{We test placing OCG's.} for placing OCG's:
\hbox to \hsize{\hss\begin{minipage}{0.2\linewidth}
\ocgminitextlb{lb}{This is optional OCG.}
\ocgminitextrb{rb}{This is optional OCG.}
\ocgminitextlt{lt}{This is optional OCG.}
\ocgminitextrt{rt}{This is optional OCG.}
\end{minipage}
\hss\hss\hss
\begin{minipage}{0.2\linewidth}
\ocgminitextlb{lb}{This is optional OCG.}
\ocgminitextrb{rb}{This is optional OCG.}
\ocgminitextlt{lt}{This is optional OCG.}
\ocgminitextrt{rt}{This is optional OCG.}
\end{minipage}
\hss
}
\newpage
\ocgminitextlb{New}{New} \ocgminitextrb{page}{page}.
Second line
\bigskip
\ocgminitext{New}{New} \ocgminitext{page}{page}.
Second line
\newpage
Plain page.
\newpage
\ocgminitextlb{Last}{Last} \ocgminitextrb{page}{page}.
Second line on last page.
\end{document}
|