mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
adefdf8eeb
This reverts commit 7c041af642
.
We will hold this back until we fix the issue discussed here:
https://marc.info/?l=lyx-devel&m=171733833610242&w=2
45 lines
1018 B
Plaintext
45 lines
1018 B
Plaintext
#\DeclareLyXModule[hpstatement.sty]{Chemistry: Hazard and Precautionary Statements}
|
|
#\DeclareCategory{Academic Field Specifics}
|
|
#DescriptionBegin
|
|
#Provides two insets to typeset numbers and phrases of chemical hazard
|
|
#and precautionary statements. For a description see
|
|
#Help > Specific Manuals > Hazard and Precautionary Statements.
|
|
#DescriptionEnd
|
|
#Author: Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
Format 104
|
|
|
|
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
|
|
Color textlabel2
|
|
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
|