]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/lyxmacros.inc
* UserGuide.lyx
[lyx.git] / lib / layouts / lyxmacros.inc
index 2f4d1590949aeda5603448ae557f3cccda8bdf4d..939a851854716f4db2eeb646b0001f96fc8f7f4d 100644 (file)
@@ -8,8 +8,9 @@
 # be removed later.
 
 
-Format 6
+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