Debian Codegraph @

texmf-dist/doc/latex/changelog/example.tex

raw
1 \documentclass{article}
2 \usepackage{changelog}
3 \newchangelogsection{\critical}{Critical}
4 \begin{document}
5 \begin{changelog}[author=Rebecca Turner,
6 sectioncmd=\subsection,
7 title=Example changelog]
8 \begin{version}
9 \critical
10 \item A critical new feature.
11 \added
12 \item Really cool feature.
13 \item A second feature.
14 \end{version}
15
16 \begin{version}[date=2019-01-23, short]
17 A version with only a date.
18 \end{version}
19
20 \begin{version}[date=2019-01-23]
21 \added
22 \item A ``full'' version with only a date.
23 \end{version}
24
25 \begin{version}[v=1.1.0, simple]
26 \item A version with no date.
27 \end{version}
28
29 \begin{version}[v=1.1.0, author=]
30 \added
31 \item A version with no date or author.
32 \end{version}
33
34 \begin{version}[v=1.0.3, remark=Remark, simple]
35 \item A version with a remark.
36 \end{version}
37
38 \begin{version}[v=1.0.2, remarks={Remark 1, Remark 2}, simple]
39 \item A version with multiple remarks.
40 \end{version}
41
42 \begin{version}[v=1.0.1, yanked, simple]
43 \item A version with a terrible bug.
44 \end{version}
45
46 \begin{version}[v=1.0.0, date=2018-10-26]
47 \added
48 \item A cool feature.
49 \changed
50 \item Some \textsc{api} detail.
51 \deprecated
52 \item Something that was a bad idea in the first place.
53 \removed
54 \item Something that was deprecated 3 versions ago.
55 \fixed
56 \item A bug that would delete files instead of saving them.
57 \security
58 \item improved with addition of buffer bound checks.
59 \misc
60 \item A change that doesn't fit into any other category.
61 \end{version}
62
63 \shortversion{v=0.1.0, date=2018-10-19,
64 changes=Initial beta.}
65 \end{changelog}
66 \end{document}