]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdinsets.inc
europeCV: complete revision of layout and example file
[lyx.git] / lib / layouts / stdinsets.inc
index 4bc60d9101aa483184615a47200fb7eff79164a0..322247485cd2eb8f14aa332cf342e1269b119812 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Detailed format description is available in the customization manual
 
-Format 38
+Format 41
 
 Provides stdinsets 1
 
@@ -170,7 +170,17 @@ InsetLayout Phantom
        ForcePlain            true
 End
 
-InsetLayout ListOfListings
+InsetLayout IPADeco
+       Decoration            minimalistic
+       Font
+         Color               foreground
+       EndFont
+       MultiPar              false
+       CustomPars            false
+       ForcePlain            true
+End
+
+InsetLayout TOC:Listings
        # We need the [[List of Listings]] context, since "Listings" is also
        # the name of the inset and translated differently.
        # "Listings[[List of Listings]]" is the name of the "List of listings"
@@ -187,7 +197,7 @@ InsetLayout ListOfListings
        EndLangPreamble
 End
 
-InsetLayout IncludeListings
+InsetLayout Include:Listings
        BabelPreamble
                \addto\captions$$lang{\renewcommand{\lstlistingname}{_(Listing)}}
        EndBabelPreamble
@@ -200,7 +210,7 @@ InsetLayout IncludeListings
 End
 
 InsetLayout Listings
-       CopyStyle IncludeListings
+       CopyStyle Include:Listings
        LabelString           Listings[[inset]]
        LatexType             none
        Decoration            minimalistic
@@ -390,12 +400,13 @@ InsetLayout "Flex:URL"
 End
 
 InsetLayout Argument
-       LabelString           opt
+       LabelString           Argument
        LabelFont
          Color               collapsable
          Size                Small
        EndFont
        MultiPar              false
+       ForceLocalFontSwitch  1
 End
 
 InsetLayout Info
@@ -459,6 +470,12 @@ InsetLayout Info:shortcuts
 End
 
 InsetLayout Caption
+       LaTeXType            command
+       LatexName            caption
+       Argument 1
+               LabelString   "Short Title|S"
+               Tooltip       "The caption as it appears in the list of figures/tables"
+       EndArgument
        HTMLStyle
                div.float-caption {
                        text-align: center;