summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/curve/examples/rubric.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/curve/examples/rubric.tex')
-rw-r--r--macros/latex/contrib/curve/examples/rubric.tex77
1 files changed, 77 insertions, 0 deletions
diff --git a/macros/latex/contrib/curve/examples/rubric.tex b/macros/latex/contrib/curve/examples/rubric.tex
new file mode 100644
index 0000000000..8fa8803e0c
--- /dev/null
+++ b/macros/latex/contrib/curve/examples/rubric.tex
@@ -0,0 +1,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: