latexify_py
latexify_py copied to clipboard
A library to generate LaTeX expression from Python code.
# Overview - Support all constant literals. - Digits are wrapped by `{` and `}` so that the subscript operator works: $x_42$ --> $x_{42}$ - This would insert unnecessarily many...
It would be nice to support some more set operations and comprehensions, since they're pretty easy to use in python. (I assume this is going to be fairly difficult though,...
``` import latexify def solve(a): return 5 * a print(latexify.get_latex(solve, no_function=True)) ``` to be `5a`, not `\mathrm{solve}(a) \triangleq 5a` i think it's better to create another function not parameter or...
I have worked recently to investigate if we could generate the LaTeX algorithm environment from the function. Actually it can work like this: I think this feature is really useful...
Follows #65 It may be good if we provide a config class integrating every setting, which are currently passed directly to `with_latex`: ```python import latexify config = latexify.Config.defaults() config.use_math_symbols() config.expand_function("expit")...
I dont know if it is my techniques problem. When I run the sample code on Pycharm and use the converted latex code, there is no equals sign between left...
# Overview # Details # References # Blocked by
Follows #63 It is good to provide a `expand_functions` boolean option to control whether some composite functions are expanded or not, e.g.: - `hypot(x, y)` -> $\sqrt{x^2 + y^2}$ -...
Hi, Very nice tool. Thanks a lot. I was just wondering if there will be any support for libraries like NumPy, PyTorch or TensorFlow?
It would be interesting to implement some matrix operations such as: ``` Lb = np.array(Lb) - ((numerand/pivot)* np.array(La)) ```