# Elementname: `Grid`

## Description

Override the grid settings from SetGrid.

Allowed attributes: dx, dy, height, nx, ny, width

Child elements: (none)

Parent elements: Group, Pagetype

### Attributes

dx (optional, since version 2.3.11)

  Distance between two grid cells (horizontal)

dy (optional, since version 2.3.46)

  Distance between two grid cells (horizontal)

height (length, optional)

  Height of a grid cell.

nx (number, optional)

  Number of grid cells in horizontal direction.

ny (number, optional)

  Number of grid cells in vertical direction.

width (length, optional)

  Set the width of a grid cell.

### Remarks

nx and ny don't make sense in Group.

## Example

    <Pagetype name="page wide" test=" $var > 10 ">
      <Margin left="1cm" right="2cm" top="1cm" bottom="1cm"/>
      <Grid width="10mm" height="14pt"/>
    </Pagetype>

## See also

SetGrid Pagetype Group

# Commands

- A
- Action
- AddToList
- AtPageCreation
- AtPageShipout
- Attribute
- B
- Barcode
- Bold
- BoldItalic
- Bookmark
- Box
- Br
- Case
- Circle
- 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
- 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
- Transformation
- U
- URL
- Ul
- Until
- VSpace
- Value
- While

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