Type Alias TranslateOptions

TranslateOptions: { bracemath?: boolean; packages?: Set<string> }

Type declaration

  • Optionalbracemath?: boolean

    add braces around math sections. This is useful if you plan to do sentencecase => TitleCase conversion on the result, so that you know these sections are protected.

  • Optionalpackages?: Set<string>

    during conversion, package names will be added to this list that would have led to a more precise translation if they were passed to the consructor