Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from pylatex import Document, Section, Subsection, Command
- from pylatex.utils import italic, NoEscape
- latex_document = 'path'
- with open(latex_document) as file:
- tex= file.read()
- doc = Document('basic')
- doc.append(tex)
- doc.generate_pdf(clean_tex=False)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement