DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › TOPLEAF: Want fixed indent for note text
-
jlm05 March 21, 2012 at 12:42 pm
TOPLEAF: Want fixed indent for note text
March 21, 2012 at 12:42 pmParticipants 1Replies 2Last Activity 10 years, 10 months agoFor our note tags, we use a custom marker %NoteLabel to display an image in front of each note. In the stylesheet, %NoteLabel is configured as Dropped Label.
The note tag then uses the following Custom content:
Note: If the note is longer than a few lines, the text wraps down around the icon (see attached image). What we really want is for the text to have the same indent all the way down.
What would be the best way to implement this? Can we do it with the dropped label, or should we use some other configuration to display the image?
Thanks,
Janice
gjn2066 March 22, 2012 at 1:35 am
Reply to: TOPLEAF: Want fixed indent for note text
March 22, 2012 at 1:35 amWhat you probably have is a [u]Left Margin[/u] and [u]Label Offset[/u] of about half the width of the label image. This means that once the dropped label is passed, the text snaps back to the specified margin.
What you want is to increase those values to the full width of the label plus a small gap. This will be large enough so there is no snap back after the label.
Let me know if I've got your requirement right, and if the solution worked.
Thanks,
GeoffPS: I note that you have a
and a separate Note: prefix which forms part of the main body of text to the right of the label. I might be inclined to create a new custom marker which can set the bold font directly, and avoid the use of . But that is a matter of personal taste, certainly what you've done is also correct. -
AuthorPosts
- You must be logged in to reply to this topic.