Elementname: Paragraph

CSS name: p


Insert a paragraph of text. The width of the paragraph is inherited from the surrounding element.

Allowed attributes: allowbreak, class, color, fontface, id, language, role, textformat

Child elements: A, Action, B, Br, Color, Fontface, ForAll, Frame, HSpace, I, Image, Initial, Loop, NoBreak, Span, Sub, Sup, Switch, U, URL, Value

Parent elements: Case, ForAll, Loop, Otherwise, SetVariable, Td, Text, Textblock, Until, While


allowbreak (text, optional)

(Experimental!) list of characters where a line break is possible. Space character is not implied when this attribute is set.

class (text, optional)

CSS class for this paragraph.

color (text, optional, CSS property: color)

Color of the paragraph. Must be defined with DefineColor before use.

fontface (text, optional, CSS property: font-family)

The name of the fontface for the paragraph. The default is »text« (lowercase t).

id (text, optional)

CSS id for this paragraph.

language (optional)

Name of the language for hyphenation.

role (optional, since version 3.5.7)

The role for PDF/UA (accessibility, tagged PDF)


Heading level 1


A paragraph.

textformat (text, optional)

Name of the textformat that is applied to the paragraph. If none is specified the textformat text is used.


  <Paragraph fontface="Title">
    <Value>Hello World</Value>

See also

Textblock, How to use fonts


Version: 3.9.8 | Start page | Command reference | Other language: German