TemmlOptions
Namespace: Temml
public class TemmlOptionsThe rendering options. Maps to the options object of upstream’s Settings.
Inheritance: object
Derived: TemmlAutoRenderOptions
Properties
Section titled “Properties”Annotate
Section titled “Annotate”public bool Annotate { get; set; }Include the TeX source in an annotation element.
Value: bool
ColorIsTextColor
Section titled “ColorIsTextColor”public bool ColorIsTextColor { get; set; }Make \color behave like \textcolor.
Value: bool
DisplayMode
Section titled “DisplayMode”public bool DisplayMode { get; set; }Render in display style.
Value: bool
ErrorColor
Section titled “ErrorColor”public string ErrorColor { get; set; }The color of rendered errors.
Value: string
public bool Leqno { get; set; }Put equation tags on the left.
Value: bool
Macros
Section titled “Macros”public TemmlMacroDictionary? Macros { get; set; }Custom macros. Rendering writes to this dictionary: \gdef, and also \def at the top level, as upstream does. So do not share one between threads, and give untrusted input a dictionary of its own.
Value: TemmlMacroDictionary
MaxExpand
Section titled “MaxExpand”public int MaxExpand { get; set; }The largest number of macro expansions.
Value: int
MaxSize
Section titled “MaxSize”public (double Em, double Pt)? MaxSize { get; set; }The largest user-specified size, in ems and in points. Unlimited when null.
Value: (double Em, double Pt)?
Strict
Section titled “Strict”public bool Strict { get; set; }Throw on input that LaTeX would reject.
Value: bool
ThrowOnError
Section titled “ThrowOnError”public bool ThrowOnError { get; set; }Throw a ParseError instead of rendering the error.
Value: bool
public bool Trust { get; set; }Trust every command that needs trust.
Value: bool
TrustHandler
Section titled “TrustHandler”public Func<TemmlTrustContext, bool>? TrustHandler { get; set; }Decides trust per command. When set, Trust is ignored.
Value: Func<TemmlTrustContext, bool>
public TemmlWrap Wrap { get; set; }Soft line breaking in inline math.
Value: TemmlWrap
public bool Xml { get; set; }Add the MathML xmlns attribute.
Value: bool
MIT · Copyright 2020 Ron Kok · unofficial community port of Temml