Kamis, 23 November 2023

Preamble In Latex

All LaTeX documents start with a preamble. Most common preamble latex command consists of: 

\documentclass{}

The first command in any document.  Used to specify what type of document is being made.  Some common arguments are article (common for scientific journals), book, slides, beamer (for presentations), standalone.

\usepackage{}

This command imports a package into the LaTeX document.  This is important for including any commands that are not standard in LaTeX.

\title{}

The intended title of the document should be used as the argument

\author{}

The author of the document should be used as the argument.

\date{}

The argument is the date associated with the document.  Note that leaving the argument empty will create a blank date in the title, and not including the command will make the default title to the date compiled.

Example

Type this latex script in your latex document, before \begin{document} and after \documentclass{book} line:

\title{your title here...}

\author{Private Course and Tutor Course}

\date{November 1991}

Type this latex script after \begin{document} line:

\maketitle


<< previous Latex Template 1





Bibliography:

https://www.gvsu.edu/ ( university )

https://www.nyu.edu/ ( university )

latex, tex, latex script, latex command, latex document, latex article, latex book preamble, latex beamer, latex standalone, latex document title, latex document author, latex document environment

Related Post:

Tidak ada komentar:

Posting Komentar