]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/lyxmacros.inc
Question environments, from Russ Woodroofe.
[lyx.git] / lib / layouts / lyxmacros.inc
index c871ca3333dc6affb841c706e47db4809e0997e9..7fe8f5d7057084a34e9ac154d098ba91aa40c0e2 100644 (file)
@@ -1,6 +1,6 @@
 # Standard textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
-# Transposed by Pascal André <andre@via.ecp.fr>
+# Transposed by Pascal André <andre@via.ecp.fr>
 # Heavily modifed and enhanced by several developers.
 
 # This file contains some special LyX environments that are used by
@@ -8,7 +8,9 @@
 # be removed later.
 
 
+Format 11
 Style LyX-Code
+       Category              MainText
        Margin                Static
        LatexType             Environment
        LatexName             lyxcode
@@ -23,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
@@ -33,7 +35,7 @@ Style LyX-Code
                         \item[]}
                        {\end{list}}
        EndPreamble
-       Font 
+       Font
          Family              Typewriter
        EndFont
 End
@@ -51,7 +53,7 @@ Style Address
        LabelType             No_Label
        Preamble
                \newcommand{\lyxaddress}[1]{
-                       \par {\raggedright #1 
+                       \par {\raggedright #1
                        \vspace{1.4em}
                        \noindent\par}
                }
@@ -67,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