-
Notifications
You must be signed in to change notification settings - Fork 75
/
example-draft.tex
59 lines (44 loc) · 1.32 KB
/
example-draft.tex
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
56
57
\documentclass[12pt,a4paper]{article}
\setlength{\topmargin}{-0.2in}
\setlength{\textheight}{9.5in}
\setlength{\oddsidemargin}{0.0in}
\setlength{\textwidth}{6.5in}
\title{latexdiff Example - Draft version}
\author{F Tilmann}
\begin{document}
\maketitle
\section*{Introduction}
This is an extremely simple document that showcases some of latexdiff features.
Type
\begin{verbatim}
latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex
\end{verbatim}
to create the difference file. You can inspect this file directly. Then run either
\begin{verbatim}
pdflatex example-diff.tex
xpdf example-diff.pdf
\end{verbatim}
or
\begin{verbatim}
latex example-diff.tex
dvips -o example-diff.ps example-diff.dvi
gv example-diff.ps
\end{verbatim}
to display the markup.
\section*{Another section title}
A paragraph with a line only in the draft document. More things could be said
were it not for the constraints of time and space.
More things could be said were it not for the constraints of time and space.
And here is a tipo.
Here is a table:
\begin{tabular}{ll}
Name & Description \\
\hline
Gandalf & Grey \\
Saruman & White
\end{tabular}
And sometimes a whole paragraph gets completely rewritten. In this
case latexdiff marks up the whole paragraph even if some words in it
are identical.
No change, no markup!
\end{document}