]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/bicaption.module
Update my email and status.
[lyx.git] / lib / layouts / bicaption.module
index 774d999dc3d43e08991d5198c76d0154dd5ec3c0..131d8b3228dcaffef06024ad081ba38c968a423f 100644 (file)
@@ -5,15 +5,14 @@
 #DescriptionEnd
 #Author: Uwe Stöhr <uwestoehr@web.de>
 
-Format 41
+Format 43
 
 Style "Caption setup"
        LatexType               command
        LatexName               captionsetup
        Category                FrontMatter
        Argument 1
-               LabelString   "Caption Setup Options"
-               Shortcut      S
+               LabelString   "Caption Setup Options|S"
                Tooltip       "Options for the caption setup command (see bicaption manual)"
        EndArgument
        Margin                  Dynamic
@@ -35,30 +34,30 @@ Style "Caption setup"
        EndBabelPreamble
 End
 
-Style Bicaption
-       CopyStyle               "Caption setup"
-       LatexName               bicaption
-       Category                MainText
+
+InsetLayout Caption:Bicaption
+       LabelString          bilingual
+       LaTeXType            command
+       LatexName            bicaption
        Argument 1
-               LabelString   "Second Language Caption Short Title"
-               Tooltip       "A short title (for list of figures/tables) in the second language"
+               LabelString   "Main Language Caption Short Title"
+               Tooltip       "A short title (for list of figures/tables) in the document language"
        EndArgument
        Argument 2
                Mandatory     1
-               LabelString   "Second Language Caption Text"
-               Shortcut      S
-               Tooltip       "The caption text in the second language"
+               LabelString   "Main Language Caption Text|S"
+               Tooltip       "The caption text in the document language"
        EndArgument
        Argument 3
-               LabelString   "Main Language Caption Short Title"
-               Tooltip       "A short title (for list of figures/tables) in the main language"
+               LabelString   "Second Language Caption Short Title"
+               Tooltip       "A short title (for list of figures/tables) in the second language"
        EndArgument
-       TopSep                  0
-       Align                   Center
-       AlignPossible           Center
-       LabelString             "Multilingual caption:"
-       LabelFont
-               Color           Black
-       EndFont
+       HTMLStyle
+               div.float-caption {
+                       text-align: center;
+                       border: 2px solid black;
+                       padding: 1ex;
+                       margin: 1ex;
+               }
+       EndHTMLStyle
 End
-