]> git.lyx.org Git - features.git/blobdiff - lib/layouts/svcommon.inc
- svcommon.inc: fix two bugs spotted by Marcus Kriele and some whitespace
[features.git] / lib / layouts / svcommon.inc
index 7b176a588be7098bc4b2c76a07834140a00012f2..fcf2e84b0958bb87e0faab757a86f12cbbd20f26 100644 (file)
@@ -105,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
@@ -148,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
@@ -161,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
@@ -349,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
@@ -374,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
@@ -389,20 +389,20 @@ 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:"
+       LabelString     "Running title:"
 End
 
 Style Running_Author
        CopyStyle       Running_Title
        LatexName       authorrunning
-       LabelString     "Running Author:"
+       LabelString     "Running author:"
 End
 
 Style Running_Chapter
@@ -410,15 +410,13 @@ Style Running_Chapter
        Category        Section
        InTitle         0
        LatexName       chaptermark
-       LeftMargin      "Running Chapter:xxx"
-       LabelString     "Running Chapter:"
+       LabelString     "Running chapter:"
 End
 
 Style Running_Section
-      CopyStyle                Running_Chapter
-      LatexName                sectionmark
-      LeftMargin       "Running Section:xxx"
-      LabelString      "Running Section:"
+       CopyStyle       Running_Chapter
+       LatexName       sectionmark
+       LabelString     "Running section:"
 End
 
 Style Abstract
@@ -499,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
@@ -522,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