]> git.lyx.org Git - features.git/commitdiff
moderncv: update layout and example to version 0.6 of moderncv.layout
authorUwe Stöhr <uwestoehr@web.de>
Sun, 17 Jun 2007 00:21:35 +0000 (00:21 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sun, 17 Jun 2007 00:21:35 +0000 (00:21 +0000)
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

lib/examples/modernCV.lyx
lib/layouts/moderncv.layout

index b4c9e19b8087190e573684a99d5a1296622b31e4..fa0a5f50da5bcaf2df507d4479dd4dfef517bebb 100644 (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
index 0c53fc6b6074c2ccc5fa103e83b46d82d2e93184..5e96924b1c4a3ad75d3e6b74505a6edeb7e70893 100644 (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