# TeXLayout class

Namespace: [Grasshopper2.UI.Typography](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.typography.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class TeXLayout
```

Collates a bunch of settings used for setting up and breaking TeX bodies.

## Properties

- [LineSpace](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texlayout/linespace.md): Additional vertical space between lines.
- [LineWidth](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texlayout/linewidth.md): Gets the line-width. At this point, the TeXSettings do not allow variable line-widths.
- [ParagraphSpace](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texlayout/paragraphspace.md): Additional vertical space between paragraphs.
- [StretchLimit](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texlayout/stretchlimit.md): Gets the cutoff for when stretching becomes illegal. A value of 1.0 means the glue stretching is obeyed to the letter.
- [StretchPunctuation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texlayout/stretchpunctuation.md): Lines ending with a punctuation mark will be stretched to fill a slightly wider space.

## Methods

- [Create](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texlayout/create.md): (static) Create default TeX settings for a specific line-width.
- [WithLineWidth](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texlayout/withlinewidth.md)
- [WithoutPunctuationStretching](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texlayout/withoutpunctuationstretching.md)
- [WithPunctuationStretching](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texlayout/withpunctuationstretching.md)
- [WithStretchLimit](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texlayout/withstretchlimit.md)
- [WithVerticalSpacing](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texlayout/withverticalspacing.md)
