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

View File

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