-#\DeclareLyXModule[rsphrase.sty]{Risk and Safety Statements}
+#\DeclareLyXModule[rsphrase.sty]{Chemistry: Risk and Safety Statements}
+#\DeclareCategory{Academic Field Specifics}
#DescriptionBegin
#Provides two insets and one environment to typeset numbers and phrases of
#chemical risk and safety statements. For a description see the file
#DescriptionEnd
#Author: Uwe Stöhr <uwestoehr@web.de>
-Format 44
-
-AddToPreamble
- \usepackage{rsphrase}
-EndPreamble
+Format 82
InsetLayout "Flex:R-S number"
LyxType custom
LatexType command
LatexName rsnumber
+ Requires rsphrase
LabelString "R-S number"
Font
Color foreground
Style "Safety phrase"
LatexType command
LatexName rsphrase
+ Requires rsphrase
Category MainText
NextNoIndent 1
Argument 1