Latex document structure:

  • There are two types of structures:
    1. Global structure.
    2. Book structure.
Global structure:
  • The Latex processes is an input file, certain structure to follow as expect.
  • Commands must contain in every input file.

Syntax:

Document class {...}
Begin{document} ...
End{document}
  • The preamble is known as the region between \document class {…} and \begin{document}.
What is latex document structure

Book structure:

  • The standard Latex book class with add some extra features and describes as follow same outline.
  • A book will contain two-side. According to change the left and right margin to the page number parity.
  • In addition, current chapter and section will be printed in the header.
  • Chapters do not make use, it is barely useful to use the book class.
  • Additionally some places of the document macros changes in the formatting provided by the class.

Syntax:

\begin{document} 
\frontmatter \make title % Introductory chapters
\chapter{Preface} % ...
\main matter \chapter{First chapter} % ...
\appendix \chapter{First Appendix}
\back matter \chapter{Last note}

Categorized in: