# Elementname: `Column`

## Description

Set the properties of a column in the table.

Allowed attributes: align, backgroundcolor, padding-left, padding-right, valign, width

Child elements: (none)

Parent elements: Case, Columns, ForAll, Loop, Otherwise, Until, While

### Attributes

align (optional)

  The horizontal alignment of the table cells in this column. Can be overridden in a cell (Td).

  left: | The table cells are left aligned.
  center: | The table cells are horizontally centered.
  right: | The table cells are right aligned.

backgroundcolor (text, optional)

  All cells in this column have this background color.

padding-left (length, optional, since version 3.1.8)

  Set the left padding for the column

padding-right (length, optional, since version 3.1.8)

  Set the right padding for the column

valign (optional)

  The vertical alignment of the cells in this column. Can be overridden in a cell (Td).

  top: | The table cells are top aligned.
  middle: | The table cells are vertically centered.
  bottom: | The table cells are aligned at the bottom.

width (Number, length or *-numbers, optional)

  Width of the column. Argument can be a number (in grid cells) a length (e.g. 2cm) or a *-number (e.g. 4*).

## Example

See the example at Columns.

## See also

Table Columns

# 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
- 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.6.1 | Start page | Command reference | Other language: German