\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}
