\documentclass{article}
\usepackage[margin=0.5in]{geometry}
\usepackage{ocgx2}
\usepackage{hyperref}
%patch hyperref to make PDF Annotations PDF-Layer-(OCG)-aware
\makeatletter
\let\Hy@setpdfborderOrig\Hy@setpdfborder
\def\Hy@setpdfborder{\ocgbase@insert@oc\Hy@setpdfborderOrig}%
\makeatother
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{textpos}
\setlength{\TPHorizModule}{12pt}
\setlength{\TPVertModule}{12pt}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\cfoot{\textit{This document should be viewed electronically with Adobe Acrobat as a clickable PDF and cannot be printed.}}
% \usepackage[svgnames]{xcolor} % Colors by their 'svgnames'
\input{macros.tex}
\begin{document}
\noindent{\Large\bf{Ian Appelbaum}} {\textit{Professor of Physics}}\\
\noindent
\actionsocg{ocg1}{}{ocg2 ocg3 ocg4 ocg5 ocg6 ocg7 ocg8 ocg9 ocg10 ocg11}{{\color{blue}{Contact }}}$|$
\actionsocg{ocg2}{}{ocg1 ocg3 ocg4 ocg5 ocg6 ocg7 ocg8 ocg9 ocg10 ocg11}{{\color{blue}{Education }}}$|$
\actionsocg{ocg3}{}{ocg1 ocg2 ocg4 ocg5 ocg6 ocg7 ocg8 ocg9 ocg10 ocg11}{{\color{blue}{Employment }}}$|$
\actionsocg{ocg4}{}{ocg1 ocg2 ocg3 ocg5 ocg6 ocg7 ocg8 ocg9 ocg10 ocg11}{{\color{blue}{Pubs '19-'13}}}
\actionsocg{ocg5}{}{ocg1 ocg2 ocg3 ocg4 ocg6 ocg7 ocg8 ocg9 ocg10 ocg11}{{\color{blue}{ '12-'08}}}
\actionsocg{ocg6}{}{ocg1 ocg2 ocg3 ocg4 ocg5 ocg7 ocg8 ocg9 ocg10 ocg11}{{\color{blue}{ '08-'05}}}
\actionsocg{ocg7}{}{ocg1 ocg2 ocg3 ocg4 ocg5 ocg6 ocg8 ocg9 ocg10 ocg11}{{\color{blue}{ '04-'99 }}}$|$
\actionsocg{ocg8}{}{ocg1 ocg2 ocg3 ocg4 ocg5 ocg6 ocg7 ocg9 ocg10 ocg11}{{\color{blue}{Funding }}}$|$
\actionsocg{ocg9}{}{ocg1 ocg2 ocg3 ocg4 ocg5 ocg6 ocg7 ocg8 ocg10 ocg11}{{\color{blue}{Teaching }}}$|$
\actionsocg{ocg10}{}{ocg1 ocg2 ocg3 ocg4 ocg5 ocg6 ocg7 ocg8 ocg9 ocg11}{{\color{blue}{Service }}}$|$
\actionsocg{ocg11}{}{ocg1 ocg2 ocg3 ocg4 ocg5 ocg6 ocg7 ocg8 ocg9 ocg10}{{\color{blue}{Awards}}}
%\begin{ocg}{<how it appears in acrobat>}{<latex label>}{<0=default hidden, 1=default shown>}
\begin{ocg}{Contact}{ocg1}{0}
\begin{textblock}{40}(1,1)
\input{contact.tex}
\end{textblock}
\end{ocg}
\begin{ocg}{Education}{ocg2}{0}
\begin{textblock}{40}(1,1)
\input{ed.tex}
\end{textblock}
\end{ocg}
\begin{ocg}{Employment}{ocg3}{0}
\begin{textblock}{40}(1,1)
\input{appointments.tex}
\end{textblock}
\end{ocg}
\begin{ocg}{Publications 1}{ocg4}{0}
\begin{textblock}{40}(1,1)
\input{pubs1.tex}
\end{textblock}
\end{ocg}
\begin{ocg}{Publications 2}{ocg5}{0}
\begin{textblock}{40}(1,1)
\input{pubs2.tex}
\end{textblock}
\end{ocg}
\begin{ocg}{Publications 3}{ocg6}{0}
\begin{textblock}{40}(1,1)
\input{pubs3.tex}
\end{textblock}
\end{ocg}
\begin{ocg}{Publications 4}{ocg7}{0}
\begin{textblock}{40}(1,1)
\input{pubs4.tex}
\end{textblock}
\end{ocg}
\begin{ocg}{Funding}{ocg8}{0}
\begin{textblock}{40}(1,1)
\input{funding.tex}
\end{textblock}
\end{ocg}
\begin{ocg}{Teaching}{ocg9}{0}
\begin{textblock}{40}(1,1)
\input{teaching.tex}
\end{textblock}
\end{ocg}
\begin{ocg}{Service}{ocg10}{0}
\begin{textblock}{40}(1,1)
\input{service.tex}
\end{textblock}
\end{ocg}
\begin{ocg}{Awards}{ocg11}{0}
\begin{textblock}{40}(1,1)
\input{awards.tex}
\end{textblock}
\end{ocg}
\end{document}