From: Uwe Stöhr Date: Mon, 26 Oct 2015 14:30:15 +0000 (+0100) Subject: modernCV.lyx: remove more preamble code X-Git-Tag: 2.2.0alpha1~136 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=fb8f63fbe9432bd62fbbd27f946676c21e01cf36;p=features.git modernCV.lyx: remove more preamble code - add description how things can be adjusted the LyX way --- diff --git a/lib/examples/modernCV.lyx b/lib/examples/modernCV.lyx index d99de985e0..d732cb3c55 100644 --- a/lib/examples/modernCV.lyx +++ b/lib/examples/modernCV.lyx @@ -5,10 +5,6 @@ \origin unavailable \textclass moderncv \begin_preamble -% to adjust the page margins -% scale=1.0 leads to no margins and scale=0.1 would be huge margins -\usepackage[scale=0.75]{geometry} - % uncomment if you want to change the width of the column with the dates: %\setlength{\hintscolumnwidth}{3cm} \end_preamble @@ -37,7 +33,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 +57,8 @@ \shortcut idx \color #008000 \end_index +\leftmargin 2.5cm +\rightmargin 2.5cm \secnumdepth 0 \tocdepth -1 \paragraph_separation skip @@ -83,9 +81,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 \SpecialChar LaTeX +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 \SpecialChar LaTeX -package \series bold moderncv @@ -120,7 +118,7 @@ status open \begin_layout Plain Layout required, possible styles are 'casual' (default), 'classic', 'fancy' ('fancy' - requires modernCV 2.0), 'oldstyle' and 'banking' + requires moderncv 2.0), 'oldstyle' and 'banking' \end_layout \end_inset @@ -135,7 +133,7 @@ status open \begin_layout Plain Layout required, possible colors are 'blue' (default), 'orange', 'green', 'red', - 'purple', 'burgundy' ('burgundy' requires modernCV 2.0), 'grey' and 'black' + 'purple', 'burgundy' ('burgundy' requires moderncv 2.0), 'grey' and 'black' \end_layout \end_inset @@ -157,6 +155,52 @@ optional, controls how the PDF will be shown; use either 'UseNone' (only \end_inset +\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