# 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, HSpace, I, Image, Loop, 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 beak is possible. Space character is not implied when this attribute is set.

class (text, optional)

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

color (text, optional, CSS property: color)

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

id (text, optional)

  CSS id for this paragraph.

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

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

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 width="27">
      <Paragraph fontface="Title">
        <Value>Hallo Welt</Value>
      </Paragraph>
    </Textblock>

## See also

Textblock, How to use fonts

# Commands

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

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