]> git.lyx.org Git - lyx.git/blob - lib/layouts/hpstatement.module
a9fad8553069a5e71c2e047cbe1329e6b2f66ff9
[lyx.git] / lib / layouts / hpstatement.module
1 #\DeclareLyXModule[hpstatement.sty]{Hazard and Precautionary Statements}
2 #DescriptionBegin
3 #Provides two insets to typeset numbers and phrases of chemical hazard
4 #and precautionary statements. For a description see the file 
5 #H-P-statements.lyx in LyX's examples folder.
6 #DescriptionEnd
7 #Author: Uwe Stöhr <uwestoehr@web.de>
8
9 Format 68
10
11 InsetLayout "Flex:H-P number"
12         LyxType                 custom
13         LatexType               command
14         LatexName               hpnumber
15         Requires                hpstatement
16         LabelString             "H-P number"
17         PassThru                1
18         
19         Font
20           Color                 foreground
21           Size                  Small
22           Family                Roman
23           Shape                 Up
24           Series                Medium
25           Misc                  No_Emph
26           Misc                  No_Noun
27           Misc                  No_Bar
28         EndFont
29         LabelFont
30           Color                 green
31           Size                  Small
32         EndFont
33 End
34
35 InsetLayout "Flex:H-P statement"
36         CopyStyle               "Flex:H-P number"
37         LatexName               hpstatement
38         LabelString             "H-P statement"
39         Argument 1
40           LabelString   "Statement Text"
41           Tooltip               "Text for statements that require some information"
42         EndArgument
43 End