]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/modernCV.lyx
Quick review of cs docs.
[lyx.git] / lib / examples / modernCV.lyx
index cb9f1fd4c46aa153c7085f48d0cbfb30edcd3813..51a30690f93bffbd7f6f0052c12d4c1d33e708d1 100644 (file)
@@ -1,45 +1,41 @@
-#LyX 2.1 created this file. For more info see http://www.lyx.org/
-\lyxformat 459
+#LyX 2.3 created this file. For more info see http://www.lyx.org/
+\lyxformat 541
 \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
+\use_microtype false
+\use_dash_ligatures false
 \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 +44,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
 \shortcut idx
 \color #008000
 \end_index
+\leftmargin 2.5cm
+\rightmargin 2.5cm
 \secnumdepth 0
 \tocdepth -1
 \paragraph_separation skip
 \defskip medskip
-\quotes_language english
+\is_math_indent 0
+\quotes_style english
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
@@ -82,9 +81,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 +111,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 +165,103 @@ 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
+
+
+\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
+\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
@@ -141,16 +269,31 @@ required, possible colors are 'blue' (default), 'orange', 'green', 'red',
 
 \end_layout
 
-\begin_layout FirstName
+\begin_layout Name
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
 Paul
 \end_layout
 
-\begin_layout FamilyName
+\end_inset
+
 Testman
 \end_layout
 
 \begin_layout Title
 Curriculum Vitae
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+optional
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -171,15 +314,58 @@ The following personal entries are optional.
 status open
 
 \begin_layout Plain Layout
-Teststreet 17
+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
 
-03333 Nicecity -- Switzerland
+
+\end_layout
+
+\begin_layout Phone
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+mobile
 \end_layout
 
-\begin_layout Mobile
+\end_inset
+
 +43(0)999 888
 \end_layout
 
@@ -187,7 +373,16 @@ Teststreet 17
 +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
 
@@ -199,6 +394,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
@@ -239,7 +495,7 @@ The name of the image file.
 \end_layout
 
 \begin_layout Quote
-"You only live twice." (an optional quote)
+“You only live twice.“ (an optional quote)
 \end_layout
 
 \begin_layout MakeCVtitle
@@ -274,7 +530,7 @@ Education
 status open
 
 \begin_layout Plain Layout
-2003--2006
+20032006
 \end_layout
 
 \end_inset
@@ -327,7 +583,7 @@ Description
 status open
 
 \begin_layout Plain Layout
-2001--2003
+20012003
 \end_layout
 
 \end_inset
@@ -448,7 +704,7 @@ Experience
 status open
 
 \begin_layout Plain Layout
-2006--
+2006
 \begin_inset Newline newline
 \end_inset
 
@@ -468,6 +724,28 @@ Maintainer of Open Source projects
 \end_inset
 
 Maintainer of the xxx documentation
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ 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
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Entry
@@ -475,7 +753,7 @@ Maintainer of the xxx documentation
 status open
 
 \begin_layout Plain Layout
-2005--2006
+20052006
 \end_layout
 
 \end_inset
@@ -685,7 +963,9 @@ Typography
 
 \end_inset
 
-LaTeX, ConTeXt, Scribus, QuarkXPress
+\SpecialChar LaTeX
+, Con\SpecialChar TeX
+t, Scribus, QuarkXPress
 \end_layout
 
 \begin_layout DoubleItem
@@ -862,6 +1142,7 @@ Item 4, see
 \begin_inset CommandInset citation
 LatexCommand cite
 key "Jobs95"
+literal "true"
 
 \end_inset
 
@@ -907,15 +1188,115 @@ 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
+
+
+\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
@@ -923,10 +1304,21 @@ This ends the section formatting.
 
 \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}
@@ -939,7 +1331,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.
@@ -948,6 +1340,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
@@ -963,15 +1365,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
 
@@ -1045,13 +1446,15 @@ optional, numbers the bibliography items
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "latexguide"
+literal "true"
 
 \end_inset
 
 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
@@ -1061,12 +1464,14 @@ A Guide to LaTeX Fourth Edition.
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "latexbook"
+literal "true"
 
 \end_inset
 
 Leslie Lamport: 
 \emph on
-LaTeX: A Document Preparation System.
+\SpecialChar LaTeX
+: A Document Preparation System.
 
 \emph default
  Addison-Wesley, second edition, 1994
@@ -1076,7 +1481,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
@@ -1155,6 +1561,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
@@ -1215,6 +1631,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