You can use styles to change the appearance of a glossary
Complete one of the following sets of steps, depending on whether you want to use the Simplified view or Advanced view in the Stylesheet Editor.
Note: If you want to change the actual characters for the alphabetical headings above each section in the glossary, you must use the Advanced view.
If using the Simplified view:
(which means that the Simplified view is currently shown in the editor). If the button displays
instead, then click it.
is set to Show All Styles.In the local toolbar of the editor, click
. The Properties dialog opens.
Use the Properties dialog to change values for the style's properties.
Note: For more information about the components and properties in the editor, as well as the tasks that you can perform in it, see About Styles and Style Sheets, Editing Styles, and Stylesheet Editor.
If using the Advanced view:
(which means that the Advanced view is currently shown in the editor). If the button displays
instead, then click it.
is set to Show All Styles.
next to div. Then select GlossaryPageDefinition under it.
next to div. Then select GlossaryPageEntry under it. This style class affects the "container" that holds each glossary term/definition group.
next to div. Then select GlossaryPageHeading under it. This style class affects the text for each alphabetical heading that is displayed above each section of the glossary.
next to a. Select GlossaryPageTerm. You can also use one of the pseudo classes under it to change the look of the term, depending on its hyperlink behavior (focus, hover, link, visited).
next to div. Then select GlossaryPageTerm.
next to MadCap|glossaryTerm. This style affects the text for glossary term links that you have inserted into topics.
next to MadCap|glossaryTerm. Then select Hyperlink under it. This style class affects the hyperlink that displays in topics if you have converted glossary terms to links and selected the "Hyperlink" style when doing so.
next to MadCap|glossaryTerm. Then select Expanding under it. This style class affects the hyperlink that displays in topics if you have converted glossary terms to links and selected the "Expanding" style when doing so.
next to MadCap|glossaryTerm. Then select Popup under it. This affects the hyperlink that displays in topics if you have converted glossary terms to links and selected the "Popup" style when doing so.
on the upper-right side of the editor, select Show: Property Groups.
next to the appropriate property group, depending on what you want to accomplish.Locate the specific property that you want to change. The property name is shown in the left column. The right column is used for selecting and entering values for the property.
From the Show drop-down list on the upper-right side of the editor, select Property Groups.
In the Properties section to the right, click the plus button
next to the Unclassified property group.
Click in the cell to the right of mc-heading-format and type the new format. Make sure you place the character within { and } brackets.
example
The default format is {A}. This means that the headings will simply look like this: A, B, C, D, and so on. If you change it to {a}, the headings will be lowercase: a, b, c, d, and so on. If you change it to -{A}-, the headings will look like this: -A-, -B-, -C-, -D-, and so on.
Note: For more information about the components and properties in the editor, as well as the tasks that you can perform in it, see About Styles and Style Sheets, Editing Styles, and Stylesheet Editor.
to save your work.If you use the glossary <div> styles to change the look of a generated glossary, the following information and diagram may help to clarify the purpose of each style. Because these styles use <div> tags, you can think of them as nested boxes. This is important to understand when you try to align the different glossary elements through the use of margin and padding settings.
As a result of the boxes being nested, the margin and padding settings compound the distances in the output, as the
In the output, this type of collection of style settings might look like this.
In the local toolbar, make sure the first button displays
(which means that the Advanced view is currently shown in the editor). If the button displays
instead, then click it.
Note: Some of the necessary style properties can also be changed in the Simplified view in the Stylesheet Editor.
is set to Show All Styles.From the Show Properties drop-down list
on the upper-right side of the editor, select Show: Property Groups.
next to a property group (e.g., Font, Block, Box) to see the actual properties within it. For example, if you want to change the width of the entire glossary, you would first expand the Box property group. Then you would click in the cell to the right of the width property and set the value.
Note: For more information about the components and properties in the editor, as well as the tasks that you can perform in it, see About Styles and Style Sheets, Editing Styles, and Stylesheet Editor.
to save your work.Note: For Adobe PDF, Microsoft XPS, and XHTML output, you can insert Heading variables into page layouts. These variables let you automatically display glossary headings at the top of pages.
Note: If you want to change the look of glossaries in online output, you can do so by modifying styles within your skin.
|
Downloads (PDF Format): Flare Transition From RoboHelp Guide |
MadCap Software, Inc. 7777 Fay Avenue La Jolla, California 92037 Tollfree 1-888-MadCap1 Tel 858-320-0387 Fax 858-320-0338
For technical support: |
How to change the look of a glossary (individual elements)
See Also