summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/curve/examples
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/curve/examples
Initial commit
Diffstat (limited to 'macros/latex/contrib/curve/examples')
-rw-r--r--macros/latex/contrib/curve/examples/Makefile70
-rw-r--r--macros/latex/contrib/curve/examples/bib.bib68
-rw-r--r--macros/latex/contrib/curve/examples/bib.tex55
-rw-r--r--macros/latex/contrib/curve/examples/raw.tex51
-rw-r--r--macros/latex/contrib/curve/examples/rubric.tex77
5 files changed, 321 insertions, 0 deletions
diff --git a/macros/latex/contrib/curve/examples/Makefile b/macros/latex/contrib/curve/examples/Makefile
new file mode 100644
index 0000000000..1f25ac5a36
--- /dev/null
+++ b/macros/latex/contrib/curve/examples/Makefile
@@ -0,0 +1,70 @@
+### Makefile --- Makefile for CurVe examples
+
+## Copyright (C) 2010 Didier Verna
+
+## Author: Didier Verna <didier@lrde.epita.fr>
+## Maintainer: Didier Verna <didier@lrde.epita.fr>
+## Created: Mon Dec 6 11:13:27 2010
+## Last Revision: Mon Dec 6 11:25: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:
+
+TEXI2DVI := texi2dvi
+
+BIB_EXAMPLES = bib splitbib
+EXAMPLES := raw $(BIB_EXAMPLES)
+
+PDF_BIB_EXAMPLES = $(BIB_EXAMPLES:%=%.pdf)
+DVI_BIB_EXAMPLES = $(BIB_EXAMPLES:%=%.dvi)
+ALL_BIB_EXAMPLES = $(PDF_BIB_EXAMPLES) $(DVI_BIB_EXAMPLES)
+
+PDF_EXAMPLES = $(EXAMPLES:%=%.pdf)
+DVI_EXAMPLES = $(EXAMPLES:%=%.dvi)
+ALL_EXAMPLES = $(PDF_EXAMPLES) $(DVI_EXAMPLES)
+
+
+all:
+ @echo "Please use either the pdf or the dvi target."
+pdf: $(PDF_EXAMPLES)
+dvi: $(DVI_EXAMPLES)
+
+$(ALL_BIB_EXAMPLES): bib.bib
+$(ALL_EXAMPLES): rubric.tex
+
+
+%.pdf: %.tex
+ $(TEXI2DVI) -p $<
+
+%.dvi: %.tex
+ $(TEXI2DVI) $<
+
+
+clean:
+ -rm *~ *.aux *.lo* *.bbl *.blg *.sbb *.out
+
+distclean: clean
+ -rm $(ALL_EXAMPLES)
+
+
+.PHONY: all pdf dvi clean distclean
+
+
+### Makefile ends here
diff --git a/macros/latex/contrib/curve/examples/bib.bib b/macros/latex/contrib/curve/examples/bib.bib
new file mode 100644
index 0000000000..ac45c94361
--- /dev/null
+++ b/macros/latex/contrib/curve/examples/bib.bib
@@ -0,0 +1,68 @@
+@InProceedings{bib:doe.00.conf1,
+ author = {John Doe},
+ title = {A first conference paper},
+ booktitle = {The first conference proceedings},
+ OPTcrossref = {},
+ OPTkey = {},
+ pages = {200--210},
+ year = {2000},
+ OPTeditor = {},
+ OPTvolume = {},
+ OPTnumber = {},
+ OPTseries = {},
+ OPTaddress = {},
+ OPTmonth = {},
+ OPTorganization = {},
+ OPTpublisher = {},
+ OPTnote = {},
+ OPTannote = {}
+}
+
+@Article{bib:doe.01.journal1,
+ author = {John Doe},
+ title = {A first journal paper},
+ journal = {The first journal},
+ year = {2001},
+ OPTkey = {},
+ OPTvolume = {},
+ OPTnumber = {},
+ pages = {50--60},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {}
+}
+
+@InProceedings{bib:doe.10.conf2,
+ author = {John Doe},
+ title = {A second conference paper},
+ booktitle = {The second conference proceedings},
+ OPTcrossref = {},
+ OPTkey = {},
+ pages = {100--110},
+ year = {2010},
+ OPTeditor = {},
+ OPTvolume = {},
+ OPTnumber = {},
+ OPTseries = {},
+ OPTaddress = {},
+ OPTmonth = {},
+ OPTorganization = {},
+ OPTpublisher = {},
+ OPTnote = {},
+ OPTannote = {}
+}
+
+@Article{bib:doe.11.journal2,
+ author = {John Doe},
+ title = {A second journal paper},
+ journal = {The second journal},
+ year = {2011},
+ OPTkey = {},
+ OPTvolume = {},
+ OPTnumber = {},
+ pages = {40--50},
+ OPTmonth = {},
+ OPTnote = {},
+ OPTannote = {}
+}
+
diff --git a/macros/latex/contrib/curve/examples/bib.tex b/macros/latex/contrib/curve/examples/bib.tex
new file mode 100644
index 0000000000..e17beeead3
--- /dev/null
+++ b/macros/latex/contrib/curve/examples/bib.tex
@@ -0,0 +1,55 @@
+%%% bib.tex --- Example of CurVe usage with BibTeX.
+
+%% 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: Mon Dec 6 10:57:19 2010
+%% Last Revision: Mon Dec 6 11:33:52 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:
+
+\NeedsTeXFormat{LaTeX2e}
+\documentclass{curve}
+
+\leftheader{Left header\\
+ Insert information here\\
+ And also here}
+\rightheader{Right header\\
+ Insert information here\\
+ And also here}
+
+\title{CV Title}
+\subtitle{Subtitle}
+
+\begin{document}
+
+\makeheaders[t]
+\maketitle
+
+\nocite{*}
+\bibliographystyle{plain}
+\bibliography{bib}
+
+\end{document}
+
+
+%%% bib.tex ends here
diff --git a/macros/latex/contrib/curve/examples/raw.tex b/macros/latex/contrib/curve/examples/raw.tex
new file mode 100644
index 0000000000..5c0c7d6b75
--- /dev/null
+++ b/macros/latex/contrib/curve/examples/raw.tex
@@ -0,0 +1,51 @@
+%%% raw.tex --- Example of CurVe usage.
+
+%% 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 10:57:19 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:
+
+\NeedsTeXFormat{LaTeX2e}
+\documentclass{curve}
+
+\leftheader{Left header\\
+ Insert information here\\
+ And also here}
+\rightheader{Right header\\
+ Insert information here\\
+ And also here}
+
+\title{CV Title}
+\subtitle{Subtitle}
+
+\begin{document}
+
+\makeheaders[t]
+\maketitle
+
+\makerubric{rubric}
+
+\end{document}
+
+%%% raw.tex ends here
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: