Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

My chapter title is "{some special symbol} some text" and that special symbol does not show up properly in the sidebar clickable menu (in the compiled pdf file) as well as in the page header. I was wondering if it is possible to remove that symbol from the side and the header while keeping it in the ToC and in the chapter title?

Sample pdf:

Problem: the customized progress bar shows up in the sidebar as text, the EightFlowerPetalRemoved symbol shows up in the page header as letter Y. Both progress bar and the special symbol show up properly in TOC and the chapter page.



\usepackage[unicode]{hyperref} % clickable TOC
\usepackage{ifthen}            % ifthen command

\newcommand{\threeS}{\progressbar[subdivisions=5, linecolor=blue, tickscolor=blue, filledcolor=gray, emptycolor=white, heightr=0.7, width=1.2em, rou=0.3]{0.6}}



\chapter{\threeS \EightFlowerPetalRemoved chapter title}

insert a long text here so it spans to the next page....

share|improve this question
Wellcome to!!! Can you please give some more information about that special symbol you are trying to include in your document? It would also be very convinient if you coul a sample of your code! –  Thanos Jan 4 '13 at 8:37
Welcome to! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. –  Vivi Jan 4 '13 at 9:10
I've added the sample pdf and the latex code. –  hixhix Jan 4 '13 at 9:16

1 Answer 1

up vote 3 down vote accepted

The symbol macros need \protect for the table of contents and the headers. Only the second symbol is available in Unicode, thus the first can be removed for the bookmarks with \texorpdfstring. The new option psdextra of hyperref supports \EightFlowerPetalRemoved directly. Also I recommend package bookmark to get the bookmarks faster updated:


  chapter title}
share|improve this answer
Thank you very much, that works exactly the way I wanted :) –  hixhix Jan 4 '13 at 9:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.