ansys/ansys-templates

Implement report template

jorgepiloto opened this issue ยท 0 comments

๐Ÿ’ก Implement report template
Although WYSIWYG editors are useful, it would be interesting to provide users with a template that can construct a beautiful PDF report from either Markdown or RST by using pandoc.

๐Ÿ“ Implementation
To customize the LaTeX template used when rendering a PDF document, pandoc requires a "template.latex" file. Default one can be generated using:

pandoc -D latex > template.latex

This is the file that needs to be customized to generate an Ansys or PyAnsys template. Once completed, the document can be generated by running:

pandoc -s --template=template.latex doc.md -o doc.pdf