#9 \texorpdfstring in slide environment

open
nobody
None
5
2014-08-18
2004-07-16
Anonymous
No

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}

Discussion

  • Nobody/Anonymous

    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}

     
  • Nobody/Anonymous

    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}

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks