Viewers: in countries Watching now:
InDesign Styles in Depth covers the ins and outs of styles, a time-saving set of features that allows designers to maximize efficiency in InDesign. This course covers text styles, table and cell styles, object styles, and every feature in InDesign that is improved by the use of styles. Author Michael Murphy explores the use of character versus paragraph styles as well as advanced text formatting with nested styles, multi-level lists, table manipulation, cross-references, and creating a table of contents. The course also covers how to map styles upon import and export, whether taking documents to the Web with HTML and CSS, publishing them as EPUBs, or distributing them as PDFs.
In the last movie, I created a customized fully dynamic Cross-Reference for this dictionary that adapts to any changes in my layout. And if I weren't a desire, I'd be all done. But since I am a designer, there are some things I just can't let go. And one thing that bothers me is this cross-reference here, is in the exact same format as the rest of the definition. It doesn't stand out as a Cross- Reference, so I want to apply some text formatting changes to that using styles. I could go in, select the cross- reference and apply a Character Style manually.
That will change the formatting of this one cross-reference. But then I'd have to do it one by one, for every one of my cross-references, and that's wasted effort. What I want to do is build a character style into the cross-reference definition that will be applied automatically to every one of my cross-references. I am going to edit this Cross- Reference by double-clicking on it in the Cross-References' panel and I'm going to go into edit my Cross-Reference format by clicking this little pencil icon here, and the easiest way to do this, is to just click this checkbox, Character Style for Cross-Reference and pick the character style of my document that I want to use.
I will choose Italics here, and I'll click Save and you'll see that it's all italicized on the page. And again, if I weren't a designer I'd be done. I can just click OK, get all these dialogs and that's my new Cross-Reference Format. But since I just can't help myself, I'm looking at this and I'm thinking that the word difference, the actual term being defined doesn't look that great in italics and all caps. I would prefer to lose the italics for that part of the cross-reference. Now I have already assigned a Character Style to the entire Cross-Reference.
And you can only apply one character style at a time, sort of. If I'm willing to dig under the hood and go back into this code here, that structures my cross-reference, I can actually introduce additional Character Styles or character style changes, into the Cross-Referencing Format in addition to what I pick from this list. The part of the cross-reference that I want to change in using new character style on; is the word DIFFERENCE, the term that's being pulled in dynamically. And that's defined here in this little bit of code in a syntax for my Custom Cross-Reference.
So I am selecting that and I want to wrap that in another tag. This is very similar to HTML formatting. I am wrapping one tag inside of another tag. Next, I'll click this plus icon to the right of the field, and from this list of potential building blocks, I can use for cross-reference, one of my options is Character Style. I will select that and you can see now that my selected piece of this Cross-Reference Format is surrounded by a tag that starts cs name= and then empty quote marks, and ends with an ending /cs tag, very similar to HTML markup if you're familiar with that.
Once this is in place, all I need to do is type the name of my desired character style within the quote marks in this first tag. Essentially what I want to do is lose the Italics Character Style just for this portion of my cross-reference. To do that, I would need to set it back to a character style of None. And the None character style exists in every InDesign document, so I will just type None. And from the very first letter, I got a warning that the Character Style named None does not exist in this document.
Now we have already seen in the other movies in this course that every InDesign document has a Character Style of None. But since this is code, it's very specific about how you enter that Character Style name. It's case sensitive and None when we see it in the Character Styles panel is wrapped in square brackets. So I need to include that here. I will put in closing square bracket where my cursor is now, and then another at the beginning and my warning immediately goes away. Because now I have a valid character style identified as an attribute of this whole tag.
Now I will click Save and take a look at the cross-reference on the page. The Italic Character Style is removed from that portion of the cross-reference and then continues again after it. I'll click OK, because I'm done here, and then OK again to get out of this dialog, and that's the exact look and feel and functionality for the cross-reference that I want. I will move over to another cross- reference that's on this spread, and you can see that that formatting is also applied here exactly the way I defined it, including the lack of italics in the term itself.
Styling a Cross-Reference can be as easy as choosing a Character Style from a menu in the Edit Cross-Reference's dialog or as complex as coding it with these tags as we just did in this example. However far you go with it is up to you. Either way, styles make the entire process easier and more automatic.
There are currently no FAQs about InDesign Styles in Depth.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.