-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.tex
More file actions
55 lines (39 loc) · 1.55 KB
/
example.tex
File metadata and controls
55 lines (39 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
\documentclass[a4paper]{article}
\usepackage{todo}
\title{Example \LaTeX File}
\author{Alex Merry}
\date{\today}
\begin{document}
\maketitle
\section{Things Left To Do}
\label{sec:todo}
TODOs can be inline, off to the side or an item in a list.
\TODO{In the margin}
TODOs are normally placed in the margin. This makes it easy to spot
them as you scan through the paper. Because there is not much space in
the margin, the text should be short, such as ``flesh out'' or ``make
clearer''. The command for this is \textbackslash{}TODO\{\textit{margin
text}\}.
\TODOinline{An inline TODO is coloured blue}. Inline TODOs, created
with \textbackslash{}TODOinline\{\textit{text}\}, allow for a much
larger block of text to be entered. They are often used for longer
comments, particularly for co-authors to read.
\begin{itemize}
\item When in a list environment, you may have an incomplete list
\item Inserting a \textbackslash{}TODOitem as the last
\textbackslash{}item allows you to indicate that more items should be
added, like so:
\TODOitem Insert more items
\end{itemize}
\section{Bad references}
This is a valid reference: \ref{sec:todo}. This is invalid:
\ref{sec:does-not-exist}. The build script will rebuild the required
number of times to make the valid reference work, but will warn about
the invalid one.
We can also insert citatations, both proper ones (\cite{valid}) and
improper ones (\cite{no-such-cite}). The former will be found
correctly, the latter will be warned about.
\bibliographystyle{plain}
\bibliography{examplebib}
\end{document}
% vi:tw=72