\texorpdfstring in slide environment
Brought to you by:
goualard
I want to use \texorpdfstring in slide environment, so changed
the definition of \@addtoBookmarkOnSlide as follows:
\def\@addBookmarkOnSlide#1{%
\Hy@pdfstringtrue
\edef\Hy@temp{#1}%
...........
You can use the command like this:
\begin{slide}[Wipe]{\texorpdfstring{\LaTeX2e}{LaTeX2e}
commands}
Logged In: NO
Much better to use \pdfstringdef to construct bookmark string:
\def\@addBookmarkOnSlide#1{%
\pdfstringdef\Hy@temp{#1}%
...........
Then you can use \LaTeX at slide title:
\begin{slide}[Wipe]{\LaTeX2e commands}
Logged In: NO
Much better to use \pdfstringdef as hyperref.sty constructs
bookmark string:
\def\@addBookmarkOnSlide#1{%
\pdfstringdef\Hy@temp{#1}%
.........
Then you can use \LaTeX2e as usual:
\begin{slide}[Wipe]{\LaTeX2e commands}