# TeXAlignment enum

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 enum TeXAlignment
```

Enumerates the ways in which typeset lines can be placed within the line width.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Left | 0 | Glue keeps its ideal width and lines start at the left edge, so the right hand edge comes out ragged. |
| Centre | 1 | Glue keeps its ideal width and lines are centred within the line width. |
| Right | 2 | Glue keeps its ideal width and lines end at the right edge, so the left hand edge comes out ragged. |
| Justify | 3 | Glue is stretched so that lines fill the entire line width. |
