moderncv: update layout and example to version 0.6 of moderncv.layout

This means:
 - added subsection style in moderncv.layout
 (I had to promise to JMarc when I added the moderncv support to add this as soon as the new noderncv version is out.)
 - actualize preamble of modernCV.lyx to make it compile with the new version
 - better explanation of customization possibilities in the preamble of modernCV.lyx

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18808 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-06-17 00:21:35 +00:00
parent 05e03cf924
commit 6b7436766c
2 changed files with 54 additions and 12 deletions

View File

@ -1,28 +1,45 @@
#LyX 1.5.0beta2 created this file. For more info see http://www.lyx.org/ #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
\lyxformat 263 \lyxformat 274
\begin_document \begin_document
\begin_header \begin_header
\textclass moderncv \textclass moderncv
\begin_preamble \begin_preamble
\moderncvstyle{classic} \moderncvtheme[blue]{classic}
% possible styles are "classic", "casual", "'nocolor" (black & white), and "roman" (for roman fonts instead of sans serif fonts) % 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} \firstname{Paul}
% required
\familyname{Testman} \familyname{Testman}
% optional, remove the line if not wanted
\title{Curriculum Vitae} \title{Curriculum Vitae}
\address{Teststreet\\ % optional
03333 Nicecity\\ % \address{street and number}{postcode city}
Switzerland} % '\\' adds a line break
\address{Teststreet 17}{03333 Nicecity\\ Switzerland}
% optional
\phone{+43(0)999 9999} \phone{+43(0)999 9999}
% optional
\mobile{+43(0)999 888}
% optional
\fax{+43(0)999 7777}
% optional
\email{testman@testman.xx} \email{testman@testman.xx}
% optional
\extrainfo{www.lyx.org} \extrainfo{www.lyx.org}
% optional
% \photo[height]{name}
% 'height' is the height the picture is be resized to
% 'name' is the name of the picture file
\photo[64pt]{CV-image} \photo[64pt]{CV-image}
\quote{You only live twice.} % optional
\quote{"You only live twice." (an optional quote)}
\AtBeginDocument{\maketitle} \AtBeginDocument{\maketitle}
\end_preamble \end_preamble
@ -84,8 +101,13 @@ Note:
status open status open
\begin_layout Standard \begin_layout Standard
The moderncv-class offers lots of customization possibilities; to find out The moderncv class offers lots of customization possibilities; some are
more, look at its documentation. 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_layout
\end_inset \end_inset
@ -304,7 +326,7 @@ status collapsed
\end_inset \end_inset
Maintainer of OpenSource projects Maintainer of Open Source projects
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -573,7 +595,7 @@ status collapsed
\end_inset \end_inset
Matlab, Autocad, Abaqus Matlab, AutoCAD, Abaqus
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -738,6 +760,14 @@ status collapsed
item. item.
\end_layout \end_layout
\begin_layout Subsection
subsection
\end_layout
\begin_layout Standard
subsection text
\end_layout
\begin_layout Section \begin_layout Section
Section with your own content Section with your own content
\end_layout \end_layout

View File

@ -46,6 +46,18 @@ Style Section
EndFont EndFont
End End
Style Subsection
CopyStyle Section
LatexName subsection
TopSep 0.9
BottomSep 0
ParSep 0.5
Font
Family Sans
Series Medium
EndFont
End
Style Entry Style Entry
Margin Dynamic Margin Dynamic
LatexType Command LatexType Command