]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/linuxdoc.layout
remove spaces from label strings, part 2
[lyx.git] / lib / layouts / linuxdoc.layout
index 389fe38dcb0f7bb0921bbe535e4e8b9b554d1623..84f2a326c8a8a460efc2b9d6670c4cc96265abd7 100644 (file)
 #% Do not delete the line below; configure depends on this
-#  \DeclareLinuxDocClass[article]{SGML (LinuxDoc article)}
-# LinuxDoc textclass definition file. 
+#  \DeclareLinuxDocClass[article]{LinuxDoc article (SGML)}
+# LinuxDoc textclass definition file.
 # Author : Pascal AndrĂ© <andre@via.ecp.fr>
 
-# General textclass parameters
-Columns                        1
-Sides                  1
-PageStyle              Plain
-MaxCounter             Counter_Section
-OutputType             linuxdoc
-DefaultStyle           Standard
+
+Columns                 1
+Sides                   1
+PageStyle               Plain
+OutputType              linuxdoc
+DefaultStyle            Standard
+
+ClassOptions
+    Header              "<!doctype linuxdoc system"
+End
+
 
 Input stdcounters.inc
+Input stdfloats.inc
+Input numarticle.inc
+
 
-# Standard style definition
 Style Standard
-  Margin               Static
-  LatexType            Paragraph
-  LatexName            p
-  ParSkip              0.4
-  Align                Block
-  AlignPossible        Block
-  LabelType            No_Label
+       Margin                Static
+       LatexType             Paragraph
+       LatexName             p
+       ParSkip               0.4
+       Align                 Block
+       AlignPossible         Block
+       LabelType             No_Label
 End
 
-# Quote style definition
+
 Style Quote
-  Margin               Static
-  LatexType            Environment
-  LatexName            quote
-  ParIndent            MM
-  ParSkip              0.4
-  Align                Block
-  AlignPossible        Block
-  LabelType            No_Label
+       Margin                Static
+       LatexType             Environment
+       LatexName             quote
+       ParIndent             MM
+       ParSkip               0.4
+       Align                 Block
+       AlignPossible         Block
+       LabelType             No_Label
 End
 
-# Title style definition
+
 Style Title
-  Margin               Static
-  LatexType            Paragraph
-  LatexName            title
-  NextNoIndent         1
-  ParSkip              0.4
-  Align                        Center
-  AlignPossible                Block, Center, Left, Right, Center
-  LabelType            No_Label
-  Fill_Top             1
-  Fill_Bottom          1
-
-  # standard font definition
-  Font 
-    Family             Sans
-    Series             Bold
-    Size               Largest
-  EndFont
-
-  # label font definition
-  LabelFont 
-    Family             Sans
-    Series             Bold
-    Size               Largest
-  EndFont
+       Margin                Static
+       LatexType             Paragraph
+       LatexName             title
+       NextNoIndent          1
+       ParSkip               0.4
+       Align                 Center
+       AlignPossible         Block, Center, Left, Right, Center
+       LabelType             No_Label
+       Fill_Top              1
+       Fill_Bottom           1
+       Font
+         Family              Sans
+         Series              Bold
+         Size                Largest
+       EndFont
+       LabelFont
+         Family              Sans
+         Series              Bold
+         Size                Largest
+       EndFont
 End
 
-# Section style definition
+
 Style Section
-  Margin               Dynamic
-  LatexType            Command
-  LatexName            sect
-  LabelSep             xxx
-  ParSkip              0.4
-  TopSep               1.3
-  BottomSep            0.7
-  ParSep               0.7
-  Align                        Block
-  AlignPossible                Block, Left
-  LabelType            Counter_Section
-  # standard font definition
-  Font 
-    Series             Bold
-    Size               Larger
-  EndFont
-
-  # label font definition
-  LabelFont 
-    Series             Bold
-    Size               Larger
-  EndFont
+       Margin                Dynamic
+       LatexType             Command
+       LatexName             sect
+       LabelSep              xxx
+       ParSkip               0.4
+       TopSep                1.3
+       BottomSep             0.7
+       ParSep                0.7
+       Align                 Block
+       AlignPossible         Block, Left
+       Font
+         Series              Bold
+         Size                Larger
+       EndFont
+       LabelFont
+         Series              Bold
+         Size                Larger
+       EndFont
 End
 
-# Subsection style definition
+
 Style Subsection
-  Margin               Dynamic
-  LatexType            Command
-  LatexName            sect1
-  LabelSep             xxx
-  ParSkip              0.4
-  TopSep               0.9
-  BottomSep            0.5
-  ParSep               0.5
-  Align                        Block
-  AlignPossible                Block, Left
-  LabelType            Counter_Subsection
-
-  # standard font definition
-  Font 
-    Series             Bold
-    Size               Large
-  EndFont
-
-  # label font definition
-  LabelFont 
-    Series             Bold
-    Size               Large
-  EndFont
+       Margin                Dynamic
+       LatexType             Command
+       LatexName             sect1
+       LabelSep              xxx
+       ParSkip               0.4
+       TopSep                0.9
+       BottomSep             0.5
+       ParSep                0.5
+       Align                 Block
+       AlignPossible         Block, Left
+       Font
+         Series              Bold
+         Size                Large
+       EndFont
+       LabelFont
+         Series              Bold
+         Size                Large
+       EndFont
 End
 
-# Subsubsection style definition
+
 Style Subsubsection
-  Margin               Dynamic
-  LatexType            Command
-  LatexName            sect2
-  LabelSep             xxx
-  ParSkip              0.4
-  TopSep               0.7
-  BottomSep            0.4
-  ParSep               0.4
-  Align                        Block
-  AlignPossible                Block, Left
-  LabelType            Counter_SubSubSection
-
-  # standard font definition
-  Font 
-    Series             Bold
-  EndFont
-
-  # label font definition
-  LabelFont 
-    Series             Bold
-  EndFont
+       Margin                Dynamic
+       LatexType             Command
+       LatexName             sect2
+       LabelSep              xxx
+       ParSkip               0.4
+       TopSep                0.7
+       BottomSep             0.4
+       ParSep                0.4
+       Align                 Block
+       AlignPossible         Block, Left
+       Font
+         Series              Bold
+       EndFont
+       LabelFont
+         Series              Bold
+       EndFont
 End
 
-# Paragraph style definition
+
 Style Paragraph
-  Margin               Dynamic
-  LatexType            Command
-  LatexName            sect3
-  LabelSep             xxx
-  ParSkip              0.4
-  TopSep               0.4
-  BottomSep            0.4
-  Align                        Block
-  AlignPossible                Block, Left
-  LabelType            Counter_Paragraph
-
-  # standard font definition
-  Font 
-    Series             Bold
-  EndFont
-
-  # label font definition
-  LabelFont 
-    Series             Bold
-  EndFont
+       Margin                Dynamic
+       LatexType             Command
+       LatexName             sect3
+       LabelSep              xxx
+       ParSkip               0.4
+       TopSep                0.4
+       BottomSep             0.4
+       Align                 Block
+       AlignPossible         Block, Left
+       Font
+         Series              Bold
+       EndFont
+       LabelFont
+         Series              Bold
+       EndFont
 End
 
-# Subparagraph style definition
+
 Style Subparagraph
-  Margin               Dynamic
-  LatexType            Command
-  LatexName            sect4
-  LeftMargin           MM
-  LabelSep             xxx
-  ParSkip              0.4
-  TopSep               0.4
-  ParSep               0.4
-  Align                        Block
-  AlignPossible                Block, Left
-  LabelType            Counter_SubParagraph
-
-  # standard font definition
-  Font 
-    Series             Bold
-  EndFont
-
-  # label font definition
-  LabelFont 
-    Series             Bold
-  EndFont
+       CopyStyle             Paragraph
+       LatexName             sect4
+       LeftMargin            MM
 End
 
-# Enumerate style definition
+
 Style Enumerate
-  Margin               Static
-  LatexType            Item_Environment
-  LatexName            enum
-  LeftMargin           MMN
-  LabelSep             xx
-  ItemSep              0.2
-  TopSep               0.7
-  BottomSep            0.7
-  ParSep               0.3
-  Align                        Block
-  AlignPossible                Block, Left
-  LabelType            Counter_EnumI
+       Margin                Static
+       LatexType             Item_Environment
+       LatexName             enum
+       LeftMargin            MMN
+       LabelSep              xx
+       ItemSep               0.2
+       TopSep                0.7
+       BottomSep             0.7
+       ParSep                0.3
+       Align                 Block
+       AlignPossible         Block, Left
+       LabelType             Enumerate
 End
 
-# Itemize style definition
+
 Style Itemize
-  Margin               Static
-  LatexType            Item_Environment
-  LatexName            itemize
-  LeftMargin           MMN
-  LabelSep             xx
-  ItemSep              0.2
-  TopSep               0.7
-  BottomSep            0.7
-  ParSep               0.3
-  Align                        Block
-  AlignPossible                Block, Left
-  LabelType            Static
-  LabelString          *
+       Margin                Static
+       LatexType             Item_Environment
+       LatexName             itemize
+       LeftMargin            MMN
+       LabelSep              xx
+       ItemSep               0.2
+       TopSep                0.7
+       BottomSep             0.7
+       ParSep                0.3
+       Align                 Block
+       AlignPossible         Block, Left
+       LabelType             Itemize
+       LabelString           "*"
 End
 
-# Description style definition
+
 Style Description
-  Margin               First_Dynamic
-  LatexType            Item_environment
-  LatexName            descrip
-  LeftMargin           MM
-  LabelSep             xxx
-  ParSkip              0.4
-  ItemSep              0.2
-  TopSep               0.7
-  BottomSep            0.7
-  ParSep               0.3
-  Align                        Block
-  AlignPossible                Block, Left
-  LabelType            Manual
-  LabelString          MM
-
-  # label font definition
-  LabelFont 
-    Series             Bold
-  EndFont
+       Margin                First_Dynamic
+       LatexType             Item_environment
+       LatexName             descrip
+       LeftMargin            MM
+       LabelSep              xxx
+       ParSkip               0.4
+       ItemSep               0.2
+       TopSep                0.7
+       BottomSep             0.7
+       ParSep                0.3
+       Align                 Block
+       AlignPossible         Block, Left
+       LabelType             Manual
+       LabelString           "MM"
+       LabelFont
+         Series              Bold
+       EndFont
 End
 
-# Verbatim style definition
+
 Style Verbatim
-  Margin               Static
-  LatexType            environment
-  LatexName            verb
-  LeftMargin           MM
-  LabelSep             xx
-  ItemSep              0.2
-  Topsep               0.7
-  BottomSep            0.7
-  ParSep               0.3
-  Align                        Block
-  AlignPossible                Block
-  FreeSpacing          1
-  LabelType            No_Label
-
-  # standard font definition
-  Font 
-    Family             Typewriter
-  EndFont
-
-  # label font definition
-  LabelFont 
-    Family             Typewriter
-  EndFont
+       Margin                Static
+       LatexType             environment
+       LatexName             verb
+       LeftMargin            MM
+       LabelSep              xx
+       ItemSep               0.2
+       Topsep                0.7
+       BottomSep             0.7
+       ParSep                0.3
+       Align                 Block
+       AlignPossible         Block
+       FreeSpacing           1
+       LabelType             No_Label
+       Font
+         Family              Typewriter
+       EndFont
+       LabelFont
+         Family              Typewriter
+       EndFont
 End
 
-# Code style definition
+
 Style Code
-  Margin               Static
-  LatexType            Environment
-  LatexParam           CDATA
-  LatexName            code
-  LeftMargin           MM
-  LabelSep             xx
-  ItemSep              0.2
-  TopSep               0.7
-  BottomSep            0.7
-  ParSep               0.3
-  Align                        Block
-  AlignPossible                Block
-  LabelType            No_Label
-  FreeSpacing          1
+       Margin                Static
+       LatexType             Environment
+       LatexParam            CDATA
+       LatexName             code
+       LeftMargin            MM
+       LabelSep              xx
+       ItemSep               0.2
+       TopSep                0.7
+       BottomSep             0.7
+       ParSep                0.3
+       Align                 Block
+       AlignPossible         Block
+       LabelType             No_Label
+       FreeSpacing           1
 End
 
-# Author style definition
+
 Style Author
-  Margin               Dynamic
-  LatexType            Paragraph
-  LatexName            author
-  LabelSep             xxx
-  ParSkip              0.4
-  TopSep               1.3
-  BottomSep            0.7
-  ParSep               0.7
-  Align                        Center
-  AlignPossible                Center
-  LabelType            No_Label
-
-  # standard font definition
-  Font 
-    Size               Larger
-  EndFont
-
-  # label font definition
-  LabelFont 
-    Size               Larger
-  EndFont
+       Margin                Dynamic
+       LatexType             Paragraph
+       LatexName             author
+       LabelSep              xxx
+       ParSkip               0.4
+       TopSep                1.3
+       BottomSep             0.7
+       ParSep                0.7
+       Align                 Center
+       AlignPossible         Center
+       LabelType             No_Label
+       Font
+         Size                Larger
+       EndFont
+       LabelFont
+         Size                Larger
+       EndFont
 End
 
-# Date style definition
+
 Style Date
-  Margin               Dynamic
-  LatexType            Paragraph
-  LatexName            date
-  LabelSep             xxx
-  ParSkip              0.4
-  TopSep               0.9
-  BottomSep            0.5
-  ParSep               0.5
-  Align                        Center
-  AlignPossible                Center
-  LabelType            No_Label
-
-  # standard font definition
-  Font 
-    Size               Large
-  EndFont
-
-  # label font definition
-  LabelFont 
-    Size               Large
-  EndFont
+       Margin                Dynamic
+       LatexType             Paragraph
+       LatexName             date
+       LabelSep              xxx
+       ParSkip               0.4
+       TopSep                0.9
+       BottomSep             0.5
+       ParSep                0.5
+       Align                 Center
+       AlignPossible         Center
+       LabelType             No_Label
+       Font
+         Size                Large
+       EndFont
+       LabelFont
+         Size                Large
+       EndFont
 End
 
-# Abstract style definition
+
 Style Abstract
-  Margin               Static
-  LatexType            Paragraph
-  LatexName            abstract
-  LeftMargin           MM
-  LabelSep             xx
-  ItemSep              0
-  TopSep               0.7
-  BottomSep            0.7
-  ParSep               0
-  Align                        Block
-  AlignPossible                Block
-  LabelType            No_Label
-
-  # standard font definition
-  Font 
-    Shape              Italic
-  EndFont
-
-  # label font definition
-  LabelFont 
-    Shape              Italic
-  EndFont
-End 
-
-# SGML style definition
+       Margin                Static
+       LatexType             Paragraph
+       LatexName             abstract
+       LeftMargin            MM
+       LabelSep              xx
+       ItemSep               0
+       TopSep                0.7
+       BottomSep             0.7
+       ParSep                0
+       Align                 Block
+       AlignPossible         Block
+       LabelType             No_Label
+       Font
+         Shape               Italic
+       EndFont
+       LabelFont
+         Shape               Italic
+       EndFont
+End
+
+
 Style SGML
-  Margin                Static
-  LatexType             Paragraph
-  LatexName             "!-- --"
-  NewLine               0
-  ParIndent             MM
-  ParSkip               0.4
-  ParSep                0.5
-  Align                 Left
-  AlignPossible         Block, Left, Right, Center
-  LabelType             No_Label
-  FreeSpacing           1
-  PassThru             1
+       Margin                Static
+       LatexType             Paragraph
+       LatexName             "!-- --"
+       NewLine               0
+       ParIndent             MM
+       ParSkip               0.4
+       ParSep                0.5
+       Align                 Left
+       AlignPossible         Block, Left, Right, Center
+       LabelType             No_Label
+       FreeSpacing           1
+       PassThru              1
+End
+
+
+Style Caption
+       Margin                First_Dynamic
+       LatexType             Paragraph
+       LatexName             caption
+       NeedProtect           1
+       LabelSep              xx
+       ParSkip               0.4
+       TopSep                0.5
+       Align                 Center
+       AlignPossible         Center
+       LabelType             Sensitive
+       LabelString           "Caption"
+       OptionalArgs          1
+       LabelFont
+         Series              Bold
+       EndFont
 End