]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/modernCV.lyx
PDF-comment.lyx: describe a further feature
[lyx.git] / lib / examples / modernCV.lyx
index b945153e8660c094fb36850b088d61b929148a6a..7385bfde91b52adf63197b6f29d55becaf233c9d 100644 (file)
@@ -1,13 +1,9 @@
 #LyX 2.1 created this file. For more info see http://www.lyx.org/
-\lyxformat 446
+\lyxformat 474
 \begin_document
 \begin_header
 \textclass moderncv
 \begin_preamble
-% required
-\moderncvstyle{casual} % possible styles are 'casual' (default), 'classic', 'oldstyle' and 'banking'
-\moderncvcolor{blue} % possible colors are 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'
-
 %\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
 
 \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...
-
-% required
-\firstname{Paul}
-% required
-\familyname{Testman}
-
-% optional, remove the line if not wanted
-\title{Curriculum Vitae}
-
-% optional
-% \address{street and number}{postcode city}
-\address{Teststreet 17}{03333 Nicecity -- Switzerland}
-
-% optional
-\mobile{+43(0)999 888}
-% optional
-\phone{+43(0)999 9999}
-% optional
-\fax{+43(0)999 7777}
-% optional
-\email{testman@testman.xx}
-% optional
-\homepage{www.johndoe.com}
-% optional
-\extrainfo{www.lyx.org}
-
-% optional
-% \photo[height][thickness]{name}
-% 'height' is the height the picture is resized to
-% 'thickness' is the thickness of the surrounding frame
-% 'name' is the name of the picture file
-\photo[64pt][0.4pt]{CV-image}
-
-% optional
-\quote{"You only live twice." (an optional quote)}
 \end_preamble
 \use_default_options false
 \maintain_unincluded_children false
@@ -70,7 +31,7 @@
 \graphics default
 \default_output_format default
 \output_sync 0
-\bibtex_command default
+\bibtex_command bibtex
 \index_command default
 \paperfontsize 12
 \spacing single
 \use_geometry false
 \use_package amsmath 1
 \use_package amssymb 1
+\use_package cancel 0
 \use_package esint 1
 \use_package mathdots 1
 \use_package mathtools 0
 \use_package mhchem 1
+\use_package stackrel 0
+\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
 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
-Note:
+moderncv
 \series default
- The personal data like your name, image, address, etc.
- are set in the document preamble.
+:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Flex URL
+status open
+
+\begin_layout Plain Layout
+
+http://mirrors.ctan.org/macros/latex/contrib/moderncv/examples/template.tex
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout CVStyle
+casual
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+required, possible styles are 'casual' (default), 'classic', 'oldstyle'
+ and 'banking'
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout CVColor
+blue
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+required, possible colors are 'blue' (default), 'orange', 'green', 'red',
+ 'purple', 'grey' and 'black'
+\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 FirstName
+Paul
+\end_layout
+
+\begin_layout FamilyName
+Testman
+\end_layout
+
+\begin_layout Title
+Curriculum Vitae
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+optional
 \end_layout
 
 \end_inset
@@ -137,23 +185,130 @@ 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 
+The following personal entries are optional.
+\end_layout
+
+\end_inset
+
+
+\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
+
+
+\end_layout
+
+\begin_layout Mobile
++43(0)999 888
+\end_layout
+
+\begin_layout Phone
++43(0)999 9999
+\end_layout
+
+\begin_layout Fax
++43(0)999 7777
+\end_layout
+
+\begin_layout Email
+testman@testman.xx
+\end_layout
+
+\begin_layout Homepage
+www.johndoe.com
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The Social style can be enabled if 
 \series bold
 moderncv
 \series default
-:
-\begin_inset Newline newline
+ version 1.5.0 or newer is installed.
+\end_layout
+
 \end_inset
 
 
-\begin_inset Flex URL
+\end_layout
+
+\begin_layout Social
+\begin_inset Argument 1
 status open
 
 \begin_layout Plain Layout
+twitter
+\end_layout
 
-http://mirrors.ctan.org/macros/latex/contrib/moderncv/examples/template.tex
+\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
@@ -161,9 +316,78 @@ http://mirrors.ctan.org/macros/latex/contrib/moderncv/examples/template.tex
 
 \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
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout ExtraInfo
+www.lyx.org
+\end_layout
+
+\begin_layout Photo
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+64pt
+\end_layout
+
+\end_inset
+
+
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+0.4pt
+\end_layout
+
+\end_inset
+
+CV-image
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The name of the image file.
+ The first argument is the height the photo is resized to, the second one
+ the thickness of the surrounding frame
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Quote
+"You only live twice." (an optional quote)
 \end_layout
 
 \begin_layout MakeCVtitle
@@ -392,6 +616,24 @@ 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
+ theme, no linebreaks are allowed in entries.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Entry
@@ -811,7 +1053,7 @@ labelitemi~}
 
 
 \begin_inset Note Note
-status collapsed
+status open
 
 \begin_layout Plain Layout
 optional, resets the symbol for lists to the default one
@@ -831,15 +1073,115 @@ subsection item
 \end_layout
 
 \begin_layout Section
-Section with your own content
+Section with a column
 \end_layout
 
-\begin_layout CloseSection
+\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
+
+\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 rotate="0" 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
@@ -847,10 +1189,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}
@@ -863,7 +1216,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.
@@ -872,6 +1225,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
@@ -887,10 +1250,6 @@ 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
@@ -904,7 +1263,15 @@ You can use bibitems:
 status open
 
 \begin_layout Plain Layout
-to redefine the heading string ("Publications"), uncomment this:
+To redefine the heading string (
+\begin_inset Quotes eld
+\end_inset
+
+Publications
+\begin_inset Quotes erd
+\end_inset
+
+), uncomment this:
 \end_layout
 
 \end_inset
@@ -958,7 +1325,6 @@ optional, numbers the bibliography items
 \end_layout
 
 \begin_layout Bibliography
-\labelwidthstring References
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "latexguide"
@@ -975,7 +1341,6 @@ A Guide to LaTeX Fourth Edition.
 \end_layout
 
 \begin_layout Bibliography
-\labelwidthstring References
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
 key "latexbook"
@@ -1073,6 +1438,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
@@ -1133,6 +1508,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