Latex: Difference between revisions

595 bytes added ,  8 April 2020
Line 237: Line 237:
;Notes
;Notes
See [[Wikibooks: LaTeX/Document Structure]] for a list of common document classes and options.
See [[Wikibooks: LaTeX/Document Structure]] for a list of common document classes and options.
==Examples==
Below is a basic example of a latex document
{{hidden | Article Example |
<syntaxhighlight lang="latex">
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{datetime}
\usepackage{lipsum} 
\usepackage[numbers]{natbib}
\newdateformat{monthyear}{%
  \monthname[\THEMONTH] \THEYEAR}
\title{My Main Title\\
\large A Subtitle}
\author{My Name}
\date{\monthyear\today}
\begin{document}
\maketitle
\begin{abstract}
    \lipsum[1]
\end{abstract}
\section{Introduction}
\lipsum[2-4]
\bibliographystyle{plain}
\bibliography{thebib}
\end{document}
</syntaxhighlight>
}}


==Resources==
==Resources==
* [http://detexify.kirelabs.org/classify.html Detexify LaTeX handwritten symbol recognition]
* [http://detexify.kirelabs.org/classify.html Detexify LaTeX handwritten symbol recognition]