X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Frsphrase.module;h=d01b54941b9351ae9666b9e0242c477cf4ffd593;hb=9c97021623b6db5239715eb543d65a5e779084b6;hp=06fde1bd7ce7cd32dbb9a103e68672b742507696;hpb=8254e84f8f696f0372ccc77f59148888e17a85fe;p=lyx.git diff --git a/lib/layouts/rsphrase.module b/lib/layouts/rsphrase.module index 06fde1bd7c..d01b54941b 100644 --- a/lib/layouts/rsphrase.module +++ b/lib/layouts/rsphrase.module @@ -1,4 +1,5 @@ -#\DeclareLyXModule[rsphrase.sty]{Risk and Safety Statements} +#\DeclareLyXModule[rsphrase.sty]{Chemistry: Risk and Safety Statements} +#\DeclareCategory{Academic Field Specifics} #DescriptionBegin #Provides two insets and one environment to typeset numbers and phrases of #chemical risk and safety statements. For a description see the file @@ -6,16 +7,13 @@ #DescriptionEnd #Author: Uwe Stöhr -Format 45 - -AddToPreamble - \usepackage{rsphrase} -EndPreamble +Format 80 InsetLayout "Flex:R-S number" LyxType custom LatexType command LatexName rsnumber + Requires rsphrase LabelString "R-S number" Font Color foreground @@ -42,6 +40,7 @@ End Style "Safety phrase" LatexType command LatexName rsphrase + Requires rsphrase Category MainText NextNoIndent 1 Argument 1