O'Reilly logo

DITA for Print by Leigh W. White

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Format note labels as sideheads

Place note labels to the left of and aligned with the first line of a note rather than inline with the note text.

The PDF plugin puts notes with icons in a two-column table, with the icon in the left column and the text in the right column. It puts notes with labels in a single text block, with the label output as an inline element. Suppose you want to set up notes with labels so they look like the following:

../images/hanging_note.png

In that case, you need to follow the same model as notes with icons.

This exercise uses the code found in the original commons.xsl. If you completed the "Delete the label for a note type" exercise, you’ll ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required