From b3186eafaae340261eaf4ef0454fc0f58b78bcff Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Fri, 19 Nov 2010 01:39:31 +0000 Subject: [PATCH] modernCV.lyx: - change position of command \maketitle (the \AtBeginDocument call doesn't work anymore in recent version of modernCV) - use vertical space inset instead of the "space" environment (that I once introduced in the modernCV layout when LyX was not able to handle all sorts of custom vertical spaces) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36394 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/examples/modernCV.lyx | 46 +++++++++++++++++++++++++++++++-------- 1 file changed, 37 insertions(+), 9 deletions(-) diff --git a/lib/examples/modernCV.lyx b/lib/examples/modernCV.lyx index a6f00fb2d1..48aca46acd 100644 --- a/lib/examples/modernCV.lyx +++ b/lib/examples/modernCV.lyx @@ -1,8 +1,7 @@ -#LyX 1.6.0 created this file. For more info see http://www.lyx.org/ +#LyX 1.6.8 created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header -\use_default_options false \textclass moderncv \begin_preamble \moderncvtheme[blue]{classic} @@ -41,9 +40,8 @@ % optional \quote{"You only live twice." (an optional quote)} - -\AtBeginDocument{\maketitle} \end_preamble +\use_default_options false \language english \inputencoding auto \font_roman default @@ -54,6 +52,7 @@ \font_osf false \font_sf_scale 100 \font_tt_scale 100 + \graphics default \paperfontsize 12 \spacing single @@ -75,8 +74,8 @@ \paperpagestyle default \tracking_changes false \output_changes false -\author "" -\author "" +\author "" +\author "" \end_header \begin_body @@ -116,6 +115,32 @@ moderncv \end_inset +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +maketitle +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Plain Layout +outputs the title part like the address +\end_layout + +\end_inset + + \end_layout \begin_layout Section @@ -261,13 +286,16 @@ status collapsed Title of the thesis \end_layout -\begin_layout Space -0.5cm +\begin_layout Standard +\begin_inset VSpace -0.5cm +\end_inset + + \begin_inset Note Note status open \begin_layout Plain Layout -Inserts vertical space; negative values are allowed. +add negative or positive space as you like \end_layout \end_inset -- 2.39.2