# 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
- AddSearchpath
- AtPageCreation
- AtPageShipout
- AttachFile
- Attribute
- B
- Barcode
- Bold
- BoldItalic
- Bookmark
- Box
- Br
- Case
- Circle
- Color
- Column
- Columns
- Compatibility
- Contents
- Copy-of
- DefineColor
- DefineColorprofile
- DefineFontalias
- DefineFontfamily
- DefineTextformat
- Element
- Fallback
- 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
- TableNewPage
- Tablefoot
- Tablehead
- Tablerule
- Td
- Text
- Textblock
- Tr
- Trace
- Transformation
- U
- URL
- Ul
- Until
- VSpace
- Value
- While

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