X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fmoderncv.layout;h=212151e6caaae99cd6418633f3a5a1cee73bb30c;hb=b6a041643db81094a24c7f80813d0edbb6e5f70e;hp=7ee7c10a9f2c219cac428d06301339a075977755;hpb=9e5eebc14cd06f58000a4bd1903f157b65a3ab19;p=lyx.git diff --git a/lib/layouts/moderncv.layout b/lib/layouts/moderncv.layout index 7ee7c10a9f..212151e6ca 100644 --- a/lib/layouts/moderncv.layout +++ b/lib/layouts/moderncv.layout @@ -1,16 +1,20 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass{curriculum vitae (modern)} +# \DeclareLaTeXClass[moderncv,color.sty,fancyhdr.sty,hyperref.sty,ifpdf.sty,marvosym.sty]{Modern CV} +# \DeclareCategory{Curricula Vitae} # modern CV textclass definition file. # Author : Uwe Stöhr (uwestoehr@web.de) # General textclass parameters -Format 6 +Format 40 Columns 1 Sides 1 SecNumDepth -1 TocDepth -1 +Provides hyperref 1 +Provides url 1 + # Standard style definition Style Standard @@ -25,6 +29,7 @@ Style Standard End Input stdcounters.inc +Input stdinsets.inc Style Section Margin Dynamic @@ -43,6 +48,7 @@ Style Section Family Sans Series Bold EndFont + TocLevel 1 End Style Subsection @@ -55,13 +61,17 @@ Style Subsection Family Sans Series Medium EndFont + TocLevel 2 End Style Entry Margin Dynamic LatexType Command LatexName cventry - OptionalArgs 1 + Argument 1 + LabelString "Entry Option" + Tooltip "Optional argument to the cventry command" + EndArgument ParSkip 0.4 Align Block LabelSep xx @@ -77,7 +87,10 @@ Style Item Margin Dynamic LatexType Command LatexName cvitem - OptionalArgs 1 + Argument 1 + LabelString "Item Option" + Tooltip "Optional argument to the cvitem command" + EndArgument ParSkip 0.4 Align Block LabelSep xx @@ -164,3 +177,21 @@ Style Bibliography 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 +