From: Uwe Stöhr Date: Sun, 17 Jun 2007 00:21:35 +0000 (+0000) Subject: moderncv: update layout and example to version 0.6 of moderncv.layout X-Git-Tag: 1.6.10~9358 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6b7436766c01feb549ab28ce1d4caeaa70ee24ab;p=features.git 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 --- diff --git a/lib/examples/modernCV.lyx b/lib/examples/modernCV.lyx index b4c9e19b80..fa0a5f50da 100644 --- a/lib/examples/modernCV.lyx +++ b/lib/examples/modernCV.lyx @@ -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 diff --git a/lib/layouts/moderncv.layout b/lib/layouts/moderncv.layout index 0c53fc6b60..5e96924b1c 100644 --- a/lib/layouts/moderncv.layout +++ b/lib/layouts/moderncv.layout @@ -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