X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fsvmult.layout;h=7723c9d5a960768c9d678da52861ea98072b62ad;hb=bab184e49e4420ad5277eacd45f2447727f55bbd;hp=594ea99bf4f00e71c6439af054717fef98eebe23;hpb=a170dc5b36a29629e5a28375dd165caeffd627f9;p=lyx.git diff --git a/lib/layouts/svmult.layout b/lib/layouts/svmult.layout index 594ea99bf4..7723c9d5a9 100644 --- a/lib/layouts/svmult.layout +++ b/lib/layouts/svmult.layout @@ -1,27 +1,22 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[svmult,natbib.sty]{book (Springer svmult)} +# \DeclareLaTeXClass[svmult,natbib.sty]{Springer Contributed Books (svmult)} +# \DeclareCategory{Books} # Author: Koji Yokota # adapted: Marcus Kriele and Uwe Stöhr (April 2011) # # Supports: SVMULT DOCUMENT CLASS -- version 5.4 (25-Jun-07) # Class and style files and templates are found at: -# http://www.springer.com/authors +# http://wiki.lyx.org/Examples/Springer # -Format 35 - +Format 80 Input svcommon.inc ClassOptions - FontSize "" + FontSize "" End NoStyle Acknowledgements -NoCounter chapter - -#Counter svmultlsti -# LabelString "Contributor \Roman{svmultlsti}:" -#End # Additional headings @@ -32,61 +27,70 @@ NoCounter chapter # LeftMargin "TOC depth (provide a number):xxx" # LabelString "TOC depth (provide a number):" # Preamble -# \newcommand{\svmulttoc}[1]{\setcounter{minitocdepth}{#1}\dominitoc} +# \newcommand{\svmulttoc}[1]{\setcounter{minitocdepth}{#1}\dominitoc} # EndPreamble #End - Style Title* CopyStyle Title LatexName title* - LabelString "Title*: " + LabelString "Title*:" LabelSep "xxx" LabelType Static Margin First_Dynamic HTMLTitle true LabelFont - Color Blue + Color Blue EndFont End +Style Title + CopyStyle Chapter + Category FrontMatter + LatexName title + TopSep 1 + TocLevel 1 + InTitle 0 + Align Left + AlignPossible Block, Center, Left, Right + LabelFont + Size Largest + Family Sans + EndFont + TextFont + Family Sans + Series Bold + EndFont +End -#Style Title -# TopSep 2 -# LabelString "Chapter \thechapter" -# LabelType Counter -# LabelCounter chapter -# TocLevel 1 -# InTitle 0 -#End - - -#Style Contributors -# CopyStyle Foreword -# LabelString "List of Contributors" -# LatexName contributors -#End - -#Style List_of_Abbreviations_&_Symbols_[Deprecated] -# InTitle 1 -# CopyStyle Description -# LatexName abbrsymblist -#End +Style Contributors + CopyStyle Foreword + LabelString "List of Contributors" + LatexName contributors +End -#Style List_of_Abbreviations_&_Symbols -# InTitle 1 -# CopyStyle Description -# LatexName abbrsymblist -# ObsoletedBy List_of_Abbreviations_&_Symbols_[Deprecated] -#End +Style Contributor_List + LatexType Environment + LatexName thecontriblist + TopSep 0.7 + BottomSep 0.4 +End Style Author + Margin First_Dynamic + LabelType Static + LabelSep x + LabelString "Author:" Font Series Medium Family Roman Size Normal Shape Up EndFont + LabelFont + Family Typewriter + Color Blue + EndFont End Style Abstract @@ -96,73 +100,6 @@ Style Abstract LabelString "Abstract" End -#Counter svmultlsti -# LabelString "Contributor \Roman{svmultlsti}" -# Within chapter -#End - -Style List_of_Contributors - Category "For editors" - Margin First_Dynamic - LatexType Item_Environment - LatexName svmultlstcnt - NextNoIndent 1 - InTitle 0 - LabelType Counter - LabelCounter svmultlsti - LabelSep xxx - LabelFont - Series Bold - Shape Italic - Color Blue - EndFont - ParSkip 0.0 - ItemSep 0.2 - TopSep 0.7 - BottomSep 0.7 - ParSep 0.3 - Align Block - AlignPossible Block, Left - Preamble - \newcounter{svmultlsti}% - \newenvironment{svmultlstcnt}{% - \setcounter{svmultlsti}{0}\let\svmultitem\item% - \renewcommand{\item}{% - \ifthenelse{\value{svmultlsti} = 0}{}{\and}% - \stepcounter{svmultlsti}}% - \setcounter{svmultlsti}{0}\begin{thecontriblist}}{% - \end{thecontriblist}\let\item\svmultitem% - \setcounter{svmultlsti}{0}} - EndPreamble - Requires ifthen -End - -#Style Problem -# ObsoletedBy Problem_(theorem-like) -#End - -#Style Solution -# ObsoletedBy Solution_(theorem-like) -#End - -#InsetLayout Flex:Inst -# Decoration Classic -# LabelString "Institute # [deprecated]" -# LatexType Command -# LatexName inst -# LyxType custom -# Font -# Size Small -# Color Red -# EndFont -#End - -InsetLayout Flex:at_Address - CopyStyle Flex:and - LatexName at - LabelString "at address" -End - Style Part Category "For editors" End @@ -175,6 +112,10 @@ Style Chapter Category "For editors" End +Style Running_Chapter + Category "For editors" +End + Style ChapAuthor Category "For editors" End @@ -212,6 +153,6 @@ Style Contributors End Style ChapMotto - Category FrontMatter + Category "For editors" End