summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ocgx/ocgx-example-1.tex
blob: 37808b748324813e611d271f0565e06cf6d206ab (plain)
1
2
3
4
5
6
7
8
9
\documentclass{article}
\usepackage{ocgx}
\begin{document}
\begin{ocg}{OCG 1}{ocg1}{1}
  first example.
\end{ocg}

\switchocg{ocg1}{Button.}
\end{document}