Formatting
Extend DITA content formatting capabilities.
Overview
Resource location: | @import url("https://jorsek.github.io/pdfgen.github.io/styles1.1/modules/styling/formatting.css"); |
DITA Outputclass Attributes
This module enables you to set the following @outputclass
attributes in the DITA source:
- Topic elements (including the root element of a topic)
- The root element of a map
- text_justify
- To justify the text in an element, assign the
@outputclass="text_justify"
attribute. - text_left
- To align the text in an element to the left, assign the
@outputclass="text_left"
attribute. This is the default setting. - text_right
- To align the text in an element to the right, assign the
@outputclass="text_right"
attribute. - text_smaller
- To shrink the text in an element to 12px, assign the
@outputclass="text_smaller"
attribute. - text_small
- To shrink the text in an element to 14px, assign the
@outputclass="text_small"
attribute. - text_default
- To set the text in an element to 16px, assign the
@outputclass="text_default"
attribute. - text_large
- To enlarge the text in an element to 18px, assign the
@outputclass="text_large"
attribute. - text_larger
- To enlarge the text in an element to 20px, assign the
@outputclass="text_larger"
attribute.