]> git.lyx.org Git - lyx.git/blob - lib/layouts/rsphrase.module
fe10782aece2f0464f59232b9d5d2e5e442565b3
[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 68
10
11 InsetLayout "Flex:R-S number"
12         LyxType         custom
13         LatexType       command
14         LatexName       rsnumber
15         Requires        rsphrase
16         LabelString     "R-S number"
17         Font
18           Color         foreground
19           Size          Small
20           Family        Roman
21           Shape         Up
22           Series        Medium
23           Misc          No_Emph
24           Misc          No_Noun
25           Misc          No_Bar
26         EndFont
27         LabelFont
28           Color         green
29           Size          Small
30         EndFont
31 End
32
33 InsetLayout "Flex:R-S phrase"
34         CopyStyle       "Flex:R-S number"
35         LatexName       rsphrase
36         LabelString     "R-S phrase"
37 End
38
39 Style "Safety phrase"
40         LatexType       command
41         LatexName       rsphrase
42         Requires        rsphrase
43         Category        MainText
44         NextNoIndent    1
45         Argument 1
46           LabelString   "Phrase Text"
47           Tooltip       "Argument for statements that requires to specify additional information"
48         EndArgument
49         KeepEmpty       1
50         Margin          Dynamic
51         LabelSep        xx
52         ParSkip         0.0
53         ItemSep         0.2
54         TopSep          0.7
55         BottomSep       0.7
56         ParSep          0.3
57         Align           Block
58         AlignPossible   Block
59         LabelType       Static
60         LabelString     "S phrase:"
61         LabelFont
62           Color         Green
63         EndFont
64 End
65