]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/modernCV.lyx
Make sweave example working. Patch from Liviu.
[lyx.git] / lib / examples / modernCV.lyx
index 263d4df3000e2f95a5cc5edceb84e10f2afa4c6f..1af48634b95423249ec8fa0f211160f11d0d0fd7 100644 (file)
@@ -1,31 +1,47 @@
-#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 263
+#LyX 1.6.8 created this file. For more info see http://www.lyx.org/
+\lyxformat 345
 \begin_document
 \begin_header
 \textclass moderncv
 \begin_preamble
-\moderncvstyle{classic}
-% possible styles are "classic", "casual", "'nocolor" (black & white), and "roman" (for roman fonts instead of sans serif fonts)
+\moderncvtheme[blue]{classic}
+% possible themes are "classic" and "casual"
+% optional argument are 'blue' (default), 'orange', 'red', 'green', 'grey' and 'roman' (for roman fonts, instead of sans serif fonts)
 
+% required
 \firstname{Paul}
+% required
 \familyname{Testman}
 
+% optional, remove the line if not wanted
 \title{Curriculum Vitae}
 
-\address{Teststreet\\
-03333 Nicecity\\
-Switzerland}
+% optional
+% \address{street and number}{postcode city}
+% '\\' adds a line break
+\address{Teststreet 17}{03333 Nicecity\\ Switzerland}
 
+% optional
 \phone{+43(0)999 9999}
+% optional
+\mobile{+43(0)999 888}
+% optional
+\fax{+43(0)999 7777}
+% optional
 \email{testman@testman.xx}
+% optional
 \extrainfo{www.lyx.org}
 
+% optional
+% \photo[height]{name}
+% 'height' is the height the picture is resized to
+% 'name' is the name of the picture file
 \photo[64pt]{CV-image}
 
-\quote{You only live twice.}
-
-\AtBeginDocument{\maketitle}
+% optional
+\quote{"You only live twice." (an optional quote)}
 \end_preamble
+\use_default_options false
 \language english
 \inputencoding auto
 \font_roman default
@@ -36,9 +52,11 @@ Switzerland}
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
+
 \graphics default
 \paperfontsize 12
 \spacing single
+\use_hyperref false
 \papersize default
 \use_geometry false
 \use_amsmath 1
@@ -56,7 +74,8 @@ Switzerland}
 \paperpagestyle default
 \tracking_changes false
 \output_changes false
-\author "usti" 
+\author "" 
+\author "" 
 \end_header
 
 \begin_body
@@ -65,12 +84,12 @@ Switzerland}
 \begin_inset Note Note
 status open
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \series bold
 Note:
 \series default
- The personal data like your name, address, etc.
+ The personal data like your name, image, address, etc.
  are set in the document preamble.
 \end_layout
 
@@ -83,9 +102,40 @@ Note:
 \begin_inset Note Note
 status open
 
+\begin_layout Plain Layout
+The moderncv class offers lots of customization possibilities; some are
+ explained in the preamble of this document; for more information look at
+ the documentation of the LaTeX-package 
+\series bold
+moderncv
+\series default
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
-The moderncv-class offers lots of customization possibilities; to find out
- more, look at its documentation.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+maketitle
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+outputs the title part like the address
 \end_layout
 
 \end_inset
@@ -102,7 +152,7 @@ Education
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -113,7 +163,7 @@ Master of Economics
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -124,7 +174,7 @@ Institution
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -135,7 +185,7 @@ City
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -146,7 +196,7 @@ Country
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -161,7 +211,7 @@ Description
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -172,7 +222,7 @@ Bachelor of Economics
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -183,7 +233,7 @@ Institution
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -194,7 +244,7 @@ City
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -205,7 +255,7 @@ Country
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -224,7 +274,7 @@ Title
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -236,13 +286,16 @@ status collapsed
 Title of the thesis
 \end_layout
 
-\begin_layout Space
--1cm
+\begin_layout Standard
+\begin_inset VSpace -0.5cm
+\end_inset
+
+
 \begin_inset Note Note
 status open
 
-\begin_layout Standard
-Inserts vertical space; negative values are allowed.
+\begin_layout Plain Layout
+add negative or positive space as you like
 \end_layout
 
 \end_inset
@@ -255,7 +308,7 @@ Supervisors
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -265,16 +318,12 @@ status collapsed
 Names of supervisors
 \end_layout
 
-\begin_layout Space
--1cm
-\end_layout
-
 \begin_layout Item
 Description
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -292,23 +341,25 @@ Experience
 
 \begin_layout Entry
 February 2006--
-\newline
+\begin_inset Newline newline
+\end_inset
+
 current
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
 
 \end_inset
 
-Maintainer of OpenSource projects
+Maintainer of Open Source projects
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -319,7 +370,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -330,7 +381,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -341,7 +392,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -356,7 +407,7 @@ Maintainer of the xxx documentation
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -367,7 +418,7 @@ Employer
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -379,7 +430,7 @@ Corp.
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -390,7 +441,7 @@ City
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -401,7 +452,7 @@ Country
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -420,7 +471,7 @@ French
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -431,7 +482,7 @@ Native
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -441,16 +492,12 @@ status collapsed
 
 \end_layout
 
-\begin_layout Space
--1cm
-\end_layout
-
 \begin_layout Language
 Dutch
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -461,7 +508,7 @@ Near-native
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -480,7 +527,7 @@ OS
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -491,7 +538,7 @@ Linux, Unix, Windows
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -502,7 +549,7 @@ administration
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -512,16 +559,12 @@ status collapsed
 Apache, Mailman
 \end_layout
 
-\begin_layout Space
--1cm
-\end_layout
-
 \begin_layout Computer
 Programming
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -536,7 +579,7 @@ Java
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -547,7 +590,7 @@ scripting
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -557,27 +600,23 @@ status collapsed
 PHP, Shell, Ruby
 \end_layout
 
-\begin_layout Space
--1cm
-\end_layout
-
 \begin_layout Computer
 Scientific
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
 
 \end_inset
 
-Matlab, Autocad, Abaqus
+Matlab, AutoCAD, Abaqus
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -588,7 +627,7 @@ typography
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -598,17 +637,16 @@ status collapsed
 LaTeX, ConTeXt, Scribus, QuarkXPress
 \end_layout
 
-\begin_layout Space
--1mm
-\end_layout
-
 \begin_layout Computer
-Web\InsetSpace ~
+Web
+\begin_inset space ~
+\end_inset
+
 design
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -619,7 +657,7 @@ XHTML, CSS, AJAX
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -630,7 +668,7 @@ database
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -645,12 +683,15 @@ Interests
 \end_layout
 
 \begin_layout Item
-Adventure\InsetSpace ~
+Adventure
+\begin_inset space ~
+\end_inset
+
 sports
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -668,7 +709,7 @@ Travelling
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -688,16 +729,36 @@ Section with a list
 Single item.
 \end_layout
 
-\begin_layout Space
--1cm
-\end_layout
-
 \begin_layout ListItem
 Another single item.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+begin{itemize}
+\backslash
+item 
 \end_layout
 
-\begin_layout Space
--1cm
+\end_inset
+
+Sub-item.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+end{itemize}
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout DoubleItem
@@ -706,7 +767,7 @@ Double\SpecialChar \ldots{}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -717,17 +778,13 @@ status collapsed
  item.
 \end_layout
 
-\begin_layout Space
--1cm
-\end_layout
-
 \begin_layout DoubleItem
 Another double\SpecialChar \ldots{}
 
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -738,6 +795,14 @@ status collapsed
  item.
 \end_layout
 
+\begin_layout Subsection
+subsection
+\end_layout
+
+\begin_layout Standard
+subsection text
+\end_layout
+
 \begin_layout Section
 Section with your own content
 \end_layout
@@ -746,7 +811,7 @@ Section with your own content
 \begin_inset Note Note
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 This ends the section formatting.
 \end_layout
 
@@ -756,7 +821,7 @@ This ends the section formatting.
 \begin_inset Note Note
 status open
 
-\begin_layout Standard
+\begin_layout Plain Layout
 Keep entries with green labels empty!
 \end_layout
 
@@ -781,7 +846,7 @@ put some table or figure, etc.
 \begin_inset Note Note
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 Creates a section without a section heading.
 \end_layout
 
@@ -795,7 +860,7 @@ Now
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -814,7 +879,8 @@ You can use bibitems:
 \end_layout
 
 \begin_layout Bibliography
-\begin_inset LatexCommand bibitem
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
 key "latexguide"
 
 \end_inset
@@ -829,7 +895,8 @@ A Guide to LaTeX Fourth Edition.
 \end_layout
 
 \begin_layout Bibliography
-\begin_inset LatexCommand bibitem
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
 key "latexbook"
 
 \end_inset
@@ -847,38 +914,11 @@ or BibTeX references:
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-
-\backslash
-nocite{*}
-\end_layout
-
-\end_inset
-
-
-\begin_inset Note Note
-status collapsed
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-nocite{*}
-\series default
- Prints all entries of the BibTeX-file
-\end_layout
-
-\end_inset
-
-
-\begin_inset LatexCommand bibtex
-options "plain"
+\begin_inset CommandInset bibtex
+LatexCommand bibtex
+btprint "btPrintAll"
 bibfiles "biblioExample"
+options "plain"
 
 \end_inset