X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fsvmono.layout;h=cace5cec95ec1e65116faa916b399fc3cb6070b5;hb=2bd368fd6b276663b327e64acc6b46c87cc3c7a9;hp=3f6a2b93469ce36a955819eff109a5fb9b907430;hpb=3b716ae11e5f55cf0544521ebd345a341707744e;p=lyx.git diff --git a/lib/layouts/svmono.layout b/lib/layouts/svmono.layout index 3f6a2b9346..cace5cec95 100644 --- a/lib/layouts/svmono.layout +++ b/lib/layouts/svmono.layout @@ -1,191 +1,102 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[svmono,natbib.sty]{book (Springer svmono)} +# \DeclareLaTeXClass[svmono,footmisc.sty,multicol.sty,natbib.sty,type1cm.sty]{Springer SV Mono} +# \DeclareCategory{Books} # Author: Koji Yokota +# adapted: Marcus Kriele and Uwe Stöhr (April 2011) # +# Supports: SVMONO DOCUMENT CLASS -- version 5.5 (17-Dec-09) # Class and style files and templates are found at: -# ftp://ftp.springer.de/pub/tex/latex/svmonogl/ +# http://wiki.lyx.org/Examples/Springer # -Format 28 -Input svjour.inc +Format 43 +Input svcommon.inc ClassOptions - FontSize 10 -End - -# Additional paragraphs -Style Petit - CopyStyle Standard - Category MainText - LatexType Environment - LatexName petit - LeftMargin MMM - RightMargin MMM - Font - Size Small - FontEnd -End - -Style Front_Matter - Category Structure - LatexType Environment - LatexName frontmatter - KeepEmpty 1 - OptionalArgs 0 - Margin First_Dynamic - NextNoIndent 1 - ParSkip 0 - TopSep 2.5 - BottomSep 0.5 - ParSep 0 - Align Center - LabelType Static - LabelBottomSep 0 - LeftMargin M - LabelString "--- Front Matter ---" - - Font - Family Sans - Series Bold - Size Largest - Color Blue - EndFont -End - -Style Main_Matter - CopyStyle Front_Matter - Category Structure - LatexName mainmatter - LabelString "--- Main Matter ---" -End - -Style Back_Matter - CopyStyle Front_Matter - Category Structure - LatexName backmatter - LabelString "--- Back Matter ---" -End - -Style Part - Category Section - Margin Dynamic - LabelString "Part \thepart" - LabelType Counter - TocLevel 0 - LabelCounter part - LatexType Command - LatexName part - NeedProtect 1 - NextNoIndent 1 - Labelsep xxx - ParSkip 0.4 - TopSep 4 - BottomSep 4 - ParSep 0.8 - Align Center - Alignpossible Center - Font - Series Bold - Size Huge - EndFont -End - -Style Part* - CopyStyle Part - Category Unnumbered - Margin Static - LatexName part* - LabelType No_Label - LabelCounter "" -End - -Style Chapter - Margin Static - Category Section - LabelString "Chapter \thechapter" - LabelStringAppendix "Appendix \thechapter" - LabelType Counter - LabelCounter chapter - TocLevel 0 + FontSize 10 +End + +NoStyle Acknowledgements +NoStyle Institute + +Style Abstract LatexType Command - LatexName chapter - NeedProtect 1 - NextNoIndent 1 - ParSkip 0.4 - TopSep 4 - BottomSep 0.8 - ParSep 0.8 - Align Left - OptionalArgs 1 - Font - Series Bold - Size Huge - EndFont -End - -Style Chapter* - CopyStyle Chapter - Category Unnumbered - Margin Static - LatexName chapter* - LabelType No_Label - LabelCounter "" - OptionalArgs 0 -End - -Style Preface - CopyStyle Title - Category Unnumbered - LatexName svmultpreface - KeepEmpty 1 - OptionalArgs 1 - InTitle 0 - Margin Static - LeftMargin "PPrreeffaaccee:xxx" - LabelType Static - LabelString "Preface:" - LabelSep xxx - Align Left - Preamble - \newcommand{\svmultpreface}[1]{\ifthenelse{\equal{#1}{}}{\preface}{\preface[#1]}} - EndPreamble - Requires ifthen -End - -# Additional math environments -Style Case - CopyStyle Claim - LatexName case - LabelString "Case #." -End - -Style Problem - CopyStyle Claim - LatexName prob - LabelString "Problem #." -End - -Style Solution - CopyStyle Claim - LatexName sol - LabelString "Solution #." - OptionalArgs 1 +End + +Counter theorem + Within chapter +End + +Counter definition + Within chapter +End + +Counter remark + Within chapter +End + +Counter corollary + Within chapter +End + +Counter lemma + Within chapter +End + +Counter proposition + Within chapter +End + +Counter claim + Within chapter +End + +Counter conjecture + Within chapter +End + +Counter question + Within chapter +End + +Counter example + Within chapter +End + +Counter exercise + Within chapter +End + +Counter case + Within chapter +End + +Counter property + Within chapter +End + +Counter note + Within chapter +End + +Style Claim + LabelString "Claim." +End + +Style Proof + LabelString "Proof." End Style Proof(QED) - CopyStyle Proof - LatexName svmultproof - EndLabelType Box - Preamble - \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}} - EndPreamble + LabelString "Proof." End Style Proof(smartQED) - CopyStyle Proof - LatexName svmultproof2 - EndLabelType Filled_Box - Preamble - \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}} - EndPreamble + LabelString "Proof." End +NoStyle TOC_Title +NoStyle TOC_Author +NoStyle Running_Title +NoStyle Running_Author + +