${ expression }
where:
The print tag will be replaced with a calculated value in the output.
The style (font, color, etc.) used for the expression inside the print tag is important: the expression result printed to the output will use this style. For example, if the expression text in the doc template is bold, then the output text is bold. Note that only one style can be used inside a specific print tag.
Outputs the name of a class:
${ myClass.name }
Outputs the name of a class in bold and red:
${ myClass.name }