Debian Codegraph @

texmf-dist/doc/latex/changes/examples/changes.example.listofchanges.show.tex

raw
1 %%
2 %% This is file `examples/changes.example.listofchanges.show.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% examples.dtx (with options: `example:listofchanges:show')
8 %%
9 %% changes.dtx
10 %% Copyright 2007-2021 Ekkart Kleinod ([email protected])
11 %%
12 %% This work may be distributed and/or modified under the
13 %% conditions of the LaTeX Project Public License, either version 1.3
14 %% of this license or any later version.
15 %% The latest version of this license is in
16 %% http://www.latex-project.org/lppl.txt
17 %% and version 1.3 or later is part of all distributions of LaTeX
18 %% version 2005/12/01 or later.
19 %%
20 %% This work has the LPPL maintenance status `maintained'.
21 %% The current maintainer of this work is Ekkart Kleinod.
22 %%
23 %% This work consists of the files
24 %% source/latex/changes/changes.drv
25 %% source/latex/changes/changes.dtx
26 %% source/latex/changes/changes.ins
27 %% source/latex/changes/examples.dtx
28 %% source/latex/changes/regression.dtx
29 %% source/latex/changes/README
30 %% source/latex/changes/userdoc/*.tex
31 %%
32 %% scripts/changes/pyMergeChanges.py
33 %% and the derived files
34 %% doc/latex/changes/changes.english.pdf
35 %% doc/latex/changes/changes.english.withcode.pdf
36 %% doc/latex/changes/changes.ngerman.pdf
37 %%
38 %% doc/latex/changes/examples/changes.example.*.tex
39 %% doc/latex/changes/examples/changes.example.*.pdf
40 %%
41 %% doc/latex/changes/regression/changes.regression.*.tex
42 %% doc/latex/changes/regression/changes.regression.*.pdf
43 %%
44 %% tex/latex/changes/changes.sty
45 %%
46 \documentclass[11pt, a4paper, notitlepage, english]{article}
47 \usepackage{babel}
48 \usepackage{changes}
49 \definechangesauthor[color=green]{Green}
50 \definechangesauthor[name={Mister Orange}, color=orange]{OA}
51 \definechangesauthor{nochanges}
52 \begin{document}
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71 \verb|See before list!|
72
73
74
75
76 \verb|\listofchanges[title={Additions and deletions}, show=added|deleted]|
77 \listofchanges[title={Additions and deletions}, show=added|deleted]
78
79 \verb|\listofchanges[title={Comments}, show=comment]|
80 \listofchanges[title={Comments}, show=comment]
81
82 \verb|\listofchanges[style=summary, title={Summary of comments and replacements}, show=comment|replaced]|
83 \listofchanges[style=summary, title={Summary of comments and replacements}, show=comment|replaced]
84
85 \verb|\listofchanges[style=compactsummary, title={Compact summary of replacements}, show=replaced]|
86 \listofchanges[style=compactsummary, title={Compact summary of replacements}, show=replaced]
87
88 \verb|\listofchanges[style=compactsummary, title={Compact summary of all changes (show=wrong)}, show=wrong]|
89 \listofchanges[style=compactsummary, title={Compact summary of all changes (show=wrong)}, show=wrong]
90
91 \subsection*{Changes by default author}
92
93 You think water moves fast?
94 \added{You should see ice.}
95 It moves like it has a mind.
96 Like it knows it killed the world once and got a taste for murder.
97 \deleted[comment={No?}]{After the avalanche, it took us a week to climb out.}
98 Now, I don't know exactly \added{when} we turned on each other, but I know that seven of us survived the slide... and only five made it out.
99 \replaced{Now we took an oath, that I'm breaking now.}{We said we'd say it was the snow that killed the other two, but it wasn't.}
100 Nature is lethal but it doesn't hold a candle to man.
101 However unreal\comment{speaking of unreal\dots} it may seem, we are connected, you and I.
102 We're on the same curve, just on opposite ends.
103 You don't get \highlight[comment={Yes, sick.}]{sick}, I do.
104 That's also \highlight{clear}.
105
106 \subsection*{Changes by green author}
107
108 The lysine contingency - it's intended to prevent the spread of the animals is case they ever got off the island.
109 Dr. Wu inserted a gene \replaced[id=Green]{taht}{that} makes a \deleted[id=Green]{single} faulty enzyme in protein metabolism.
110 The animals can't manufacture the amino acid lysine.
111 Unless \replaced[id=Green]{they're}{continually} supplied with lysine by us, they'll slip into a coma and die.
112 We're on the same curve, just on opposite ends.
113 However unreal\comment[id=Green]{speaking of unreal\dots} it may seem, we are connected, you and I.
114 You don't get \highlight[id=Green, comment={Yes, sick.}]{sick}, I do.
115 That's also \highlight[id=Green]{clear}.
116
117 \subsection*{Changes by orange author with some comments}
118
119 Now that we know who you are, I know who I am.
120 \added[id=OA, comment={Yeah, I like animals better than people sometimes\dots}]{I'm not a mistake!}
121 It all makes sense!
122 In a comic, you know how you can tell who the arch-villain's going to be?
123 \deleted[id=OA, comment={Especially dogs. Dogs are the best.}]{He's the exact opposite of the hero.}
124 \deleted[id=OA]{And most times they're friends, like you and me!}
125 I should've known way back when...
126 You know why, David?
127 They called me Mr Glass.
128 However unreal\comment[id=OA]{just nice} it may seem, we are connected, you and I.
129 We're on the same curve, just on opposite ends.
130 You don't get \highlight[id=OA, comment={Yes, sick.}]{sick}, I do.
131 That's also \highlight[id=OA]{clear}.
132
133 \subsection*{No changes}
134
135 Your bones don't break, mine do.
136 \textbf{That's clear.}
137 Your cells react to bacteria and viruses differently than mine.
138 \textsl{You don't get sick, I do.}
139 That's also clear.
140 \textit{But for some reason, you and I react the exact same way to water.}
141 We swallow it too fast, we choke.
142 \emph{We get some in our lungs, we drown.}
143 However unreal it may seem, we are connected, you and I.
144 We're on the same curve, just on opposite ends.
145 You don't get sick, I do.
146 That's also clear.
147
148
149
150
151
152 \end{document}
153 %% Copyright 2007-2021 Ekkart Kleinod
154 %%
155 %% End of file `examples/changes.example.listofchanges.show.tex'.