# 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
- 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