2019-04-07 09:21:21 +00:00
|
|
|
#\DeclareLyXModule[hpstatement.sty]{Chemistry: Hazard and Precautionary Statements}
|
|
|
|
#\DeclareCategory{Academic Field Specifics}
|
2015-05-28 18:36:35 +00:00
|
|
|
#DescriptionBegin
|
|
|
|
#Provides two insets to typeset numbers and phrases of chemical hazard
|
2023-01-16 16:02:17 +00:00
|
|
|
#and precautionary statements. For a description see
|
|
|
|
#Help > Specific Manuals > Hazard and Precautionary Statements.
|
2015-05-28 18:36:35 +00:00
|
|
|
#DescriptionEnd
|
|
|
|
#Author: Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
|
2024-06-03 14:37:02 +00:00
|
|
|
Format 104
|
2015-05-28 18:36:35 +00:00
|
|
|
|
|
|
|
InsetLayout "Flex:H-P number"
|
|
|
|
LyxType custom
|
|
|
|
LatexType command
|
|
|
|
LatexName hpnumber
|
|
|
|
Requires hpstatement
|
|
|
|
LabelString "H-P number"
|
|
|
|
PassThru 1
|
|
|
|
|
|
|
|
Font
|
|
|
|
Color foreground
|
|
|
|
Size Small
|
|
|
|
Family Roman
|
|
|
|
Shape Up
|
|
|
|
Series Medium
|
|
|
|
Misc No_Emph
|
|
|
|
Misc No_Noun
|
|
|
|
Misc No_Bar
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
2020-12-11 10:46:31 +00:00
|
|
|
Color textlabel2
|
2015-05-28 18:36:35 +00:00
|
|
|
Size Small
|
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout "Flex:H-P statement"
|
|
|
|
CopyStyle "Flex:H-P number"
|
|
|
|
LatexName hpstatement
|
|
|
|
LabelString "H-P statement"
|
|
|
|
Argument 1
|
|
|
|
LabelString "Statement Text"
|
|
|
|
Tooltip "Text for statements that require some information"
|
|
|
|
EndArgument
|
|
|
|
End
|