Transform unicode text into typographically more correct LaTeX compatible unicode.


Keywords
latex
License
GPL-2.0+
Install
pip install latexfixer==0.2.1

Documentation

latexfixer

Description

A small class to normalise unicode to latex-compatible unicode, with fixes for some common typographic errors.

Usage

from latexfixer.fix import LatexText

string = 'Hello, Prof. World'
string = LatexText(string) # 'Hello Prof.~World'