File: hpstatement.module

package info (click to toggle)
lyx 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 138,444 kB
  • sloc: cpp: 244,268; ansic: 106,398; xml: 72,791; python: 39,384; sh: 7,666; makefile: 6,584; pascal: 2,143; perl: 2,101; objc: 1,084; tcl: 163; sed: 16
file content (44 lines) | stat: -rw-r--r-- 1,018 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#\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 111

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