X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fsvmult.layout;h=ce4dd44737abbf1515c624c66990c1a0921becc8;hb=a7a43d08660f913b2c7456274aaa3510f4e4cc34;hp=d8eaeb4a8576b1c088370a585487e11da3c964dc;hpb=963f3298f435ecf29ba26d2f2c92425fef736d0f;p=lyx.git diff --git a/lib/layouts/svmult.layout b/lib/layouts/svmult.layout index d8eaeb4a85..ce4dd44737 100644 --- a/lib/layouts/svmult.layout +++ b/lib/layouts/svmult.layout @@ -1,226 +1,158 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[svmult,natbib.sty]{book (Springer svmult)} +# \DeclareLaTeXClass[svmult,natbib.sty]{Springer SV Mult} +# \DeclareCategory{Books} # Author: Koji Yokota -# adapted: Marcus Kriele (April 2011) +# 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 34 - +Format 54 Input svcommon.inc ClassOptions - FontSize 10 + FontSize "" End NoStyle Acknowledgements -#NoStyle Acknowledgement - -Counter svmultlsti - LabelString "Contributor \Roman{svmultlsti}:" -End # Additional headings -Style MiniTOC - CopyStyle Running_Title - LatexType Command - LatexName svmulttoc - LeftMargin "TOC depth (provide a number):xxx" - LabelString "TOC depth (provide a number):" - Preamble - \newcommand{\svmulttoc}[1]{\setcounter{minitocdepth}{#1}\dominitoc} - EndPreamble -End - +#Style MiniTOC +# CopyStyle Running_Title +# LatexType Command +# LatexName svmulttoc +# LeftMargin "TOC depth (provide a number):xxx" +# LabelString "TOC depth (provide a number):" +# Preamble +# \newcommand{\svmulttoc}[1]{\setcounter{minitocdepth}{#1}\dominitoc} +# EndPreamble +#End Style Title* CopyStyle Title LatexName title* LabelString "Title*: " - LabelSep "xxx" + LabelSep "xxx" LabelType Static Margin First_Dynamic - HTMLTitle true + HTMLTitle true LabelFont - Color Blue + Color Blue EndFont End - Style Title - TopSep 2 - LabelString "Chapter \thechapter" - LabelType Counter - LabelCounter chapter - TocLevel 1 - InTitle 0 + 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 Contributors - CopyStyle Foreword - LabelString "List of Contributors" - LatexName contributors + CopyStyle Foreword + LabelString "List of Contributors" + LatexName contributors End -Style List_of_Abbreviations_&_Symbols_[Deprecated] - InTitle 1 - CopyStyle Description - LatexName abbrsymblist -End - -Style List_of_Abbreviations_&_Symbols - InTitle 1 - CopyStyle Description - LatexName abbrsymblist - ObsoletedBy List_of_Abbreviations_&_Symbols_[Deprecated] +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 Bold - Family Sans - Size Normal + Series Medium + Family Roman + Size Normal Shape Up EndFont -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 + Family Typewriter 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" +Style Abstract + LatexType Command + LatexName abstract + Category FrontMatter + LabelString "Abstract" End - Style Part - Category "For editors" + Category "For editors" End Style PartBacktext - Category "For editors" + Category "For editors" End Style Chapter - Category "For editors" + Category "For editors" +End + +Style Running_Chapter + Category "For editors" End Style ChapAuthor - Category "For editors" + Category "For editors" End Style ChapSubtitle - Category "For editors" + Category "For editors" End Style extrachap - Category "For editors" + Category "For editors" End Style Extrachap - Category "For editors" + Category "For editors" End Style Dedication - Category "For editors" + Category "For editors" End Style Foreword - Category "For editors" + Category "For editors" End Style Preface - Category "For editors" + Category "For editors" End Style Acknowledgement - Category "For editors" + Category "For editors" End Style Contributors - Category "For editors" -End - -Style Motto - CopyStyle ChapMotto - Category "FrontMatter" + Category "For editors" End -NoStyle ChapMotto - -Style Abstract - Category "FrontMatter" -End -Style Abstract* - Category "FrontMatter" -End -Style Keywords - Category "FrontMatter" +Style ChapMotto + Category "For editors" End