Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tex Preamble #130

Open
mayurankv opened this issue Nov 13, 2023 · 0 comments
Open

tex Preamble #130

mayurankv opened this issue Nov 13, 2023 · 0 comments

Comments

@mayurankv
Copy link

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}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant