]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdstruct.inc
Update all layouts to format 35.
[lyx.git] / lib / layouts / stdstruct.inc
1 # Standard textclass definition file. Taken from initial LyX source code
2 # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
3 # Transposed by Pascal AndrĂ© <andre@via.ecp.fr>
4 # Heavily modifed and enhanced by several developers.
5 # Title definitions moved to stdtitle.inc by Hartmut Goebel <harmut@noris.net>
6
7 # This include files contains all layouts that handle the structure of
8 # a document, like abstract, bibliography and such.
9
10
11 Format 35
12 Style Abstract
13         Margin                Static
14         LatexType             Environment
15         LatexName             abstract
16         Category              FrontMatter
17         NextNoIndent          1
18         LeftMargin            MMM
19         RightMargin           MMM
20         ParIndent             MM
21         ItemSep               0
22         TopSep                0.7
23         BottomSep             0.7
24         ParSep                0
25         Align                 Block
26         LabelType             Centered_Top_Environment
27         LabelString           "Abstract"
28         LabelBottomSep    0.5
29         Font
30           Size                Small
31         EndFont
32         LabelFont
33           Series              Bold
34           Size                Large
35         EndFont
36         HTMLLabelFirst        1
37         HTMLForceCSS          1
38         HTMLStyle
39                 div.abstract {
40                         margin: 4ex;
41                 }
42                 div.abstract_item {
43                         font-size: small;
44                         padding-top: 1ex;
45                 }
46                 div.abstract_label {
47                         font-weight: bold;      
48                 }
49         EndHTMLStyle
50 End
51
52
53 Style Bibliography
54         Margin                First_Dynamic
55         LatexType             Bib_Environment
56         LatexName             thebibliography
57         Category              BackMatter
58         NextNoIndent          1
59         LeftMargin            MM
60         ParSkip               0.4
61         ItemSep               0
62         TopSep                0.7
63         BottomSep             0.7
64         ParSep                0.5
65         Align                 Block
66         AlignPossible         Block, Left
67         LabelType             Bibliography
68         LabelString           "References"
69         LabelBottomSep        1.2
70         LabelFont
71           Series              Bold
72           Size                Larger
73         EndFont
74         HTMLStyle
75                 div.bibliography {
76                         margin-left: 2em;
77                         text-indent: -2em;
78                 }
79                 span.bibitemlabel:before { content: "["; }
80                 span.bibitemlabel:after { content: "] "; }
81         EndHTMLStyle
82 End