commit e1e9b8e6fba85bfc8165d6a5a1e06016f71213fb
Author: Uwe Stöhr <[email protected]>
Date:   Mon Oct 26 15:34:58 2015 +0100

    modernCV.lyx: backport recent changes
    
    - get rid of all preamble code except of one comment
    - add hints how to customize the layout via LyX's document settings

diff --git a/lib/examples/modernCV.lyx b/lib/examples/modernCV.lyx
index 7385bfd..bcc5779 100644
--- a/lib/examples/modernCV.lyx
+++ b/lib/examples/modernCV.lyx
@@ -4,13 +4,8 @@
 \begin_header
 \textclass moderncv
 \begin_preamble
-%\renewcommand{\familydefault}{\sfdefault}    % to set the default font; use 
'\sfdefault' for the default sans serif font, '\rmdefault' for the default 
roman one, or any tex font name
-%\nopagenumbers{}                             % uncomment to suppress 
automatic page numbering for CVs longer than one page
-
-% adjust the page margins
-\usepackage[scale=0.75]{geometry}
-%\setlength{\hintscolumnwidth}{3cm}           % if you want to change the 
width of the column with the dates
-%\setlength{\makecvtitlenamewidth}{10cm}      % for the 'classic' style, if 
you want to force the width allocated to your name and avoid line breaks. be 
careful though, the length is normally calculated to avoid any overlap with 
your personal info; use this at your own typographical risks...
+% uncomment if you want to change the width of the column with the dates:
+%\setlength{\hintscolumnwidth}{3cm} 
 \end_preamble
 \use_default_options false
 \maintain_unincluded_children false
@@ -37,7 +32,7 @@
 \spacing single
 \use_hyperref false
 \papersize a4paper
-\use_geometry false
+\use_geometry true
 \use_package amsmath 1
 \use_package amssymb 1
 \use_package cancel 0
@@ -61,6 +56,8 @@
 \shortcut idx
 \color #008000
 \end_index
+\leftmargin 2.5cm
+\rightmargin 2.5cm
 \secnumdepth 0
 \tocdepth -1
 \paragraph_separation skip
@@ -83,9 +80,9 @@
 status open
 
 \begin_layout Plain Layout
-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 
+The moderncv class offers lots of customization possibilities; one is explained
+ in the preamble of this document; for more information look at the 
documentatio
+n of the LaTeX-package 
 \series bold
 moderncv
 \series default
@@ -118,8 +115,8 @@ casual
 status open
 
 \begin_layout Plain Layout
-required, possible styles are 'casual' (default), 'classic', 'oldstyle'
- and 'banking'
+required, possible styles are 'casual' (default), 'classic', 'fancy' ('fancy'
+ requires moderncv 2.0), 'oldstyle' and 'banking'
 \end_layout
 
 \end_inset
@@ -134,7 +131,7 @@ status open
 
 \begin_layout Plain Layout
 required, possible colors are 'blue' (default), 'orange', 'green', 'red',
- 'purple', 'grey' and 'black'
+ 'purple', 'burgundy' ('burgundy' requires moderncv 2.0), 'grey' and 'black'
 \end_layout
 
 \end_inset
@@ -158,6 +155,52 @@ optional, controls how the PDF will be shown; use either 
'UseNone' (only
 
 \end_layout
 
+\begin_layout Standard
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+General hints:
+\end_layout
+
+\begin_layout Itemize
+To suppress the page numbering, enable the option 
+\family sans
+Suppress default date on front page
+\family default
+ in the document settings under 
+\family sans
+Document Class.
+\end_layout
+
+\begin_layout Itemize
+The default page margins are left and right 3.5
+\begin_inset space \thinspace{}
+\end_inset
+
+cm.
+ To get smaller ones, use the 
+\family sans
+Page Margins
+\family default
+ section of the document settings like it is done in this example.
+\end_layout
+
+\begin_layout Itemize
+To get for example sans-serif fonts for the whole CV, set them as 
+\family sans
+Default Family
+\family default
+ in the document settings under 
+\family sans
+Fonts.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout FirstName
 Paul
 \end_layout
diff --git a/status.21x b/status.21x
index a9fc220..7149856 100644
--- a/status.21x
+++ b/status.21x
@@ -52,6 +52,8 @@ What's new
 
 - Updated example file for PDF-comments.
 
+- Improved example file for the moderncv document class.
+
 
 * BUILD/INSTALLATION
 

Reply via email to