X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fsvcommon.inc;h=fcf2e84b0958bb87e0faab757a86f12cbbd20f26;hb=b4f97b61cf0b257e31bcf512668ad458523d7f5a;hp=bfbf952ce9b6482d7985b67d1d9b4f3ed2dddbbb;hpb=3c94f8e070b51d79521a9775283660c5bd282814;p=lyx.git diff --git a/lib/layouts/svcommon.inc b/lib/layouts/svcommon.inc index bfbf952ce9..fcf2e84b09 100644 --- a/lib/layouts/svcommon.inc +++ b/lib/layouts/svcommon.inc @@ -14,8 +14,8 @@ # Adapted for new svjour LaTeX2e classes published by Springer in 1999; # work done by MV in 2000. # -# Adapted for svmono, svmult, 2009/2007 -# by Marcus Kriele (mkriele@mac.com) +# Adapted for svmono, svmult, and svjour3 2011 +# by Marcus Kriele (mkriele@mac.com) and Uwe Stöhr # see http://www.springer.com/authors for class files and further instructions @@ -49,15 +49,13 @@ Input theorems-without-preamble.inc NoStyle Fact NoStyle Prop - -NoStyle Subparagraph NoCounter subparagraph NoStyle Subparagraph* Style Title Align Left - AlignPossible Block, Center, Left, Right, Center + AlignPossible Block, Center, Left, Right Font Family Sans Series Bold @@ -107,8 +105,8 @@ Style Back_Matter End Style Part - Margin Static - Align Right + Margin Static + Align Right End ## The following is a variant of style Part. It allows to place some @@ -150,9 +148,9 @@ Style Chapter End Style ChapSubtitle - LatexName chapsubtitle - LatexType Command - Category Section + LatexName chapsubtitle + LatexType Command + Category Section TopSep 0.7 Font Series Bold @@ -163,30 +161,30 @@ Style ChapSubtitle End Style ChapAuthor - LatexName chapauthor - LatexType Command - Category Section - TopSep 0.7 - Font + LatexName chapauthor + LatexType Command + Category Section + TopSep 0.7 + Font Series Bold Shape Up Size normal - EndFont + EndFont End Style ChapMotto - LatexName motto - LatexType Command - Category Section - TopSep 0.7 - BottomSep 0.7 - Align Left - LeftMargin MMMMMMMMMMMM - Font + LatexName motto + LatexType Command + Category Section + TopSep 0.7 + BottomSep 0.7 + Align Left + LeftMargin MMMMMMMMMMMM + Font Series Medium Shape Italic Size normal - EndFont + EndFont End Style Section @@ -227,6 +225,18 @@ Style Paragraph TocLevel 4 End +Style Subparagraph + LeftMargin "" + Font + Series Medium + Shape Italic + Size Normal + EndFont + TopSep 0.7 + BottomSep 0.4 + TocLevel 4 +End + Style Part* Margin Static Align Right @@ -339,13 +349,13 @@ Style Institute LatexType Command InTitle 1 LatexName institute - Margin Static - LeftMargin "Author data:xxx" - LabelSep xxx + Margin First_Dynamic + LabelSep x LabelType Static - LabelString "Author data: " + LabelString "Author data:" LabelFont - Shape Italic + Family Typewriter + Color Blue EndFont Requires url Align Left @@ -364,12 +374,12 @@ Style TOC_Title Align Left LatexType Command LatexName toctitle - LeftMargin xxx + LeftMargin xx TopSep 0.4 BottomSep 0.4 LabelType Static LabelSep x - LabelString "TOC Title:" + LabelString "TOC title:" LabelFont Family Typewriter Color Blue @@ -379,27 +389,34 @@ End Style TOC_Author CopyStyle TOC_Title LatexName tocauthor - LabelString "TOC Author:" + LabelString "TOC author:" End Style Running_Title - CopyStyle TOC_Title + CopyStyle TOC_Title LatexName titlerunning InTitle 1 - LabelString "Running Title:" -End - -Style Running_LaTeX_Title - ObsoletedBy Running_Title + LabelString "Running title:" End Style Running_Author CopyStyle Running_Title LatexName authorrunning - LabelString "Running Author:" + LabelString "Running author:" End -Style Author_Running - ObsoletedBy Running_Author + +Style Running_Chapter + CopyStyle Running_Title + Category Section + InTitle 0 + LatexName chaptermark + LabelString "Running chapter:" +End + +Style Running_Section + CopyStyle Running_Chapter + LatexName sectionmark + LabelString "Running section:" End Style Abstract @@ -408,7 +425,7 @@ Style Abstract LatexType Environment LatexName abstract LabelType Static - LabelString "Abstract." + LabelString "Abstract" LabelFont Series Bold EndFont @@ -424,21 +441,23 @@ Style Abstract End Style Abstract* - CopyStyle Abstract + CopyStyle Abstract + LatexType Command LatexName abstract* - LabelString "Abstract* (not printed)." - LabelFont + LabelString "Abstract* (not printed)" + LabelFont Color Blue EndFont TextFont - Color Blue - EndFont + Color Blue + EndFont End Style Keywords Margin First_Dynamic LatexType Command LatexName keywords + Category FrontMatter NextNoIndent 0 ParIndent MM LabelSep xx @@ -478,10 +497,10 @@ End Style Foreword Margin First_Dynamic Category FrontMatter - LabelType Static - LabelString "Foreword" + LabelType Static + LabelString "Foreword" KeepEmpty 1 - LatexName foreword + LatexName foreword TocLevel 0 LatexType Command NeedProtect 1 @@ -501,10 +520,8 @@ End Style Preface CopyStyle Foreword - Category "For Authors" + Category FrontMatter LatexName preface - KeepEmpty 1 - OptionalArgs 0 InTitle 0 Margin First_Dynamic TopSep 4 @@ -530,7 +547,7 @@ Style Acknowledgement Align Block AlignPossible Block, Left LabelType Static - LabelString "Acknowledgements." + LabelString "Acknowledgements" Font Size Small EndFont @@ -542,8 +559,8 @@ Style Acknowledgement End Style Acknowledgements - CopyStyle Acknowledgement - LatexName acknowledgements + CopyStyle Acknowledgement + LatexName acknowledgements End Style Bibliography @@ -606,9 +623,25 @@ Style Svgraybox End Style Proof - CopyStyle Claim + Category Theorem + LatexType Environment LatexName proof - LabelString "Proof" + Margin First_Dynamic + LeftMargin xxx + TopSep 0.4 + BottomSep 0.4 + LabelType Static + LabelSep xx + LabelString "Proof." + LabelFont + Shape Italic + EndFont + LangPreamble + \providecommand{\proofname}{_(Proof)} + EndLangPreamble + BabelPreamble + \addto\captions$$lang{\renewcommand{\proofname}{_(Proof)}} + EndBabelPreamble End Style Proof(QED) @@ -623,14 +656,14 @@ End Style Proof(smartQED) CopyStyle Proof LatexName svmultproof2 - EndLabelType Filled_Box + EndLabelType Box Preamble - \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}} + \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}} EndPreamble End InsetLayout Flex:Email - Decoration Conglomerate + Decoration Conglomerate LyxType custom LatexType command LatexName email @@ -651,22 +684,3 @@ InsetLayout Flex:Email EndFont End -InsetLayout Flex:and - ContentAsLabel 1 - CustomPars 0 - Decoration Classic - LatexName and - LatexType Command - LabelString "and" - LyxType Custom - KeepEmpty 1 -End - -# InsetLayout Flex:and -# CopyStyle Flex:Email -# LatexName and -# LabelString "and" -# Font -# EndFont -# KeepEmpty 1 -# End