I am using the commands




to create clickable links in the index and references, and also to create an index in the bookmarks tab in .pdf readers.

It works as intended except for the fact that math symbols don't display right, they show something close to the tex code. Is there any way to fix this?

This what happens:

enter image description here

Red arrows should be $\sigma(E,E^*)$ and $W^{1,p}_0(\Omega)$. You get the point.

1 Answer 1


Not any character is possible in a PDF bookmark -- Unicode is supported but this requires a different setup of the content of bookmarks. This can be achieved with \texorpdfstring{TeX content}{pdf content}





\section{Foo \texorpdfstring{$\sigma(E,E^*)$}{\textsigma(E,E\textsuperscript{*})}}
  • 1
    There might still be some complaints
    – user31729
    Commented Jun 27, 2016 at 12:00
  • Thanks, that worked. Could you explain me how to write $W^{1,p}(\Omega)$ ? I am trying using \textsuperscript{1,p} but it doesn't work.
    – D1X
    Commented Jun 27, 2016 at 21:20
  • @D1X: I will update later on
    – user31729
    Commented Jun 28, 2016 at 19:21
  • @D1X: The \textsuperscript will not work here at all. The best you you can achieve is \textsuperiorone etc.
    – user31729
    Commented Jul 8, 2016 at 21:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .