| 1 |
%% |
| 2 |
%% This is file `examples/changes.example.screenshot.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% example-screenshot.dtx (with options: `example:screenshot') |
| 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, ngerman, english]{scrartcl} |
| 47 |
\usepackage{babel} |
| 48 |
\usepackage[font=charter, oneside]{basis} |
| 49 |
\author{Ekkart Kleinod} |
| 50 |
\title{Basic changes example} |
| 51 |
\setlength{\textwidth}{180pt} |
| 52 |
\usepackage{listings} |
| 53 |
\lstset{ |
| 54 |
language=[AlLaTeX]TeX, |
| 55 |
float=hbp, |
| 56 |
numberstyle=\tiny\ttfamily, |
| 57 |
basicstyle=\scriptsize\ttfamily, |
| 58 |
identifierstyle=\color{DimGrey}, |
| 59 |
morekeywords={ |
| 60 |
}, |
| 61 |
keywordstyle=\color{LightSlateBlue}, |
| 62 |
commentstyle=\itshape\color{Thistle}, |
| 63 |
backgroundcolor=\color{PapayaWhip}, |
| 64 |
columns=fixed, |
| 65 |
tabsize=4, |
| 66 |
frame=single, |
| 67 |
extendedchars=true, |
| 68 |
showspaces=false, |
| 69 |
showstringspaces=false, |
| 70 |
numbers=none, |
| 71 |
breaklines=true, |
| 72 |
breakindent=3em, |
| 73 |
breakautoindent=true, |
| 74 |
captionpos=t, |
| 75 |
xleftmargin=1em, |
| 76 |
xrightmargin=1em, |
| 77 |
lineskip=0pt, |
| 78 |
numbersep=1em, |
| 79 |
classoffset=1, |
| 80 |
morekeywords={ |
| 81 |
added, |
| 82 |
changes, |
| 83 |
color, |
| 84 |
comment, |
| 85 |
compactsummary, |
| 86 |
deleted, |
| 87 |
definechangesauthor, |
| 88 |
highlight, |
| 89 |
id, |
| 90 |
listofchanges, |
| 91 |
name, |
| 92 |
replaced, |
| 93 |
setsummarywidth, |
| 94 |
setsummarytowidth, |
| 95 |
settruncatewidth, |
| 96 |
style, |
| 97 |
xcolor, |
| 98 |
}, |
| 99 |
keywordstyle=\color{Chocolate}, |
| 100 |
moredelim=[s][\color{SlateGrey}]{<}{>}, |
| 101 |
classoffset=0 |
| 102 |
} |
| 103 |
\usepackage{changes} |
| 104 |
\definechangesauthor[color=purple, name={Ekkart Kleinod}]{EK} |
| 105 |
\setsummarytowidth{Commentedmmm} |
| 106 |
\begin{document} |
| 107 |
|
| 108 |
\begin{lstlisting} |
| 109 |
\usepackage{changes} |
| 110 |
\definechangesauthor[color=purple, name={Ekkart Kleinod}]{EK} |
| 111 |
|
| 112 |
... |
| 113 |
|
| 114 |
\listofchanges[style=compactsummary] |
| 115 |
|
| 116 |
This is \added[id=EK, comment={Missed word!}]{new} text with a comment. |
| 117 |
This is deleted \deleted{wrong} text. |
| 118 |
And some \replaced[id=EK]{replaced}{relpaced} text. |
| 119 |
Let \highlight{this} word stand out. |
| 120 |
This is the commented\comment[id=EK]{for now} end. |
| 121 |
\end{lstlisting} |
| 122 |
|
| 123 |
\listofchanges[style=compactsummary] |
| 124 |
|
| 125 |
\noindent |
| 126 |
This is \added[id=EK, comment={Missed word!}]{new} text with a comment.\\ |
| 127 |
This is deleted \deleted{wrong} text.\\ |
| 128 |
And some \replaced[id=EK]{replaced}{relpaced} text.\\ |
| 129 |
Let \highlight{this} word stand out.\\ |
| 130 |
This is the commented\comment[id=EK]{for now} end. |
| 131 |
|
| 132 |
\clearpage |
| 133 |
\selectlanguage{ngerman} |
| 134 |
|
| 135 |
\begin{lstlisting} |
| 136 |
\usepackage{changes} |
| 137 |
\definechangesauthor[color=purple, name={Ekkart Kleinod}]{EK} |
| 138 |
|
| 139 |
... |
| 140 |
|
| 141 |
\listofchanges[style=compactsummary] |
| 142 |
|
| 143 |
Ein \added[id=EK, comment={Wort fehlt!}]{neuer} Text mit Kommentar. |
| 144 |
Und entfernter \deleted{falscher} Text. |
| 145 |
Dazu \replaced[id=EK]{ersetzter}{esretzter} Text. |
| 146 |
Hebe \highlight{dieses} Wort hervor. |
| 147 |
Wir sind\comment[id=EK]{vorerst} am Ende. |
| 148 |
\end{lstlisting} |
| 149 |
|
| 150 |
\listofchanges[style=compactsummary] |
| 151 |
|
| 152 |
Das ist \added[id=EK, comment={Wort fehlt!}]{neuer} Text mit Kommentar.\\ |
| 153 |
Das ist entfernter \deleted{falscher} Text.\\ |
| 154 |
Dazu \replaced[id=EK]{ersetzter}{esretzter} Text.\\ |
| 155 |
Hebe \highlight{dieses} Wort hervor.\\ |
| 156 |
Wir sind\comment[id=EK]{vorerst} am Ende. |
| 157 |
|
| 158 |
\end{document} |
| 159 |
%% Copyright 2007-2021 Ekkart Kleinod |
| 160 |
%% |
| 161 |
%% End of file `examples/changes.example.screenshot.tex'. |