Text Formatting ⇒ Latex code in Adobe Acrobat Bookmarks
Latex code in Adobe Acrobat Bookmarks
I am writing my thesis and one of my sections has LaTeX code in its title (let's say I have $\alpha$ test). When I compile the file to get the pdf document using pdflatex, everything works fine except that the Adobe's bookmark says test rather than the full title.
Is there any way to remedy this?
Thanks,
George
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Latex code in Adobe Acrobat Bookmarks
You will probably need to use the \texorpdfstring command defined by the hyperref package. (See page 17 of its documentation, or this thread, or this thread.)
You'd probably need to spell out the word "alpha":
Code: Select all
\section{\texorpdfstring{$\alpha$ test}{alpha test}}
Code: Select all
\section{\texorpdfstring{$\alpha$ test}{α test}}