2019-04-07 09:21:21 +00:00
|
|
|
#\DeclareLyXModule[rsphrase.sty]{Chemistry: Risk and Safety Statements}
|
|
|
|
#\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
|
|
|
|
#chemical risk and safety statements. For a description see the file
|
|
|
|
#R-S-statements.lyx in LyX's examples folder.
|
|
|
|
#DescriptionEnd
|
|
|
|
#Author: Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
|
2019-08-12 12:54:52 +00:00
|
|
|
Format 80
|
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
|
2013-01-12 14:31:16 +00:00
|
|
|
Color green
|
|
|
|
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
|
2013-01-12 14:31:16 +00:00
|
|
|
Color Green
|
2011-08-28 03:59:16 +00:00
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|