]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/modernCV.lyx
Merge branch 'master' of git.lyx.org:lyx
[lyx.git] / lib / examples / modernCV.lyx
index 263d4df3000e2f95a5cc5edceb84e10f2afa4c6f..3eff7859ffb9182fa164e92c1cedcf1217e135bd 100644 (file)
@@ -1,53 +1,92 @@
-#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 263
+#LyX 2.0 created this file. For more info see http://www.lyx.org/
+\lyxformat 413
 \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)
+% adjust the page margins
+\usepackage[scale=0.75]{geometry}
 
+% required
+\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\protect\\[0.1em] Switzerland\protect\\[0.2em]}
 
+% 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
+\maintain_unincluded_children false
 \language english
+\language_package default
 \inputencoding auto
+\fontencoding global
 \font_roman default
 \font_sans default
 \font_typewriter default
 \font_default_family default
+\use_non_tex_fonts false
 \font_sc false
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
+
 \graphics default
+\default_output_format default
+\output_sync 0
+\bibtex_command default
+\index_command default
 \paperfontsize 12
 \spacing single
-\papersize default
+\use_hyperref false
+\papersize a4paper
 \use_geometry false
 \use_amsmath 1
 \use_esint 1
+\use_mhchem 1
+\use_mathdots 1
 \cite_engine basic
 \use_bibtopic false
+\use_indices false
 \paperorientation portrait
-\secnumdepth 3
-\tocdepth 3
+\suppress_date false
+\use_refstyle 0
+\index Index
+\shortcut idx
+\color #008000
+\end_index
+\secnumdepth 0
+\tocdepth -1
 \paragraph_separation skip
 \defskip medskip
 \quotes_language english
@@ -56,7 +95,9 @@ Switzerland}
 \paperpagestyle default
 \tracking_changes false
 \output_changes false
-\author "usti" 
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
 \end_header
 
 \begin_body
@@ -65,12 +106,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 +124,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 +174,7 @@ Education
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -113,7 +185,7 @@ Master of Economics
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -124,7 +196,7 @@ Institution
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -135,7 +207,7 @@ City
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -146,7 +218,7 @@ Country
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -161,7 +233,7 @@ Description
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -172,7 +244,7 @@ Bachelor of Economics
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -183,7 +255,7 @@ Institution
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -194,7 +266,7 @@ City
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -205,7 +277,7 @@ Country
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -224,7 +296,7 @@ Title
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -236,13 +308,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 +330,7 @@ Supervisors
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -265,16 +340,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 +363,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 +392,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -330,7 +403,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -341,7 +414,7 @@ status collapsed
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -356,7 +429,7 @@ Maintainer of the xxx documentation
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -367,7 +440,7 @@ Employer
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -379,7 +452,7 @@ Corp.
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -390,7 +463,7 @@ City
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -401,7 +474,7 @@ Country
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -420,7 +493,7 @@ French
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -431,7 +504,7 @@ Native
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -441,16 +514,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 +530,7 @@ Near-native
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -480,7 +549,7 @@ OS
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -491,7 +560,7 @@ Linux, Unix, Windows
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -502,7 +571,7 @@ administration
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -512,16 +581,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 +601,7 @@ Java
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -547,7 +612,7 @@ scripting
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -557,27 +622,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 +649,7 @@ typography
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -598,17 +659,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 +679,7 @@ XHTML, CSS, AJAX
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -630,7 +690,7 @@ database
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -645,12 +705,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 +731,7 @@ Travelling
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -688,16 +751,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 +789,7 @@ Double\SpecialChar \ldots{}
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -717,17 +800,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 +817,14 @@ status collapsed
  item.
 \end_layout
 
+\begin_layout Subsection
+subsection
+\end_layout
+
+\begin_layout ListItem
+subsection item
+\end_layout
+
 \begin_layout Section
 Section with your own content
 \end_layout
@@ -746,7 +833,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 +843,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
 
@@ -769,8 +856,10 @@ Keep entries with green labels empty!
 Your content here, inside an unformatted environment.
  You can use here e.g.
  mathematics 
-\begin_inset Formula \[
-E=mc^{2}\]
+\begin_inset Formula 
+\[
+E=mc^{2}
+\]
 
 \end_inset
 
@@ -781,7 +870,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 +884,7 @@ Now
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }{
 \end_layout
@@ -813,8 +902,14 @@ Back to moderncv layout, without making a new section
 You can use bibitems:
 \end_layout
 
+\begin_layout --Separator--
+
+\end_layout
+
 \begin_layout Bibliography
-\begin_inset LatexCommand bibitem
+\labelwidthstring References
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
 key "latexguide"
 
 \end_inset
@@ -829,7 +924,9 @@ A Guide to LaTeX Fourth Edition.
 \end_layout
 
 \begin_layout Bibliography
-\begin_inset LatexCommand bibitem
+\labelwidthstring References
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
 key "latexbook"
 
 \end_inset
@@ -847,38 +944,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