]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/rsphrase.module
Add icon library to link target - needed on Mac OS X - thanks Kornel
[lyx.git] / lib / layouts / rsphrase.module
index 9a4fd4ec4f0b9700a270a81bd7c72675d231d4a4..9a3d2a3cbca3acf245bd10d07cecbc4434fcbbdf 100644 (file)
@@ -6,63 +6,60 @@
 #DescriptionEnd
 #Author: Uwe Stöhr <uwestoehr@web.de>
 
-Format 40
-
-AddToPreamble
-       \usepackage{rsphrase}   % load chemical risk and safety statements
-EndPreamble
+Format 53
 
 InsetLayout "Flex:R-S number"
-       LyxType                 custom
-       LatexType               command
-       LatexName               rsnumber
-       LabelString             "R-S number"
+       LyxType         custom
+       LatexType       command
+       LatexName       rsnumber
+       Requires        rsphrase
+       LabelString     "R-S number"
        Font
-         Color                 foreground
-         Size                  Small
-         Family                Roman
-         Shape                 Up
-         Series                Medium
-         Misc                  No_Emph
-         Misc                  No_Noun
-         Misc                  No_Bar
+         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
+         Color         green
+         Size          Small
        EndFont
 End
 
 InsetLayout "Flex:R-S phrase"
-       CopyStyle               "Flex:R-S number"
-       LatexName               rsphrase
-       LabelString             "R-S phrase"
+       CopyStyle       "Flex:R-S number"
+       LatexName       rsphrase
+       LabelString     "R-S phrase"
 End
 
 Style "Safety phrase"
-       LatexType               command
-       LatexName               rsphrase
-       Category                MainText
-       NextNoIndent            1
+       LatexType       command
+       LatexName       rsphrase
+       Requires        rsphrase
+       Category        MainText
+       NextNoIndent    1
        Argument 1
-               LabelString   "Safety Phrase Option"
-               Shortcut      S
-               Tooltip       "Optional argument to the rsphrase command"
+         LabelString   "Phrase Text"
+         Tooltip       "Argument for statements that requires to specify additional information"
        EndArgument
-       KeepEmpty               1
-       Margin                  Dynamic
-       LabelSep                xx
-       ParSkip                 0.0
-       ItemSep                 0.2
-       TopSep                  0.7
-       BottomSep               0.7
-       ParSep                  0.3
-       Align                   Block
-       AlignPossible           Block
-       LabelType               Static
-       LabelString             "S phrase:"
+       KeepEmpty       1
+       Margin          Dynamic
+       LabelSep        xx
+       ParSkip         0.0
+       ItemSep         0.2
+       TopSep          0.7
+       BottomSep       0.7
+       ParSep          0.3
+       Align           Block
+       AlignPossible   Block
+       LabelType       Static
+       LabelString     "S phrase:"
        LabelFont
-               Color           Green
+         Color         Green
        EndFont
 End