2023-04-07 20:13:53 +00:00
|
|
|
#\DeclareLyXModule[rsphrase.sty]{Chemistry: Risk and Safety Statements (Obsolete)}
|
2019-04-07 09:21:21 +00:00
|
|
|
#\DeclareCategory{Academic Field Specifics}
|
2011-08-28 03:59:16 +00:00
|
|
|
#DescriptionBegin
|
|
|
|
#Provides two insets and one environment to typeset numbers and phrases of
|
2023-01-16 16:02:17 +00:00
|
|
|
#chemical risk and safety statements.
|
2023-04-08 15:27:31 +00:00
|
|
|
#Now obsoleted and officially replaced by GHS Hazard-Precautionary statement system in the EU.
|
2011-08-28 03:59:16 +00:00
|
|
|
#DescriptionEnd
|
|
|
|
#Author: Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
|
2023-07-28 22:21:47 +00:00
|
|
|
Format 104
|
2011-08-28 03:59:16 +00:00
|
|
|
|
|
|
|
InsetLayout "Flex:R-S number"
|
2013-01-12 14:31:16 +00:00
|
|
|
LyxType custom
|
|
|
|
LatexType command
|
|
|
|
LatexName rsnumber
|
2013-05-30 16:15:44 +00:00
|
|
|
Requires rsphrase
|
2013-01-12 14:31:16 +00:00
|
|
|
LabelString "R-S number"
|
2011-08-28 03:59:16 +00:00
|
|
|
Font
|
2013-01-12 14:31:16 +00:00
|
|
|
Color foreground
|
|
|
|
Size Small
|
|
|
|
Family Roman
|
|
|
|
Shape Up
|
|
|
|
Series Medium
|
|
|
|
Misc No_Emph
|
|
|
|
Misc No_Noun
|
|
|
|
Misc No_Bar
|
2011-08-28 03:59:16 +00:00
|
|
|
EndFont
|
|
|
|
LabelFont
|
2020-12-11 10:46:31 +00:00
|
|
|
Color textlabel2
|
2013-01-12 14:31:16 +00:00
|
|
|
Size Small
|
2011-08-28 03:59:16 +00:00
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout "Flex:R-S phrase"
|
2013-01-12 14:31:16 +00:00
|
|
|
CopyStyle "Flex:R-S number"
|
|
|
|
LatexName rsphrase
|
|
|
|
LabelString "R-S phrase"
|
2011-08-28 03:59:16 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
Style "Safety phrase"
|
2013-01-12 14:31:16 +00:00
|
|
|
LatexType command
|
|
|
|
LatexName rsphrase
|
2013-05-30 16:15:44 +00:00
|
|
|
Requires rsphrase
|
2013-01-12 14:31:16 +00:00
|
|
|
Category MainText
|
|
|
|
NextNoIndent 1
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2013-01-12 14:31:16 +00:00
|
|
|
LabelString "Phrase Text"
|
|
|
|
Tooltip "Argument for statements that requires to specify additional information"
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2013-01-12 14:31:16 +00:00
|
|
|
KeepEmpty 1
|
|
|
|
Margin Dynamic
|
|
|
|
LabelSep xx
|
|
|
|
ParSkip 0.0
|
|
|
|
ItemSep 0.2
|
|
|
|
TopSep 0.7
|
|
|
|
BottomSep 0.7
|
|
|
|
ParSep 0.3
|
|
|
|
Align Block
|
|
|
|
AlignPossible Block
|
|
|
|
LabelType Static
|
|
|
|
LabelString "S phrase:"
|
2011-08-28 03:59:16 +00:00
|
|
|
LabelFont
|
2020-12-11 10:46:31 +00:00
|
|
|
Color textlabel2
|
2011-08-28 03:59:16 +00:00
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|