\documentclass{article}

\title{Demo}
\author{TEC}
\date{2020-07-14}

\usepackage{pgfplots}
\usepackage{booktabs}
\usepackage{minted}

\newcommand{\test}[2]{\begin{tabular}{ll}
                        \toprule
                        Item & Description \\
                        \midrule
                        #1 & #2 \\
                        \bottomrule
                      \end{tabular}}

\begin{document}

\maketitle

Add some text.

\[
  x = \frac{-b \pm \sqrt{b^2 - 4ab}}{2a}
\]

Some inline \(  x = \frac{-b \pm \sqrt{b^2 - 4ab}}{2a}
\) maths.

\newcommand{\graph}[1]{\begin{tikzpicture}
\begin{axis}
  \addplot{#1};
\end{axis}
\end{tikzpicture}}

\begin{tabular}{ccc}
  \toprule
 header1 & header2 & header3 \\
  \midrule
 cell4 & cell5 & cell6 \\
 cell7 & cell8 & cell9 \\
 cell7 & cell8 & cell9 \\
 cell7 & cell8 & cell9 \\
  \bottomrule
\end{tabular}

\begin{minted}{python}
print("hello")
\end{minted}

\graph{x^3}
\graph{x^2}
\graph{1/x}
\graph{x^0.6}

\end{document}
