latex code manipulation
Project description
Install
pip install latexman
Quick Start
In LaTeX (as opposed to classic TeX) You should use \(123\) and \[ 123\] environments instead of $123$ and $$123$$ respectively.
See https://tex.stackexchange.com/questions/510/are-and-preferable-to-dollar-signs-for-math-mode
The function convert_dollar_sign_to_latex_counterpart()
helps converting $123$ in math mode to \(123\) and $$123$$ to \[123\]
from latexman import convert_dollar_sign_to_latex_counterpart as conv
filepath = 'main.tex'
conv(filepath)
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
latexman-0.5.tar.gz
(2.6 kB
view details)
Built Distribution
File details
Details for the file latexman-0.5.tar.gz
.
File metadata
- Download URL: latexman-0.5.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8bf0f939c4bc4287221b9bcebc024b1d5ec76aadfe48b83dd1e4ea496133ec6 |
|
MD5 | b46300070a9d56d672038df331fac51a |
|
BLAKE2b-256 | 54ff803fe67d2c1fa1568fdd37b37ac8c0fc3c20a19fa5673827cc830c7e802c |
File details
Details for the file latexman-0.5-py3-none-any.whl
.
File metadata
- Download URL: latexman-0.5-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 323b4e0f892229264963c4d84fb0fc54018ab6138df322ee4801f1766cd06261 |
|
MD5 | fc0324aa9ea81c068e01cc632b899277 |
|
BLAKE2b-256 | 00dde64707835d4ec4737c8b6a013ba09374abb72e343ceea9327ba55f14fb74 |