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 hashes)
Built Distribution
latexman-0.5-py3-none-any.whl
(3.0 kB
view hashes)