]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/modernCV.lyx
ctests: More inversions
[lyx.git] / lib / examples / modernCV.lyx
index 43f7a931ccb406c48ba10988c2e4bed90eb63aff..6ef92124e16cc5c823b66e50988661bfb96d2420 100644 (file)
@@ -1,43 +1,36 @@
-#LyX 2.1 created this file. For more info see http://www.lyx.org/
-\lyxformat 474
+#LyX 2.2 created this file. For more info see http://www.lyx.org/
+\lyxformat 508
 \begin_document
 \begin_header
+\save_transient_properties true
+\origin /systemlyxdir/examples/
 \textclass moderncv
-\begin_preamble
-%\renewcommand{\familydefault}{\sfdefault}    % to set the default font; use '\sfdefault' for the default sans serif font, '\rmdefault' for the default roman one, or any tex font name
-%\nopagenumbers{}                             % uncomment to suppress automatic page numbering for CVs longer than one page
-
-% adjust the page margins
-\usepackage[scale=0.75]{geometry}
-%\setlength{\hintscolumnwidth}{3cm}           % if you want to change the width of the column with the dates
-%\setlength{\makecvtitlenamewidth}{10cm}      % for the 'classic' style, if you want to force the width allocated to your name and avoid line breaks. be careful though, the length is normally calculated to avoid any overlap with your personal info; use this at your own typographical risks...
-\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_math auto
+\font_roman "default" "default"
+\font_sans "default" "default"
+\font_typewriter "default" "default"
+\font_math "auto" "auto"
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
 \font_osf false
-\font_sf_scale 100
-\font_tt_scale 100
+\font_sf_scale 100 100
+\font_tt_scale 100 100
 \graphics default
 \default_output_format default
 \output_sync 0
-\bibtex_command default
+\bibtex_command bibtex
 \index_command default
 \paperfontsize 12
 \spacing single
 \use_hyperref false
 \papersize a4paper
-\use_geometry false
+\use_geometry true
 \use_package amsmath 1
 \use_package amssymb 1
 \use_package cancel 0
@@ -61,6 +54,8 @@
 \shortcut idx
 \color #008000
 \end_index
+\leftmargin 2.5cm
+\rightmargin 2.5cm
 \secnumdepth 0
 \tocdepth -1
 \paragraph_separation skip
@@ -83,9 +78,9 @@
 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 
+The moderncv class offers lots of customization possibilities; for more
+ information look at the documentation of the \SpecialChar LaTeX
+-package 
 \series bold
 moderncv
 \series default
@@ -113,13 +108,46 @@ http://mirrors.ctan.org/macros/latex/contrib/moderncv/examples/template.tex
 \end_layout
 
 \begin_layout CVStyle
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+left
+\end_layout
+
+\end_inset
+
+options can only be activated if moderncv 2.0 is installed
+\end_layout
+
+\end_inset
+
 casual
 \begin_inset Note Note
 status open
 
 \begin_layout Plain Layout
-required, possible styles are 'casual' (default), 'classic', 'oldstyle'
- and 'banking'
+required, possible styles are 'casual' (default), 'classic', 'fancy' ('fancy'
+ requires moderncv 2.0), 'oldstyle' and 'banking'
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+To be able to use style options you need at least moderncv version 2.0 installed.
+ A list of possible options can be found here:
+\begin_inset Newline newline
+\end_inset
+
+http://article.gmane.org/gmane.comp.tex.ctan.announce/11898
 \end_layout
 
 \end_inset
@@ -134,7 +162,41 @@ status open
 
 \begin_layout Plain Layout
 required, possible colors are 'blue' (default), 'orange', 'green', 'red',
- 'purple', 'grey' and 'black'
+ 'purple', 'burgundy' ('burgundy' requires moderncv 2.0), 'grey' and 'black'
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout CVIcons
+awesome
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+optional, must be inserted after the 
+\family sans
+CV Style
+\family default
+, possible icon sets are 'awesome' (default for style 'casual' and 'banking'),
+ 'marvosym' (default for the other styles) and 'letters' (default for style
+ 'oldstyle')
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout CVColumnWidth
+3cm
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+optional, the width of the column with the dates, default is '3cm'
 \end_layout
 
 \end_inset
@@ -158,11 +220,62 @@ optional, controls how the PDF will be shown; use either 'UseNone' (only
 
 \end_layout
 
-\begin_layout FirstName
+\begin_layout Standard
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+General hints:
+\end_layout
+
+\begin_layout Itemize
+To suppress the page numbering, enable the option 
+\family sans
+Suppress default date on front page
+\family default
+ in the document settings under 
+\family sans
+Document Class.
+\end_layout
+
+\begin_layout Itemize
+The default page margins are left and right 3.5
+\begin_inset space \thinspace{}
+\end_inset
+
+cm.
+ To get smaller ones, use the 
+\family sans
+Page Margins
+\family default
+ section of the document settings like it is done in this example.
+\end_layout
+
+\begin_layout Itemize
+To get for example sans-serif fonts for the whole CV, set them as 
+\family sans
+Default Family
+\family default
+ in the document settings under 
+\family sans
+Fonts.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Name
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
 Paul
 \end_layout
 
-\begin_layout FamilyName
+\end_inset
+
 Testman
 \end_layout
 
@@ -240,45 +353,42 @@ oldstyle
 
 \end_layout
 
-\begin_layout Mobile
-+43(0)999 888
-\end_layout
-
 \begin_layout Phone
-+43(0)999 9999
-\end_layout
+\begin_inset Argument 1
+status open
 
-\begin_layout Fax
-+43(0)999 7777
+\begin_layout Plain Layout
+mobile
 \end_layout
 
-\begin_layout Email
-testman@testman.xx
-\end_layout
+\end_inset
 
-\begin_layout Homepage
-www.johndoe.com
++43(0)999 888
 \end_layout
 
-\begin_layout Standard
-\begin_inset Note Note
-status open
+\begin_layout Phone
++43(0)999 9999
+\end_layout
 
-\begin_layout Plain Layout
-\begin_inset Note Note
+\begin_layout Phone
+\begin_inset Argument 1
 status open
 
 \begin_layout Plain Layout
-The Social style can be enabled if 
-\series bold
-moderncv
-\series default
- version 1.5.0 or newer is installed.
+fax
 \end_layout
 
 \end_inset
 
++43(0)999 7777
+\end_layout
 
+\begin_layout Email
+testman@testman.xx
+\end_layout
+
+\begin_layout Homepage
+www.johndoe.com
 \end_layout
 
 \begin_layout Social
@@ -342,11 +452,6 @@ github
 ptestman
 \end_layout
 
-\end_inset
-
-
-\end_layout
-
 \begin_layout ExtraInfo
 www.lyx.org
 \end_layout
@@ -422,7 +527,7 @@ Education
 status open
 
 \begin_layout Plain Layout
-2003--2006
+20032006
 \end_layout
 
 \end_inset
@@ -475,7 +580,7 @@ Description
 status open
 
 \begin_layout Plain Layout
-2001--2003
+20012003
 \end_layout
 
 \end_inset
@@ -596,7 +701,7 @@ Experience
 status open
 
 \begin_layout Plain Layout
-2006--
+2006
 \begin_inset Newline newline
 \end_inset
 
@@ -627,6 +732,10 @@ Note:
  If you use the 
 \emph on
 banking
+\emph default
+ or the 
+\emph on
+fancy
 \emph default
  theme, no linebreaks are allowed in entries.
 \end_layout
@@ -641,7 +750,7 @@ banking
 status open
 
 \begin_layout Plain Layout
-2005--2006
+20052006
 \end_layout
 
 \end_inset
@@ -851,7 +960,9 @@ Typography
 
 \end_inset
 
-LaTeX, ConTeXt, Scribus, QuarkXPress
+\SpecialChar LaTeX
+, Con\SpecialChar TeX
+t, Scribus, QuarkXPress
 \end_layout
 
 \begin_layout DoubleItem
@@ -1123,7 +1234,7 @@ Everything can be the content
 \noindent
 \begin_inset Tabular
 <lyxtabular version="3" rows="1" columns="1">
-<features rotate="0" tabularvalignment="middle">
+<features tabularvalignment="middle">
 <column alignment="center" valignment="top">
 <row>
 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
@@ -1254,7 +1365,10 @@ Back to moderncv layout, without making a new section
 You can use bibitems:
 \end_layout
 
-\begin_layout --Separator--
+\begin_layout Standard
+\begin_inset Separator plain
+\end_inset
+
 
 \end_layout
 
@@ -1334,7 +1448,8 @@ key "latexguide"
 Helmut Kopka and Patrick W.
  Daly: 
 \emph on
-A Guide to LaTeX Fourth Edition.
+A Guide to \SpecialChar LaTeX
+ Fourth Edition.
 
 \emph default
  Addison-Wesley, 2003
@@ -1349,7 +1464,8 @@ key "latexbook"
 
 Leslie Lamport: 
 \emph on
-LaTeX: A Document Preparation System.
+\SpecialChar LaTeX
+: A Document Preparation System.
 
 \emph default
  Addison-Wesley, second edition, 1994
@@ -1359,7 +1475,8 @@ LaTeX: A Document Preparation System.
 \begin_inset Newpage newpage
 \end_inset
 
-or BibTeX references:
+or Bib\SpecialChar TeX
+ references:
 \end_layout
 
 \begin_layout Standard