Take the 2-minute tour ×
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.

In my LaTeX file I've got some chapter titles with partial italicised text. With the hyperref package, I get the required bookmarks, etc. but the style for these partial italicised text disappears.

Just wondering if it's possible to implement this? I've had a look at using the bookmark package, but I'm not sure which options (if any) to use, given that I'm not looking to have the entire text italicised, only bits of it.

Thanks for the assistance!

Here's a MWE that I'm running using pdflatex:

\documentclass[12pt,a4paper]{report}

\usepackage{hyperref}

\begin{document}

\chapter{\textit{Some Italic Text} and Some Normal Text}

\end{document}
share|improve this question
1  
Welcome to TeX.SX. –  Claudio Fiandrino Jan 18 '13 at 9:00
4  
If anyone would be interested in putting a complete bookmark in italics: see PDF bookmark customization. –  Stephen Jan 18 '13 at 11:36
add comment

1 Answer

up vote 10 down vote accepted

This is impossible because the item's style is determined by bits in the integer F(ormat) key, introduced in the PDF 1.4 specification. The lowest two bits determine whether the entire entry is set in italic and/or bold. Reference (warning: 32MB PDF).

share|improve this answer
1  
Thanks for the assistance and the reference! I'll add tags for 'bold' on my question in case any one is looking for an answer too. –  Eric Young Jan 18 '13 at 14:26
add comment

Your Answer

 
discard

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.