Skip to content

Suggestion: add instruction in documentation for supporting Chinese #44

@lumeng

Description

@lumeng
  • Use xelatex executable binary instead of the default pdflatex: ConfigureMaTeX["pdfLaTeX" -> "/Library/TeX/texbin/xelatex"]
  • Include support to Chinese text in the preamble via the option to MaTeX: SetOptions[MaTeX, "Preamble" -> {"\\usepackage[UTF8]{ctex}"}]
  • Verify: MaTeX["\\text{之乎者也} \\sum_{k=1}^{\\infty} \\frac{1}{k}"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions