# Elementname: `Text`

## Description

Create a text that can be broken across text containers or pages. To be used with Output

Allowed attributes: color, fontface, textformat

Child elements: Action, Bookmark, Copy-of, ForAll, Loop, Ol, Paragraph, Switch, Ul, Value

Parent elements: Output

### Attributes

color (text, optional)

  The name of the color of the text.

fontface (text, optional)

  The name of the font family. Defaults to `text`.

textformat (text, optional)

  The name of the text format to be applied to the text. Defaults to `text`.

## Example

    <Pagetype name="page" test="true()">
      <Margin left="1cm" right="1cm" top="1cm" bottom="1cm" />
      <PositioningArea name="text">
        <PositioningFrame width="4" height="10" row="1" column="1" />
        <PositioningFrame width="4" height="10" row="1" column="6" />
      </PositioningArea>
    </Pagetype>
    <Record element="data">
      <Output area="text">
        <Text>
          <Paragraph>
            <Value select="string(.)" />
          </Paragraph>
        </Text>
      </Output>
    </Record>

## See also

PlaceObject

# Commands

- A
- Action
- AddToList
- AtPageCreation
- AtPageShipout
- 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
- HSpace
- Hyphenation
- I
- Image
- Include
- 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
- Sequence
- SetGrid
- SetVariable
- SortSequence
- Stylesheet
- Sub
- Sup
- Switch
- Table
- Tablefoot
- Tablehead
- Tablerule
- Td
- Text
- Textblock
- Tr
- Trace
- Transformation
- U
- URL
- Ul
- Until
- VSpace
- Value
- While

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