]> git.lyx.org Git - lyx.git/blob - lib/layouts/rsphrase.module
Natbib authoryear uses (Ref1; Ref2) by default.
[lyx.git] / lib / layouts / rsphrase.module
1 #\DeclareLyXModule[rsphrase.sty]{Risk and Safety Statements}
2 #DescriptionBegin
3 #Provides two insets and one environment to typeset numbers and phrases of 
4 #chemical risk and safety statements. For a description see the file 
5 #R-S-statements.lyx in LyX's examples folder.
6 #DescriptionEnd
7 #Author: Uwe Stöhr <uwestoehr@web.de>
8
9 Format 45
10
11 AddToPreamble
12         \usepackage{rsphrase}
13 EndPreamble
14
15 InsetLayout "Flex:R-S number"
16         LyxType         custom
17         LatexType       command
18         LatexName       rsnumber
19         LabelString     "R-S number"
20         Font
21           Color         foreground
22           Size          Small
23           Family        Roman
24           Shape         Up
25           Series        Medium
26           Misc          No_Emph
27           Misc          No_Noun
28           Misc          No_Bar
29         EndFont
30         LabelFont
31           Color         green
32           Size          Small
33         EndFont
34 End
35
36 InsetLayout "Flex:R-S phrase"
37         CopyStyle       "Flex:R-S number"
38         LatexName       rsphrase
39         LabelString     "R-S phrase"
40 End
41
42 Style "Safety phrase"
43         LatexType       command
44         LatexName       rsphrase
45         Category        MainText
46         NextNoIndent    1
47         Argument 1
48           LabelString   "Phrase Text"
49           Tooltip       "Argument for statements that requires to specify additional information"
50         EndArgument
51         KeepEmpty       1
52         Margin          Dynamic
53         LabelSep        xx
54         ParSkip         0.0
55         ItemSep         0.2
56         TopSep          0.7
57         BottomSep       0.7
58         ParSep          0.3
59         Align           Block
60         AlignPossible   Block
61         LabelType       Static
62         LabelString     "S phrase:"
63         LabelFont
64           Color         Green
65         EndFont
66 End
67