]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/lyxmacros.inc
AEA.layout: restore a style
[lyx.git] / lib / layouts / lyxmacros.inc
index ee1eb8c5835ef54e848363e750e9e7e5d9a81a96..8d7c7e1c0eaea0f8091933a6efcf8d83c14ce36d 100644 (file)
@@ -8,8 +8,9 @@
 # be removed later.
 
 
-Format 5
+Format 45
 Style LyX-Code
+       Category              MainText
        Margin                Static
        LatexType             Environment
        LatexName             lyxcode
@@ -24,7 +25,7 @@ Style LyX-Code
        FreeSpacing           1
        Preamble
                \newenvironment{lyxcode}
-                       {\begin{list}{}{
+                       {\par\begin{list}{}{
                                \setlength{\rightmargin}{\leftmargin}
                                \setlength{\listparindent}{0pt}% needed for AMS classes
                                \raggedright
@@ -41,6 +42,7 @@ End
 
 
 Style Address
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             lyxaddress
@@ -61,6 +63,7 @@ End
 
 
 Style Right_Address
+       Category              FrontMatter
        Margin                Right_Address_Box
        LatexType             Command
        LatexName             lyxrightaddress