Skip to content

A library to generate LaTeX expression from Python code.

License

Notifications You must be signed in to change notification settings

qjasn/latexify_get_from_code

 
 

Repository files navigation

Fork description

this repo add a new function for latexify to get latex from a plain text

e.g.:

import latexify
code = {
   "name":"f",
   "args":"x",
   "code":"return x"
}
output = latexify.get_latex_with_code(name = code["name"], args = code["args"], code = code["code"])
print(output)

stdout:
f(x) = x

  • Why not contribute to latexify?
    • In fact, Sympy have the same feature(sympy.latex), so it's not necessary for official latexify have this feature.

About

A library to generate LaTeX expression from Python code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.9%
  • Shell 0.1%