]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/rsphrase.module
Move RevTeX section in Additional.lyx into Chapter 3 Document classes
[lyx.git] / lib / layouts / rsphrase.module
index cd342413962b47a6d80deed55fa162361118b82b..13f688ee93263967317ca5046eab90c0cc03a6f6 100644 (file)
@@ -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 <uwestoehr@web.de>
 
-Format 44
-
-AddToPreamble
-       \usepackage{rsphrase}
-EndPreamble
+Format 98
 
 InsetLayout "Flex:R-S number"
        LyxType         custom
        LatexType       command
        LatexName       rsnumber
+       Requires        rsphrase
        LabelString     "R-S number"
        Font
          Color         foreground
@@ -28,7 +26,7 @@ InsetLayout "Flex:R-S number"
          Misc          No_Bar
        EndFont
        LabelFont
-         Color         green
+         Color         textlabel2
          Size          Small
        EndFont
 End
@@ -42,6 +40,7 @@ End
 Style "Safety phrase"
        LatexType       command
        LatexName       rsphrase
+       Requires        rsphrase
        Category        MainText
        NextNoIndent    1
        Argument 1
@@ -61,7 +60,7 @@ Style "Safety phrase"
        LabelType       Static
        LabelString     "S phrase:"
        LabelFont
-         Color         Green
+         Color         textlabel2
        EndFont
 End