]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdstruct.inc
8c9eb2b60e3bde0790051eebb4d5592873bf6130
[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 27
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         HTMLLabel             div
37         HTMLLabelFirst        1
38         HTMLStyle
39                 div.abstract {
40                         margin-top: 2em;
41                         margin-bottom: 2em;
42                 }
43                 div.abstract_item {
44                         font-size: small;
45                         padding-top: 1ex;
46                 }
47                 div.abstract_label {
48                         font-weight: bold;      
49                 }
50         EndHTMLStyle
51 End
52
53
54 Style Bibliography
55         Margin                First_Dynamic
56         LatexType             Bib_Environment
57         LatexName             thebibliography
58         Category              BackMatter
59         NextNoIndent          1
60         LeftMargin            MM
61         ParSkip               0.4
62         ItemSep               0
63         TopSep                0.7
64         BottomSep             0.7
65         ParSep                0.5
66         Align                 Block
67         AlignPossible         Block, Left
68         LabelType             Bibliography
69         LabelString           "References"
70         LabelBottomSep        1.2
71         LabelFont
72           Series              Bold
73           Size                Larger
74         EndFont
75         HTMLStyle
76                 div.bibliography {
77                         margin-left: 2em;
78                         text-indent: -2em;
79                 }
80                 span.bibitemlabel:before { content: "["; }
81                 span.bibitemlabel:after { content: "] "; }
82         EndHTMLStyle
83 End