# Elementname: `Paragraph`

CSS name: p

## Description

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

Allowed attributes: allowbreak, class, color, fontface, id, language, 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

### Attributes

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.

textformat (text, optional)

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

## Example

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

## See also

Textblock, How to use fonts

# Commands

- A
- Action
- AddSearchpath
- AtPageCreation
- AtPageShipout
- AttachFile
- Attribute
- B
- Barcode
- Bold
- BoldItalic
- Bookmark
- Box
- Br
- Case
- Circle
- Color
- Column
- Columns
- Compatibility
- Contents
- Copy-of
- DefineColor
- DefineFontalias
- DefineFontfamily
- DefineTextformat
- Element
- Fontface
- ForAll
- Frame
- Grid
- Group
- Groupcontents
- HSpace
- Hyphenation
- I
- Image
- Include
- Initial
- InsertPages
- Italic
- Layout
- Li
- LoadDataset
- LoadFontfile
- Loop
- Makeindex
- Margin
- Mark
- Message
- NewPage
- NextFrame
- NextRow
- NoBreak
- Ol
- Options
- Otherwise
- Output
- Overlay
- PDFOptions
- Pageformat
- Pagetype
- Paragraph
- PlaceObject
- Position
- PositioningArea
- PositioningFrame
- ProcessNode
- Record
- Regular
- Rule
- SaveDataset
- SavePages
- SetGrid
- SetVariable
- SortSequence
- Span
- Stylesheet
- Sub
- Sup
- Switch
- Table
- Tablefoot
- Tablehead
- Tablerule
- Td
- Text
- Textblock
- Tr
- Trace
- Transformation
- U
- URL
- Ul
- Until
- VSpace
- Value
- While

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