]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/modernCV.lyx
ctests: More inversions
[lyx.git] / lib / examples / modernCV.lyx
index a3f990b49ac3bf3f18873d8eaaea1ad5d98da35a..6ef92124e16cc5c823b66e50988661bfb96d2420 100644 (file)
@@ -1,45 +1,39 @@
-#LyX 2.1 created this file. For more info see http://www.lyx.org/
-\lyxformat 459
+#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
 \use_package esint 1
 \use_package mathdots 1
 \use_package mathtools 0
@@ -48,7 +42,7 @@
 \use_package stmaryrd 0
 \use_package undertilde 0
 \cite_engine basic
-\cite_engine_type numerical
+\cite_engine_type default
 \biblio_style plain
 \use_bibtopic false
 \use_indices false
@@ -60,6 +54,8 @@
 \shortcut idx
 \color #008000
 \end_index
+\leftmargin 2.5cm
+\rightmargin 2.5cm
 \secnumdepth 0
 \tocdepth -1
 \paragraph_separation skip
@@ -82,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
@@ -112,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
@@ -133,7 +162,7 @@ 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
@@ -141,16 +170,54 @@ required, possible colors are 'blue' (default), 'orange', 'green', 'red',
 
 \end_layout
 
-\begin_layout FirstName
-Paul
+\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
 
-\begin_layout FamilyName
-Testman
+\end_inset
+
+
 \end_layout
 
-\begin_layout Title
-Curriculum Vitae
+\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
+
+
+\end_layout
+
+\begin_layout PDF Page Mode
+UseOutlines
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+optional, controls how the PDF will be shown; use either 'UseNone' (only
+ the document), 'UseThumbs' (show thumbnails), 'UseOutlines' (show bookmarks)
+ or 'FullScreen' (open in fullscreen mode).
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -158,55 +225,127 @@ Curriculum Vitae
 status open
 
 \begin_layout Plain Layout
-The following personal entries are optional.
+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
 
-\begin_layout Address
+\end_inset
+
+
+\end_layout
+
+\begin_layout Name
 \begin_inset Argument 1
 status open
 
 \begin_layout Plain Layout
-Teststreet 17
+Paul
 \end_layout
 
 \end_inset
 
-03333 Nicecity -- Switzerland
+Testman
+\end_layout
+
+\begin_layout Title
+Curriculum Vitae
 \begin_inset Note Note
 status collapsed
 
 \begin_layout Plain Layout
+optional
+\end_layout
 
-\series bold
-Note:
-\series default
- Only when you use the 
-\emph on
-classic
-\emph default
- theme, you can add a line break with: 
-\begin_inset ERT
-status collapsed
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Note
+status open
 
 \begin_layout Plain Layout
+The following personal entries are optional.
+\end_layout
 
+\end_inset
 
-\backslash
-protect
-\backslash
 
-\backslash
+\end_layout
+
+\begin_layout Address
+\begin_inset Argument 1
+status open
 
+\begin_layout Plain Layout
+Teststreet
+\begin_inset space ~
+\end_inset
+
+17
 \end_layout
 
 \end_inset
 
 
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+03333
+\begin_inset space ~
+\end_inset
+
+Nicecity
+\end_layout
+
+\end_inset
+
+Switzerland
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+the optional lines are only important for the styles 
+\emph on
+classic
+\emph default
+ and 
+\emph on
+oldstyle
 \end_layout
 
 \end_inset
@@ -214,7 +353,16 @@ protect
 
 \end_layout
 
-\begin_layout Mobile
+\begin_layout Phone
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+mobile
+\end_layout
+
+\end_inset
+
 +43(0)999 888
 \end_layout
 
@@ -222,7 +370,16 @@ protect
 +43(0)999 9999
 \end_layout
 
-\begin_layout Fax
+\begin_layout Phone
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+fax
+\end_layout
+
+\end_inset
+
 +43(0)999 7777
 \end_layout
 
@@ -234,6 +391,67 @@ testman@testman.xx
 www.johndoe.com
 \end_layout
 
+\begin_layout Social
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+twitter
+\end_layout
+
+\end_inset
+
+ptestman
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+currently only 
+\series bold
+twitter
+\series default
+, 
+\series bold
+linkedin
+\series default
+ or 
+\series bold
+github
+\series default
+ is supported as name
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Social
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+linkedin
+\end_layout
+
+\end_inset
+
+ptestman
+\end_layout
+
+\begin_layout Social
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+github
+\end_layout
+
+\end_inset
+
+ptestman
+\end_layout
+
 \begin_layout ExtraInfo
 www.lyx.org
 \end_layout
@@ -309,7 +527,7 @@ Education
 status open
 
 \begin_layout Plain Layout
-2003--2006
+20032006
 \end_layout
 
 \end_inset
@@ -362,7 +580,7 @@ Description
 status open
 
 \begin_layout Plain Layout
-2001--2003
+20012003
 \end_layout
 
 \end_inset
@@ -483,7 +701,7 @@ Experience
 status open
 
 \begin_layout Plain Layout
-2006--
+2006
 \begin_inset Newline newline
 \end_inset
 
@@ -514,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
@@ -528,7 +750,7 @@ banking
 status open
 
 \begin_layout Plain Layout
-2005--2006
+20052006
 \end_layout
 
 \end_inset
@@ -738,7 +960,9 @@ Typography
 
 \end_inset
 
-LaTeX, ConTeXt, Scribus, QuarkXPress
+\SpecialChar LaTeX
+, Con\SpecialChar TeX
+t, Scribus, QuarkXPress
 \end_layout
 
 \begin_layout DoubleItem
@@ -960,15 +1184,41 @@ subsection item
 \end_layout
 
 \begin_layout Section
-Section with your own content
+Section with a column
+\end_layout
+
+\begin_layout Columns
+\begin_inset Flex Column
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+0.5
 \end_layout
 
-\begin_layout CloseSection
+\end_inset
+
+
 \begin_inset Note Note
 status collapsed
 
 \begin_layout Plain Layout
-This ends the section formatting.
+the optional width is a number in the range 0 - 1 and specifies the fraction
+ of the line length; if no width is given all available width is used for
+ the column
+\end_layout
+
+\end_inset
+
+
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+header 1
 \end_layout
 
 \end_inset
@@ -976,10 +1226,95 @@ This ends the section formatting.
 
 \end_layout
 
+\begin_layout Itemize
+Everything can be the content
+\end_layout
+
+\begin_layout Plain Layout
+\noindent
+\begin_inset Tabular
+<lyxtabular version="3" rows="1" columns="1">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+even a table
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ paragraph alignments are not allowed, so e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+centering the table is not possible
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Column
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+header 2
+\end_layout
+
+\end_inset
+
+the second column
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Section with your own content
+\end_layout
+
 \begin_layout Standard
 Your content here, inside an unformatted environment.
- You can use here e.g.
- mathematics 
+ You can use here e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+mathematics 
 \begin_inset Formula 
 \[
 E=mc^{2}
@@ -992,7 +1327,7 @@ put some table or figure, etc.
 
 \begin_layout EmptySection
 \begin_inset Note Note
-status collapsed
+status open
 
 \begin_layout Plain Layout
 Creates a section without a section heading.
@@ -1001,6 +1336,16 @@ Creates a section without a section heading.
 \end_inset
 
 
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+Keep entries with green labels empty!
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Item
@@ -1016,15 +1361,14 @@ Now
 Back to moderncv layout, without making a new section
 \end_layout
 
-\begin_layout CloseSection
-
-\end_layout
-
 \begin_layout Standard
 You can use bibitems:
 \end_layout
 
-\begin_layout --Separator--
+\begin_layout Standard
+\begin_inset Separator plain
+\end_inset
+
 
 \end_layout
 
@@ -1104,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
@@ -1119,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
@@ -1129,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
@@ -1208,6 +1555,16 @@ generates the letter title; must be behind the letter closing and the enclosing
 \end_inset
 
 
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+Keep entries with green labels empty!
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -1268,6 +1625,15 @@ e=\lim_{n\to\infty}\left(1+\frac{1}{n}\right)^{n}
 \end_layout
 
 \begin_layout MakeLetterClosing
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+Keep entries with green labels empty!
+\end_layout
+
+\end_inset
+
 
 \end_layout