# Math symbols in .pdf bookmarks tab not displaying correctly

I am using the commands

\usepackage{hyperref}

\usepackage{hypcap}

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:

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

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}

\documentclass{article}

\usepackage{textgreek}
\usepackage{hyperref}

\section{Foo \texorpdfstring{$\sigma(E,E^*)$}{\textsigma(E,E\textsuperscript{*})}}

• 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 Jun 27 '16 at 21:20
• @D1X: The \textsuperscript will not work here at all. The best you you can achieve is \textsuperiorone etc. – user31729 Jul 8 '16 at 21:15