# TeXGlue 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 TeXGlue : ITeXElement
```

Provides a double-precision implementation of TeX-style line-breaking glue in accordance with Donald Knuth and Michael Plass' seminal 1981 paper 'Breaking Paragraphs into Lines'.

## Constructors

- [TeXGlue](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texglue/ctor.md)

## Fields

- [Aleph0](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texglue/aleph0.md): (static)
- [Aleph1](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texglue/aleph1.md): (static)

## Properties

- [CanShrink](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texglue/canshrink.md)
- [CanStretch](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texglue/canstretch.md)
- [InfiniteStretchClass](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texglue/infinitestretchclass.md): Gets the infinity aleph class for the stretchability. This is either -1 for finitely stretchable, or 0 for Aleph0 or 1 for Aleph1
- [MaximumWidth](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texglue/maximumwidth.md)
- [MinimumWidth](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texglue/minimumwidth.md)
- [Shrink](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texglue/shrink.md)
- [Stretch](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texglue/stretch.md)
- [Type](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texglue/type.md)
- [Width](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texglue/width.md)

## Methods

- [ToString](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.typography.texglue/tostring.md)
