home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / lyx-0.13.2.tar.gz / lyx-0.13.2.tar / lyx-0.13.2 / lib / layouts / scr.inc < prev    next >
Text File  |  1998-04-23  |  4KB  |  207 lines

  1. # This file contains the common style definitions for all Koma-Script
  2. # classes. It is included by scrartcl.layout, scrreprt.layout and
  3. # scrbook.layout
  4. # This file is a very quick hack, please report any errors or 
  5. # suggestions
  6. # Adapted from paper.layout
  7. # by Bernd K"ummerlen (bkuemmer@ix.urz.uni-heidelberg.de)
  8. # originally created by Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
  9.  
  10. # General textclass parameters
  11. Columns            1
  12.  
  13. ClassOptions
  14.   PageStyle    "empty|plain|headings|fancyheadings|myheadings"
  15.   # Koma-Script does not show a headsepline by default but I think it's
  16.   # nicer
  17.   Other        "headsepline"
  18. End
  19.  
  20. # Standard style definition
  21. Style Standard
  22.   Margin          Static
  23.   LatexType         Paragraph
  24.   LatexName         dummy
  25.   ParIndent        MM
  26.   ParSkip         0.4
  27.   Align         Block
  28.   AlignPossible     Block, Left, Right, Center
  29.   LabelType         No_Label
  30. End
  31.  
  32. # Include the standard definitions
  33. Input stdlists.inc
  34. Input stdsections.inc
  35. Input stdstarsections.inc
  36. Input stdstruct.inc
  37. Input lyxmacros.inc
  38. Input stdlayouts.inc
  39. Input obsolete.inc
  40.  
  41. ### All the section headings are sans serif
  42. Style Part
  43.   LabelString "Part #"
  44.   Font
  45.     Family        Sans
  46.     Series        Bold
  47.     Size        Huge
  48.   EndFont
  49. End
  50.  
  51. ## Koma-Script chapters are just numbered (no label)
  52. Style Chapter
  53.   BottomSep        3
  54.   LabelString ""
  55.   Font
  56.     Family        Sans
  57.     Series        Bold
  58.     Size        Huge
  59.   EndFont
  60. End
  61.  
  62. Style Section
  63.   Font 
  64.     Family              Sans
  65.     Series              Bold
  66.     Size                Larger
  67.   EndFont
  68. End
  69.  
  70. Style Subsection
  71.   Font 
  72.     Family              Sans
  73.     Series              Bold
  74.     Size                Large
  75.   EndFont
  76. End
  77.  
  78. Style Subsubsection
  79.   Font 
  80.     Family              Sans
  81.     Series              Bold
  82.     Size                Normal
  83.   EndFont
  84. End
  85.  
  86. Style Paragraph
  87.   Font 
  88.     Family              Sans
  89.     Series              Bold
  90.     Size                Normal
  91.   EndFont
  92. End
  93.  
  94. ### I don't know if this is right, but Koma-Scripts Subparagraph
  95. ### looks exactly the same as Paragraph
  96. Style Subparagraph
  97.   CopyStyle        Paragraph
  98. End
  99.  
  100. ### The description environment also uses sans serif labels.
  101. Style Description
  102.   LabelFont 
  103.     Family              Sans
  104.     Series              Bold
  105.   EndFont
  106. End
  107.  
  108. ### The title is sans serif 
  109. Style Title
  110.   Font 
  111.     Family              Sans
  112.     Series              Bold
  113.     Size                Huge
  114.   EndFont
  115. End
  116.  
  117. ### The author is Large
  118. Style Author
  119.   Font 
  120.     Size                Large
  121.   EndFont
  122. End
  123.  
  124. ### By default, the abstract has no label
  125. Style Abstract
  126.   LabelString        ""
  127. End
  128.  
  129. ### A few new things defined only in the Koma-Script classes
  130.  
  131. ### addchap and addsec (and their starred companions) are unnumbered
  132. ### environments which are included in the toc and provide page headings
  133. ### (which normal starred environments don't)
  134.  
  135. Style AddChap
  136.   CopyStyle        Chapter
  137.   Margin        Static
  138.   LatexName        addchap
  139.   LabelType        No_Label
  140. End
  141.  
  142. Style AddChap*
  143.   CopyStyle        Chapter
  144.   Margin        Static
  145.   LatexName        addchap*
  146.   LabelType        No_Label
  147. End
  148.  
  149. Style AddSec
  150.   CopyStyle        Section
  151.   Margin        Static
  152.   LatexName        addsec
  153.   LabelType        No_Label
  154. End
  155.  
  156. Style AddSec*
  157.   CopyStyle        Section
  158.   Margin        Static
  159.   LatexName        addsec*
  160.   LabelType        No_Label
  161. End
  162.  
  163.  
  164. ### The minisec environment is similar to paragraph, with different
  165. ### Seps
  166. Style MiniSec
  167.   CopyStyle        Paragraph
  168.   LatexName        minisec
  169.   LabelType        Static
  170.   Margin        Static
  171.   BottomSep        0
  172.   TopSep        0.6
  173.  
  174.   Font 
  175.     Family              Sans
  176.     Series        Bold
  177.   EndFont
  178. End
  179.  
  180. ### Koma-Script has a labeling environment which is quite similar 
  181. ### to the lyxlist environment. Additionally there is an optional parameter
  182. ### which acts as a separator between the label and the text, but I don't
  183. ### know how to implement this (Is there a way?)
  184. Style Labeling
  185.   Margin                Manual
  186.   LatexType             List_Environment
  187.   LatexName             labeling   
  188.   NextNoindent          1
  189.   LabelSep              xxx
  190.   ParSkip               0.4
  191.   TopSep                0.7  
  192.   BottomSep             0.7
  193.   ParSep                0.5
  194.   Align                 Block
  195.   AlignPossible         Block, Left
  196.   LabelType             Manual
  197.   LabelString           xxxxxxxxxx
  198. End
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.