]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/lyxmacros.inc
specify a background color for listings and allow the user to change it, patch by...
[lyx.git] / lib / layouts / lyxmacros.inc
index 42a41d7b9cdb4b8b4443a36baf44dc678875b7c3..939a851854716f4db2eeb646b0001f96fc8f7f4d 100644 (file)
@@ -8,8 +8,9 @@
 # be removed later.
 
 
-Format 5
+Format 8
 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
@@ -68,7 +69,6 @@ Style Right_Address
        BottomSep             1.5
        ParSep                1.5
        Align                 Left
-       AlignPossible         Left
        Preamble
                \newcommand{\lyxrightaddress}[1]{
                        \par {\raggedleft \begin{tabular}{l}\ignorespaces