Debian Codegraph @

texmf-dist/doc/latex/curve/examples/rubric.tex

raw
1 %%% rubric.tex --- Example of using CurVe.
2
3 %% Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2010 Didier Verna.
4
5 %% Author: Didier Verna <[email protected]>
6 %% Maintainer: Didier Verna <[email protected]>
7 %% Created: Thu Dec 10 16:04:01 2000
8 %% Last Revision: Mon Dec 6 11:04:22 2010
9
10 %% This file is part of CurVe.
11
12 %% CurVe may be distributed and/or modified under the
13 %% conditions of the LaTeX Project Public License, either version 1.1
14 %% of this license or (at your option) any later version.
15 %% The latest version of this license is in
16 %% http://www.latex-project.org/lppl.txt
17 %% and version 1.1 or later is part of all distributions of LaTeX
18 %% version 1999/06/01 or later.
19
20 %% CurVe consists of the files listed in the file `README'.
21
22
23 %%% Commentary:
24
25 %% Contents management by FCM version 0.1.
26
27
28 %%% Code:
29
30 \begin{rubric}{The Rubric's Title}
31 \entry*[Key 1]
32 This is an entry with a key. The key is displayed on the left, and you're
33 reading the entry's contents. As you can see, this entry does not belong to
34 a subrubric.
35 \subrubric{A First Subrubric}
36 \entry*[Key 2]
37 This entry belongs to the first subrubric. Before the subrubric,
38 some space is added to separate it from the previous entry.
39 \entry*
40 After the subrubric, some space is also added to separate it from the
41 first entry. Note that this entry has no key. The entries contents are
42 aligned together.
43 \text{\par\itshape
44 This is a piece of text produced by the \texttt{\char`\\text} macro. It
45 spawns the whole text width. If you want to further separate it from the
46 normal entries with vertical space (like here), you can use the
47 \texttt{\char`\\par} command.\par}
48 \entry*[Key 3]
49 This is another entry with a new key.
50 \entry*
51 This is another entry, but this one has no key. Note the text bullet
52 which serves as a visual clue, especially when several entries share the
53 same key.
54 \subrubric{A Second Subrubric}
55 \entry*[Key 1]
56 This entry belongs to the second subrubric.
57 \entry*
58 This one also belongs to the second subrubric.
59 \entry*[Key 2]
60 This is another entry with a new key.
61 \entry*
62 This is another entry, but this one has no key.
63 \subrubric{}
64 \entry*[Key 3]
65 If you want to separate some entries from the subrubric above,
66 you can for instance make an empty subrubric.
67 \entry*
68 You can include other rubrics below. Rubrics can even be split across
69 pages. The titles will then be repeated.
70 \end{rubric}
71
72 %%% rubric.tex ends here
73
74 %%% Local Variables:
75 %%% mode: latex
76 %%% TeX-master: "raw"
77 %%% End: