In both programs, you can add a paragraph rule using a dialog box or in a paragraph style. In InDesign, select one or more paragraphs with the Type tool, and then choose Paragraph Rule from the Paragraph palette's flyout menu (or press Command-Option-J/Ctrl-Alt-J). The Paragraph Rules dialog box appears (see Figure 70-1). Unfortunately, while InDesign allows you to set both a Rule Above and a Rule Below in the same paragraph, you must select one or the other from the popup menu, and you can only look at the settings for one at a time. Be sure to turn on the Preview option, which works similarly to XPress's Apply button.
QuarkXPress lets you set a rule's Width, Color, Shade and Style. In InDesign, you can set the Weight, Color, and Tint. Sadly, there are no options to include a styled rule (dashed or dotted, for example) in the Paragraph Rules dialog box. To add one, you must create it as an inline object (see Chapter 69). On the other hand, InDesign lets you use any color you've created in the Swatches palette, including gradients. InDesign also lets you apply "[Text Color]", which is defined as the color of the first character in the paragraph for a Rule Above, or the last character for a Rule Below. In InDesign, you may also set the rule to have an overprinting stroke.