Ask Your Question
3

How can I keep italicized words in headings from changing to regular text in table-of-contents?

asked 2012-02-22 00:03:10 +0200

pcroque gravatar image pcroque
31 1 3

updated 2013-03-26 14:17:30 +0200

manj_k gravatar image manj_k
5770 4 33 49

I have headings that contain certain words that are italicized (scientific names). This works fine in the section headings, but in the table of contents, the entire entry is in regular text (without italics). If I change the TOC contents style to italics, then the entire entry is in italics.

Is there a way to keep the same words italicized in the TOC as in the section headings?

delete close flag offensive retag edit

2 Answers

Sort by » oldest newest most voted
1

answered 2012-02-28 19:10:30 +0200

MagicFab gravatar image MagicFab flag of Canada
690 5 12 23
http://wiki.documentfound...

Table of contents have specific styles that apply to the entire line (ie. paragraph). If you change a single word, that is a character-level change that will not be reflected into the automatic generation of the ToC.

The only workaround I found for this was to enable manual editing of the ToC and italicize each word manually. Of course such changes are not practical if you have a large ToC, as they will be overwritten as soon as you update it again.

link delete flag offensive edit
0

answered 2012-04-03 23:57:48 +0200

manj_k gravatar image manj_k
5770 4 33 49

See also → Bug 30732 - [EasyHack] Character formatting not retained in entries of TOC, table lists, etc.

link delete flag offensive edit

Login/Signup to Answer

Donate

LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-02-22 00:03:10 +0200

Seen: 183 times

Last updated: Apr 03 '12