# Elementname: `Grid`

## Description

Override the grid settings from SetGrid.

Allowed attributes: width, height, nx, ny

Child elements: (none)

Parent elements: Group, Pagetype

### Attributes

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
- 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
- Ol
- Options
- Otherwise
- Output
- Pageformat
- Pagetype
- Paragraph
- PlaceObject
- 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.2.0 | Start page | Command reference | Other language: German