]> git.lyx.org Git - features.git/blobdiff - lib/layouts/aastex.layout
DocBook: implement fancy color box.
[features.git] / lib / layouts / aastex.layout
index 5f1d37255fc6caf463fc5071f96ff0e90792a06b..114b2ede066c95d8be9df7c0d6eedc0a0d5cefb5 100644 (file)
 #                        - new environments for \altaffiltext and \tablenotetext
 # Version 1.5   26/11/12 - added mandatory argument for \altaffiltext
 # Version 1.6   23/01/15 - fix for the optional argument of \figcaption
+# Version 1.7   05/04/19 - Normalize layout name of \thebibliography
 
 # Note: aastex.cls was replaced by aastex6.cls (v.1 2016/02/16)
 #      in the CTAN and TeXLive "aastex" package in march 2016.
 #      The new "aastex6.layout" depends on aastex6.cls but inputs this
 #       file for the definitions (cf. LyX ticket #10027)
 
-Format 64
+Format 85
 Columns                        1
 Sides                  1
 #SecNumDepth           3
@@ -59,7 +60,7 @@ End
 
 
 Style Standard
-       Category        MainText
+       Category        MainText
        Margin          Static
        LatexType       Paragraph
        LatexName       dummy
@@ -68,6 +69,7 @@ Style Standard
        Align           Block
        AlignPossible   Block, Left, Right, Center
        LabelType       No_Label
+       DocBookTag      para
 End
 
 
@@ -153,6 +155,9 @@ Style Author
          Series        Medium
          Shape         SmallCaps
        EndFont
+       DocBookTag            personname
+       DocBookWrapperTag     author
+       DocBookInInfo         always
 End
 
 
@@ -170,6 +175,12 @@ Style Affiliation
          Family        Roman
          Size          Normal
        EndFont
+       DocBookTag                        affiliation
+       DocBookWrapperTag                 author
+       DocBookWrapperMergeWithPrevious   true
+       DocBookItemTag                    orgname
+       DocBookItemTagType                paragraph
+       DocBookInInfo                     always
 End
 
 
@@ -192,6 +203,13 @@ Style Altaffilation
        LabelFont
          Color         green
        EndFont
+       DocBookTag                        affiliation
+       DocBookAttr                       role='alternate'
+       DocBookWrapperTag                 author
+       DocBookWrapperMergeWithPrevious   true
+       DocBookItemTag                    orgname
+       DocBookItemTagType                paragraph
+       DocBookInInfo                     always
 End
 
 
@@ -211,6 +229,11 @@ Style Email
          Size          Normal
          Shape         Italic
        EndFont
+       DocBookTag                        email
+       DocBookTagType                    paragraph
+       DocBookWrapperTag                 author
+       DocBookWrapperMergeWithPrevious   true
+       DocBookInInfo                     always
 End
 
 
@@ -262,6 +285,11 @@ Style Abstract
          Series        Bold
          Size          Normal
        EndFont
+       DocBookAbstract       true
+       DocBookInInfo         always
+       DocBookWrapperTag     abstract
+       DocBookWrapperMergeWithPrevious    true
+       DocBookTag            para
 End
 
 
@@ -311,6 +339,10 @@ Style Keywords
          Shape         Italic
          Size          Normal
        EndFont
+       DocBookTag          keyword
+       DocBookTagType      paragraph
+       DocBookWrapperTag   keywordset
+       DocBookInInfo       always
 End
 
 
@@ -332,6 +364,8 @@ Style Acknowledgements
          Size          Normal
          Shape         Italic
        EndFont
+       DocBookTag            para
+       DocBookWrapperTag     acknowledgements
 End
 
 
@@ -404,10 +438,11 @@ Style MathLetters
        Font
          Size          Normal
        EndFont
+       DocBookTag  NONE
 End
 
 
-Style References
+Style Bibliography
        Margin          First_Dynamic
        LatexType       Bib_Environment
        LatexName       thebibliography
@@ -430,6 +465,20 @@ Style References
          Size          Normal
          Series        Bold
        EndFont
+       Argument listpreamble:1
+         LabelString    "Bib preamble"
+         MenuString     "Bibliography Preamble"
+         Tooltip        "LaTeX code to be inserted before the first bibliography item"
+         PassThru       1
+         Font
+           Family typewriter
+           Color latex
+         EndFont
+       EndArgument
+End
+
+Style References
+       Obsoletedby     Bibliography
 End
 
 
@@ -453,6 +502,9 @@ Style NoteToEditor
          Size          Normal
          Shape         Italic
        EndFont
+       DocBookTag      remark
+       DocBookTagType  paragraph
+       DocBookAttr     role='to-editor'
 End
 
 
@@ -473,6 +525,9 @@ Style TableRefs
          Family        Roman
          Size          Normal
        EndFont
+       DocBookTag      remark
+       DocBookTagType  paragraph
+       DocBookAttr     role='tablerefs'
 End
 
 
@@ -493,6 +548,9 @@ Style TableComments
          Family        Roman
          Size          Normal
        EndFont
+       DocBookTag      remark
+       DocBookTagType  paragraph
+       DocBookAttr     role='tablecomments'
 End
 
 
@@ -508,6 +566,9 @@ Style "Table note"
        LabelFont
          Color         magenta
        EndFont
+       DocBookTag      remark
+       DocBookTagType  paragraph
+       DocBookAttr     role='tablenote'
 End
 
 
@@ -530,6 +591,9 @@ InsetLayout "Flex:tablenotemark"
          Color         magenta
          Size          Small
        EndFont
+       DocBookTag      remark
+       DocBookTagType  paragraph
+       DocBookAttr     role='tablenotemark'
 End