TeXLayout

References
public sealed class TeXLayout
Collates a bunch of settings used for setting up and breaking TeX bodies.

Properties

LineSpace

#
public double LineSpace { get; }
Additional vertical space between lines.

LineWidth

#
public double LineWidth { get; }
Gets the line-width. At this point, the TeXSettings do not allow variable line-widths.

ParagraphSpace

#
public double ParagraphSpace { get; }
Additional vertical space between paragraphs.

StretchLimit

#
public double StretchLimit { get; }
Gets the cutoff for when stretching becomes illegal. A value of 1.0 means the glue stretching is obeyed to the letter.

StretchPunctuation

#
public bool StretchPunctuation { get; }
Lines ending with a punctuation mark will be stretched to fill a slightly wider space.

Methods

Create

#
public static TeXLayout Create(double lineWidth, double lineSpace = 0, double paragraphSpace = 0)
Create default TeX settings for a specific line-width.
lineWidth (double)
lineSpace (double = 0)
paragraphSpace (double = 0)

WithLineWidth

#
public TeXLayout WithLineWidth(double newWidth)
newWidth (double)

WithoutPunctuationStretching

#
public TeXLayout WithoutPunctuationStretching()

WithPunctuationStretching

#
public TeXLayout WithPunctuationStretching()

WithStretchLimit

#
public TeXLayout WithStretchLimit(double newLimit)
newLimit (double)

WithVerticalSpacing

#
public TeXLayout WithVerticalSpacing(double newLineSpace, double newParagraphSpace)
newLineSpace (double)
newParagraphSpace (double)