This way you don't get all the problems with numbering if you use asection as the top-level instead of \chapter
64 lines
1.9 KiB
TeX
64 lines
1.9 KiB
TeX
% Use this if you plan on using \chapter{} as your top-level divider.
|
|
\documentclass[a4paper,headings=small,11pt,oneside,bibliography=totoc]{scrreprt}
|
|
% Use this if you plan on using only \section{} and not \chapter{} as your top-level divider. The primary difference is that \chapter forces a new page (useful for longer documents), whereas \section does not (useful for shorter ones).
|
|
% \documentclass[a4paper,headings=small,11pt,oneside,bibliography=totoc]{scrartcl}
|
|
% ----------------------------------------------------------------
|
|
% \addtokomafont{disposition}{\sffamily}
|
|
\renewcommand\familydefault{\sfdefault}
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage[english]{babel}
|
|
\usepackage[document]{ragged2e}
|
|
\usepackage{amssymb}
|
|
\usepackage{amsthm}
|
|
\usepackage{amsmath}
|
|
\usepackage[dvipsnames]{xcolor}
|
|
\usepackage{graphicx}
|
|
\usepackage{pdfpages}
|
|
\usepackage{microtype}
|
|
\usepackage{palatino}
|
|
\usepackage[round,colon]{natbib}
|
|
\usepackage[hidelinks]{hyperref}
|
|
\usepackage[titletoc]{appendix}
|
|
\pagestyle{headings}
|
|
\usepackage{parskip}
|
|
\usepackage{listings}
|
|
% From http://tex.stackexchange.com/questions/121601/ddg#121618
|
|
\lstset{
|
|
basicstyle=\small\ttfamily,
|
|
columns=flexible,
|
|
breaklines=true
|
|
}
|
|
|
|
% This is important for A) accessibility, and B) getting the document title to display in PDF viewers
|
|
\hypersetup{
|
|
pdflang={en-GB}, % Set this to the ISO code for the primary language you are writing in
|
|
pdftitle={Enter the title of your work here},
|
|
pdfauthor={Your name},
|
|
pdfsubject={Your subject}
|
|
}
|
|
|
|
\newcommand{\comments}[1]{\textcolor{OliveGreen}{[\emph{#1}]}}
|
|
|
|
|
|
\begin{document}
|
|
|
|
\begin{center}
|
|
\Large\textbf{Report Title}\\
|
|
\large\textit{Name}\\
|
|
\small Word Count: XYZW
|
|
\end{center}
|
|
|
|
\begingroup
|
|
\renewcommand{\cleardoublepage}{}
|
|
\renewcommand{\clearpage}{}
|
|
\tableofcontents
|
|
\endgroup
|
|
|
|
\input{chapters/1-introduction}
|
|
\input{chapters/2-example}
|
|
\input{chapters/7-appendix}
|
|
|
|
\bibliographystyle{hull}
|
|
\bibliography{short-report}
|
|
|
|
\end{document}
|