轻松生成乳胶文档
simpletex的Python项目详细描述
simpletex:简单的乳胶文档
simpletex是一个python库,用于自动生成乳胶文档。它非常容易使用:
fromsimpleteximportwrite,savefromsimpletex.documentimportDocument,Section,SubsectionwithDocument(size='11pt'):withSection('Section Name'):withSubsection('Subsection Name'):write('Hello World!')save('filename.tex')
完整的文档可以在http://simpletex.readthedocs.io/找到。