Debian Codegraph @

texmf-dist/doc/latex/changes/examples/changes.example.setsummarywidth.tex

raw
1 %%
2 %% This is file `examples/changes.example.setsummarywidth.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% examples.dtx (with options: `example:setsummarywidth')
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 \setsummarywidth{3cm}
50 \definechangesauthor[color=green]{Green}
51 \definechangesauthor[name={Mister Orange}, color=orange]{OA}
52 \definechangesauthor{nochanges}
53 \begin{document}
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70 \verb|\setsummarywidth{3cm}|
71
72
73
74
75
76
77 \verb|\listofchanges[style=summary]|
78 \listofchanges[style=summary]
79
80 \subsection*{Changes by default author}
81
82 You think water moves fast?
83 \added{You should see ice.}
84 It moves like it has a mind.
85 Like it knows it killed the world once and got a taste for murder.
86 \deleted[comment={No?}]{After the avalanche, it took us a week to climb out.}
87 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.
88 \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.}
89 Nature is lethal but it doesn't hold a candle to man.
90 However unreal\comment{speaking of unreal\dots} it may seem, we are connected, you and I.
91 We're on the same curve, just on opposite ends.
92 You don't get \highlight[comment={Yes, sick.}]{sick}, I do.
93 That's also \highlight{clear}.
94
95 \subsection*{Changes by green author}
96
97 The lysine contingency - it's intended to prevent the spread of the animals is case they ever got off the island.
98 Dr. Wu inserted a gene \replaced[id=Green]{taht}{that} makes a \deleted[id=Green]{single} faulty enzyme in protein metabolism.
99 The animals can't manufacture the amino acid lysine.
100 Unless \replaced[id=Green]{they're}{continually} supplied with lysine by us, they'll slip into a coma and die.
101 We're on the same curve, just on opposite ends.
102 However unreal\comment[id=Green]{speaking of unreal\dots} it may seem, we are connected, you and I.
103 You don't get \highlight[id=Green, comment={Yes, sick.}]{sick}, I do.
104 That's also \highlight[id=Green]{clear}.
105
106 \subsection*{Changes by orange author with some comments}
107
108 Now that we know who you are, I know who I am.
109 \added[id=OA, comment={Yeah, I like animals better than people sometimes\dots}]{I'm not a mistake!}
110 It all makes sense!
111 In a comic, you know how you can tell who the arch-villain's going to be?
112 \deleted[id=OA, comment={Especially dogs. Dogs are the best.}]{He's the exact opposite of the hero.}
113 \deleted[id=OA]{And most times they're friends, like you and me!}
114 I should've known way back when...
115 You know why, David?
116 They called me Mr Glass.
117 However unreal\comment[id=OA]{just nice} it may seem, we are connected, you and I.
118 We're on the same curve, just on opposite ends.
119 You don't get \highlight[id=OA, comment={Yes, sick.}]{sick}, I do.
120 That's also \highlight[id=OA]{clear}.
121
122 \subsection*{No changes}
123
124 Your bones don't break, mine do.
125 \textbf{That's clear.}
126 Your cells react to bacteria and viruses differently than mine.
127 \textsl{You don't get sick, I do.}
128 That's also clear.
129 \textit{But for some reason, you and I react the exact same way to water.}
130 We swallow it too fast, we choke.
131 \emph{We get some in our lungs, we drown.}
132 However unreal it may seem, we are connected, you and I.
133 We're on the same curve, just on opposite ends.
134 You don't get sick, I do.
135 That's also clear.
136
137
138
139
140
141 \end{document}
142 %% Copyright 2007-2021 Ekkart Kleinod
143 %%
144 %% End of file `examples/changes.example.setsummarywidth.tex'.