I used hyperref
to make bookmarks. After reading hyperref
's manual, I got this example and it worked:
\section{Pythagoras: \texorpdfstring{$ a^2 + b^2 = c^2 $}{ a\texttwosuperior\ + b\texttwosuperior\ = c\texttwosuperior}}
Referring to this example, I used the following but it didn't work:
\subsection{Wind load \texorpdfstring{$\mathsf{Z^{STAAD}}$ -- Direction}{Z\textsuperscript{STAAD} -- Direction}}
Is anything wrong with my code or is there any other method to include superscripts in bookmarks, or is it impossible at all?