]> git.lyx.org Git - lyx.git/blob - lib/layouts/rsphrase.module
Fix the tab ordering of PanelStack and PrefsUi.
[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 35
10
11 AddToPreamble
12         \usepackage{rsphrase}   % load chemical risk and safety statements
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         OptionalArgs            1
48         KeepEmpty               1
49         Margin                  Dynamic
50         LabelSep                xx
51         ParSkip                 0.0
52         ItemSep                 0.2
53         TopSep                  0.7
54         BottomSep               0.7
55         ParSep                  0.3
56         Align                   Block
57         AlignPossible           Block
58         LabelType               Static
59         LabelString             "S phrase:"
60         LabelFont
61                 Color           Green
62         EndFont
63 End
64