Skip to content

tex Preamble #130

@mayurankv

Description

@mayurankv

Summary

Would it be possible to add parsing of tex preambles? i.e. Preambles stored in latex as .tex or .sty files? Importing a single file that I use with latex projects as well (as long as the syntax is consistent with KaTeX) would be very helpful. I presume mdmath parses the macros in settings to this format for KaTeX so would it be possible to pass these directly in a file?

Expected behavior

Be able to import sty/tex files with macros defined

Actual behavior

Need to redefine and duplicate macros with extra slashes and keep macros up to date in multiple places

Code example

\newcommand{\hf}[0]{\frac{1}{2}}

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