Module for easy LaTeX typesetting of algebraic expressions in symbolic form with automatic substitution and result computation.
Project description
LaTeX Expression
The LaTex Expression is a python module for easy LaTeX typesetting of algebraic expressions in symbolic form with automatic substitution and result computation.
It was originally written by Jan Stransky from Czech Technical University, Faculty of Civil Engineering, Department of Structural Mechanics, but the latest update was done in 2015.
Usage
Install using pip
pip install latexexpr
Enjoy
import latexexpr
v1 = latexexpr.Variable('H_{ello}',3.25,'m')
print(f'$$ {v1} $$')
v2 = latexexpr.Variable('W^{orld}',5.63,'m')
print(f'$$ {v2} $$')
e1 = latexexpr.Expression('E_{xample}',v1+v2,'m')
print(f'$$ {e1} $$')
Links
License
The project is released under LGPL v3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
latexexpr-0.4.1.tar.gz
(19.1 kB
view details)
Built Distribution
latexexpr-0.4.1-py3-none-any.whl
(18.9 kB
view details)
File details
Details for the file latexexpr-0.4.1.tar.gz
.
File metadata
- Download URL: latexexpr-0.4.1.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0988e1922a7325d0e2f8d679816cec5b07a976d5e147363c2125e6725f068d5 |
|
MD5 | 89207076da49ee47e06b426f01bb2913 |
|
BLAKE2b-256 | d09e8b8405087da7244d086b2b04a002fda07dc768d05d140a4260f36b9a2a1c |
File details
Details for the file latexexpr-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: latexexpr-0.4.1-py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e795ba5bfbe56e2fe6806e8850891447b6f1aadbfeab4dfe788492d8b5df6dfe |
|
MD5 | b25c07c22917749ed0bc9c4c7d01062a |
|
BLAKE2b-256 | aae92fc3e125b5d4c6d5934e857f20a20172c2a27c3168bab1d37cec1268a0f4 |