From 221b6a8452d4741445ae35961f48e9d0d51a31b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Tue, 5 Jun 2007 22:07:15 +0000 Subject: [PATCH] clean up the CV document class layouts git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18686 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/layouts/europecv.layout | 75 +++++-------------------------------- lib/layouts/moderncv.layout | 72 +++-------------------------------- 2 files changed, 16 insertions(+), 131 deletions(-) diff --git a/lib/layouts/europecv.layout b/lib/layouts/europecv.layout index 985bbef0a9..ba1acab63d 100644 --- a/lib/layouts/europecv.layout +++ b/lib/layouts/europecv.layout @@ -62,19 +62,9 @@ Style Item End Style BulletedItem - Margin Dynamic - LatexType Command + CopyStyle Item LatexName ecvitem* - OptionalArgs 1 - ParSkip 0.4 - Align Block - LabelSep xx - LabelType Static LabelString "Bulleted Item:" - LabelFont - Series Bold - Color Blue - EndFont End Style Begin @@ -82,7 +72,7 @@ Style Begin LatexType Command LatexName begin{europecv} KeepEmpty 1 - BottomSep 1 + BottomSep 1 ParSkip 0.4 Align Block LabelSep xx @@ -95,19 +85,10 @@ Style Begin End Style PersonalInfo - Margin Dynamic - LatexType Command + CopyStyle Begin LatexName ecvpersonalinfo{} - KeepEmpty 1 - ParSkip 0.4 - Align Block - LabelSep xx - LabelType Static + BottomSep 0 LabelString "Personal Info" - LabelFont - Series Bold - Color Green - EndFont End Style MotherTongue @@ -127,65 +108,29 @@ Style MotherTongue End Style LangHeader - Margin Dynamic - LatexType Command + CopyStyle MotherTongue LatexName ecvlanguageheader - ParSkip 0.4 - Align Block - LabelSep xx - LabelType Static + OptionalArgs 0 LabelString "Language Header:" - LabelFont - Series Bold - Color Blue - EndFont End Style Language - Margin Dynamic - LatexType Command + CopyStyle MotherTongue LatexName ecvlanguage - OptionalArgs 1 - ParSkip 0.4 - Align Block - LabelSep xx - LabelType Static LabelString "Language:" - LabelFont - Series Bold - Color Blue - EndFont End Style LastLanguage - Margin Dynamic - LatexType Command + CopyStyle MotherTongue LatexName ecvlastlanguage - OptionalArgs 1 - ParSkip 0.4 - Align Block - LabelSep xx - LabelType Static LabelString "Last Language:" - LabelFont - Series Bold - Color Blue - EndFont End Style LangFooter - Margin Dynamic - LatexType Command + CopyStyle MotherTongue LatexName ecvlanguagefooter - ParSkip 0.4 - Align Block - LabelSep xx - LabelType Static + OptionalArgs 0 LabelString "Language Footer:" - LabelFont - Series Bold - Color Blue - EndFont End Style End diff --git a/lib/layouts/moderncv.layout b/lib/layouts/moderncv.layout index df9bb94bb4..0c53fc6b60 100644 --- a/lib/layouts/moderncv.layout +++ b/lib/layouts/moderncv.layout @@ -79,83 +79,33 @@ Style Item End Style ListItem - Margin Dynamic - LatexType Command + CopyStyle Item LatexName cvlistitem - OptionalArgs 1 - ParSkip 0.4 - Align Block - LabelSep xx - LabelType Static LabelString "List Item:" - LabelFont - Series Bold - Color Blue - EndFont End Style DoubleItem - Margin Dynamic - LatexType Command + CopyStyle Item LatexName cvlistdoubleitem - OptionalArgs 1 - ParSkip 0.4 - Align Block - LabelSep xx - LabelType Static LabelString "Double Item:" - LabelFont - Series Bold - Color Blue - EndFont End Style Space - Margin Dynamic - LatexType Command + CopyStyle Item LatexName vspace* - OptionalArgs 1 - ParSkip 0.4 - Align Block - LabelSep xx - LabelType Static LabelString "Space:" - LabelFont - Series Bold - Color Blue - EndFont End Style Language - Margin Dynamic - LatexType Command + CopyStyle Item LatexName cvlanguage - OptionalArgs 1 - ParSkip 0.4 - Align Block - LabelSep xx - LabelType Static LabelString "Language:" - LabelFont - Series Bold - Color Blue - EndFont End Style Computer - Margin Dynamic - LatexType Command + CopyStyle Item LatexName cvcomputer - OptionalArgs 1 - ParSkip 0.4 - Align Block - LabelSep xx - LabelType Static LabelString "Computer:" - LabelFont - Series Bold - Color Blue - EndFont End Style EmptySection @@ -175,19 +125,9 @@ Style EmptySection End Style CloseSection - Margin Dynamic - LatexType Command + CopyStyle EmptySection LatexName closesection{} - KeepEmpty 1 - ParSkip 0.4 - Align Block - LabelSep xx - LabelType Static LabelString "Close Section" - LabelFont - Series Bold - Color Green - EndFont End Style Bibliography