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