Formatting cross-reference text
Formatting cross-reference text
Is there any way to make cross referenced text appear as italics automatically? For example I have Figure 1 bookmarked, and I would like the reference "see Figure 1" with Figure 1 being italics. I can manually do that, but I wondered if there was a way of making it so that cross referenced text would automatically be in italics.
-
- Posts: 16
- Joined: 2008-01-08 00:08:53
I'm guessing no
I suppose you would need to be able to attach character styles to cross-reference instances automatically. That would be a nice feature, but it doesn't seem to exist in NWP, as far as I can tell. So you're probably stuck with manually applying a character style to those instances.
Ah, I thought so since there was no style for cross-references and I could find no way to create a style for them. New feature for version 1.1? Allowing us to define a custom style for cross references would be great.martin wrote:Yes, you'll have to manually apply the formatting you desire after you insert the cross-reference.
- martin
- Official Nisus Person
- Posts: 5230
- Joined: 2002-07-11 17:14:10
- Location: San Diego, CA
- Contact:
I'm not sure I understand entirely what feature everyone would like to see added here. Do you just want an "italic" checkbox in the insert cross-reference dialog? Or do you want all inserted cross-references to automatically have a particular character style applied, again perhaps via a checkbox in the dialog?
Martin, your second solution seems to me the best one. This way,
- if you want the cross-reference to follow the same character style of the surrounding text, you uncheck the "Use Cross-reference Character Style" box;
- if you want to use a particular style, like an enphasis, you check the above box.
A "Cross-reference" character style could be automatically generated when inserting the first reference (as you do with TOCs).
Paolo
- if you want the cross-reference to follow the same character style of the surrounding text, you uncheck the "Use Cross-reference Character Style" box;
- if you want to use a particular style, like an enphasis, you check the above box.
A "Cross-reference" character style could be automatically generated when inserting the first reference (as you do with TOCs).
Paolo