summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/curve/examples/rubric.tex
blob: 8fa8803e0c088b52006550cc18dc2ab2d93b5da6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
%%% rubric.tex --- Example of using CurVe.

%% Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2010 Didier Verna.

%% Author:        Didier Verna <didier@lrde.epita.fr>
%% Maintainer:    Didier Verna <didier@lrde.epita.fr>
%% Created:       Thu Dec 10 16:04:01 2000
%% Last Revision: Mon Dec  6 11:04:22 2010

%% This file is part of CurVe.

%% CurVe may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.1
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.1 or later is part of all distributions of LaTeX
%% version 1999/06/01 or later.

%% CurVe consists of the files listed in the file `README'.


%%% Commentary:

%% Contents management by FCM version 0.1.


%%% Code:

\begin{rubric}{The Rubric's Title}
\entry*[Key 1]
  This is an entry with a key. The key is displayed on the left, and you're
  reading the entry's contents. As you can see, this entry does not belong to
  a subrubric.
\subrubric{A First Subrubric}
\entry*[Key 2]
  This entry belongs to the first subrubric. Before the subrubric,
  some space is added to separate it from the previous entry.
\entry*
  After the subrubric, some space is also added to separate it from the
  first entry. Note that this entry has no key. The entries contents are
  aligned together.
\text{\par\itshape
  This is a piece of text produced by the \texttt{\char`\\text} macro. It
  spawns the whole text width. If you want to further separate it from the
  normal entries with vertical space (like here), you can use the
  \texttt{\char`\\par} command.\par}
\entry*[Key 3]
  This is another entry with a new key.
\entry*
  This is another entry, but this one has no key. Note the text bullet
  which serves as a visual clue, especially when several entries share the
  same key.
\subrubric{A Second Subrubric}
\entry*[Key 1]
  This entry belongs to the second subrubric.
\entry*
  This one also belongs to the second subrubric.
\entry*[Key 2]
  This is another entry with a new key.
\entry*
  This is another entry, but this one has no key.
\subrubric{}
\entry*[Key 3]
  If you want to separate some entries from the subrubric above,
  you can for instance make an empty subrubric.
\entry*
  You can include other rubrics below. Rubrics can even be split across
  pages. The titles will then be repeated.
\end{rubric}

%%% rubric.tex ends here

%%% Local Variables:
%%% mode: latex
%%% TeX-master: "raw"
%%% End: