54 lines
1.1 KiB
TeX
54 lines
1.1 KiB
TeX
|
\documentclass[12pt, letter paper]{article}
|
||
|
\usepackage[utf8]{inputenc}
|
||
|
\usepackage{graphicx}
|
||
|
\usepackage[table,xcdraw]{xcolor}
|
||
|
\graphicspath{{figures/}}
|
||
|
\title{Practice}
|
||
|
\author{Hendrik Tillemans}
|
||
|
\date{December 2024}
|
||
|
|
||
|
\begin{document}
|
||
|
|
||
|
\maketitle
|
||
|
|
||
|
\begin{abstract}
|
||
|
This is an introduction to using LaTeX. It will show how to format a paper, insert equations, figures, and tables. LaTeX can also be used to create lab reports, CVs, bibliographies, and other documents.
|
||
|
\end{abstract}
|
||
|
|
||
|
\tableofcontents
|
||
|
|
||
|
\section{Introduction}
|
||
|
|
||
|
We can add random text and paragraphs.
|
||
|
|
||
|
Here is another paragraph.
|
||
|
|
||
|
We can also create lists:
|
||
|
|
||
|
\begin{itemize}
|
||
|
\item llamas
|
||
|
\item donkeys
|
||
|
\item goats
|
||
|
\end{itemize}
|
||
|
|
||
|
And numbered lists:
|
||
|
|
||
|
\begin{enumerate}
|
||
|
\item oranges
|
||
|
\item bananas
|
||
|
\item apples
|
||
|
\end{enumerate}
|
||
|
|
||
|
\section{Integrating with results from scripts}
|
||
|
|
||
|
We can export figures in .pgf format to import them:
|
||
|
|
||
|
\begin{figure}
|
||
|
\begin{center}
|
||
|
\input{sample.pgf}
|
||
|
\end{center}
|
||
|
\caption{A PGF histogram from \texttt{matplotlib}.}
|
||
|
\end{figure}
|
||
|
|
||
|
\end{document}
|