diff options
| author | mo khan <mo@mokhan.ca> | 2016-02-07 11:28:09 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2016-02-07 11:28:09 -0700 |
| commit | b01cafe9251081fa622b582310f9dcfb425f379a (patch) | |
| tree | 3476a4ab3179a39e07dbc9b9f2af1e9d7cafc855 /report | |
| parent | cff2361f621e69d382bd8e33df7447eeef04b545 (diff) | |
create sample document with latex
Diffstat (limited to 'report')
| -rw-r--r-- | report/images/screenshot.png | bin | 0 -> 128694 bytes | |||
| -rw-r--r-- | report/template.tex | 101 |
2 files changed, 84 insertions, 17 deletions
diff --git a/report/images/screenshot.png b/report/images/screenshot.png Binary files differnew file mode 100644 index 0000000..ed641a5 --- /dev/null +++ b/report/images/screenshot.png diff --git a/report/template.tex b/report/template.tex index 57d9b5a..3784185 100644 --- a/report/template.tex +++ b/report/template.tex @@ -1,26 +1,93 @@ -\documentclass[11pt, oneside]{article} % use "amsart" instead of "article" for AMSLaTeX format -\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots. -\geometry{letterpaper} % ... or a4paper or a5paper or ... -%\geometry{landscape} % Activate for rotated page geometry -%\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent -\usepackage{graphicx} % Use pdf, png, jpg, or eps§ with pdflatex; use eps in DVI mode - % TeX will automatically convert eps --> pdf in pdflatex -\usepackage{amssymb} +\documentclass{article} +\usepackage{amsmath} +\usepackage{graphicx} +\usepackage{booktabs} -%SetFonts +\title{My first document} +%\date{} +\author{Mo Khan} -%SetFonts +\begin{document} + \pagenumbering{gobble} + \maketitle + \newpage + \tableofcontents + \newpage + \pagenumbering{arabic} + \section{Section} -\title{Penetration Testing Report} -\author{Mo Khan} -%\date{} % Activate to display a given date or no date + Hello World! -\begin{document} -\maketitle -%\section{} -%\subsection{} + \subsection{Subsection} + + Structuring a document is easy! + + \subsubsection{Subsubsection} + + More text. + + \paragraph{Paragraph} + + Some more text. + + \subparagraph{Subparagraph} + + Even more text. + + \newpage + \section{Another section} + + \begin{equation*} + f(x) = x^2 + \end{equation*} + + This is some example text\footnote{\label{myfootnote}Hello footnote}. + + \begin{figure}[h!] + \includegraphics[width=\linewidth]{images/screenshot.png} + \caption{A boat.} + \label{fig:boat1} + \end{figure} + + Figure \ref{fig:boat1} shows a boat. + + \begin{table}[h!] + \centering + \caption{Caption for the table.} + \label{tab:table1} + \begin{tabular}{l|c||r} + 1 & 2 & 3\\ + \hline + a & b & c\\ + \end{tabular} + \end{table} + + I'm referring to footnote \ref{myfootnote}. + + \begin{table}[h!] + \centering + \caption{Caption for the table.} + \label{tab:table2} + \begin{tabular}{ccc} + \toprule + Some & actual & content\\ + \midrule + prettifies & the & content\\ + as & well & as\\ + using & the & booktabs package\\ + \bottomrule + \end{tabular} + \end{table} + \newpage + \begin{table} + \caption{Dummy table} + \end{table} + \begin{appendix} + \listoffigures + \listoftables + \end{appendix} \end{document} |
