The document
environment encloses the entire body of a document. It is required in every LaTeX document. See Starting and ending.
• \AtBeginDocument | Hook for commands at the start of the document. | |
• \AtEndDocument | Hook for commands at the end of the document. |
© 2007–2018 Karl Berry
Public Domain Software
http://latexref.xyz/document.html