Author: uwestoehr
Date: Sat Jan 21 13:17:39 2012
New Revision: 40643
URL: http://www.lyx.org/trac/changeset/40643

Log:
- moderncv.layout: add missing separator style
- modernCV.lyx: set page size to A4, correct subsection entry, use a separator 
modify preamble to be compliant with modernCV 0.16 (fixes #7991)

Modified:
   lyx-devel/branches/BRANCH_2_0_X/lib/examples/modernCV.lyx
   lyx-devel/branches/BRANCH_2_0_X/lib/layouts/moderncv.layout
   lyx-devel/branches/BRANCH_2_0_X/status.20x

Modified: lyx-devel/branches/BRANCH_2_0_X/lib/examples/modernCV.lyx
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/lib/examples/modernCV.lyx   Sat Jan 21 
13:12:17 2012        (r40642)
+++ lyx-devel/branches/BRANCH_2_0_X/lib/examples/modernCV.lyx   Sat Jan 21 
13:17:39 2012        (r40643)
@@ -4,6 +4,9 @@
 \begin_header
 \textclass moderncv
 \begin_preamble
+% adjust the page margins
+\usepackage[scale=0.75]{geometry}
+
 \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)
@@ -65,7 +68,7 @@
 \paperfontsize 12
 \spacing single
 \use_hyperref false
-\papersize default
+\papersize a4paper
 \use_geometry false
 \use_amsmath 1
 \use_esint 1
@@ -81,8 +84,8 @@
 \shortcut idx
 \color #008000
 \end_index
-\secnumdepth 3
-\tocdepth 3
+\secnumdepth 0
+\tocdepth -1
 \paragraph_separation skip
 \defskip medskip
 \quotes_language english
@@ -817,8 +820,8 @@
 subsection
 \end_layout
 
-\begin_layout Standard
-subsection text
+\begin_layout ListItem
+subsection item
 \end_layout
 
 \begin_layout Section
@@ -898,6 +901,10 @@
 You can use bibitems:
 \end_layout
 
+\begin_layout --Separator--
+
+\end_layout
+
 \begin_layout Bibliography
 \labelwidthstring References
 \begin_inset CommandInset bibitem

Modified: lyx-devel/branches/BRANCH_2_0_X/lib/layouts/moderncv.layout
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/lib/layouts/moderncv.layout Sat Jan 21 
13:12:17 2012        (r40642)
+++ lyx-devel/branches/BRANCH_2_0_X/lib/layouts/moderncv.layout Sat Jan 21 
13:17:39 2012        (r40643)
@@ -170,3 +170,21 @@
        EndFont
 End
 
+Style --Separator--
+       KeepEmpty             1
+       Margin                Dynamic
+       LatexType             Paragraph
+       LatexName             dummy
+       ParIndent             MM
+       Align                 Block
+       LabelType             Static
+       LabelString           "--- Separate Environment ---"
+       LabelFont
+         Family              Roman
+         Series              Medium
+         Size                Normal
+         Color               Blue
+       EndFont
+       HTMLLabel             NONE
+End
+

Modified: lyx-devel/branches/BRANCH_2_0_X/status.20x
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/status.20x  Sat Jan 21 13:12:17 2012        
(r40642)
+++ lyx-devel/branches/BRANCH_2_0_X/status.20x  Sat Jan 21 13:17:39 2012        
(r40643)
@@ -204,6 +204,9 @@
 
 - Fixed description in the example file multicol.lyx (bug 7953).
 
+- Fixed example file modernCV.lyx: corrected subsection example, added a
+  separator, set the page size to A4 (bug 7991).
+
 
 * ADVANCED FIND AND REPLACE
 

Reply via email to