[OS X TeX] Exponents in Hyperref bookmark

Michael Welsh yomcat at yomcat.geek.nz
Mon Jul 9 22:48:37 CEST 2012


On 10/07/2012, at 8:40 AM, David Arnold wrote:
> 
> Hi,
> 
> I have a section title:
> 
> \section{Factoring $ax^2+bx+c$ when $a\ne1$}
> 
> However, the bookmark in the resulting PDF does not typeset the math. Is there a way to do this?

Is \texorpdfstring what you're after?

\section{Factoring \texorpdfstring{$ax^2+bx+c$}{text equivalent} when \texorpdfstring{$a\ne1$}{text equivalent}}

It doesn't typeset maths, but it does allow you to control the bookmark.


More information about the macostex-archives mailing list