\documentclass[12pt, letter paper]{article} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage[table,xcdraw]{xcolor} \usepackage{pgf} \usepackage{{booktabs}} \usepackage{layouts} \usepackage{parskip} %% Assumed preamble to import pandas exported PGF \def\mathdefault#1{#1} \everymath=\expandafter{\the\everymath\displaystyle} \IfFileExists{scrextend.sty}{ \usepackage[fontsize=10.000000pt]{scrextend} }{ \renewcommand{\normalsize}{\fontsize{10.000000}{12.000000}\selectfont} \normalsize } \makeatletter\@ifpackageloaded{underscore}{}{\usepackage[strings]{underscore}}\makeatother \graphicspath{{../figures/}{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: Current text width: \printinunitsof{in}\prntlen{\textwidth} \begin{figure}[hbtp] \begin{center} \input{../figures/sample.pgf} \end{center} \caption{A PGF histogram from \texttt{matplotlib}.} \end{figure} Similarly pandas can export \LaTeX tables which we can include \input{sample_table.tex} These capabilities should suffice for the report. \end{document}