lyx_mirror/lib/layouts/hpstatement.module
Juergen Spitzmueller bbf287a3c6 Allow for cite engine and format definitions/modifications in layouts
Now layout files and modules can extend the cite engines or completely
overwrite them, and modify the cite formats.

Any CiteEngine definition in a layout/module will completely overwrite
those by cite engine files.

AddToCiteEngine will extend them (add if they do not exist yet).

Any CiteFormat definition in a layout will be preferred to those in cite
engines. CiteFormat definitions that are not touched by the former are
still active, though (so, as opposed to CiteEngine, a CiteFormat does
not completely overwrite those by the engine files).

Layout format change.
2018-05-21 12:46:53 +02:00

44 lines
948 B
Plaintext

#\DeclareLyXModule[hpstatement.sty]{Hazard and Precautionary Statements}
#DescriptionBegin
#Provides two insets to typeset numbers and phrases of chemical hazard
#and precautionary statements. For a description see the file
#H-P-statements.lyx in LyX's examples folder.
#DescriptionEnd
#Author: Uwe Stöhr <uwestoehr@web.de>
Format 68
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 green
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