Module document

Module document 

Source
Expand description

Packages and the overall latex layout.

Structs§

Document
The king of the land. The Document type is where you start. Has macro support. Also contains a restriction on the latex commands you use - you can’t use one without declaring it. Atypical of this crate, this particular feature prevents a latex error.
DocumentClass
Wrapper around DocumentClassType, contains whatever options you want to add. Nothing prevents you from adding absolute gibberish as an option. If you want those restrictions implemented, please put up an issue.
Metadata
Title and author, if y’all want more, please put up an issue.
Package
This here is the main reason I made this crate - other crates don’t let you add options to packages. Has macro support, so please use it :).

Enums§

DocumentClassType
Currently, only these few types are supported. There is also nothing preventing you from putting a \part{} in a document of class “part”, but latex will show an error. If you want those restrictions to be implemented, please put up an issue