X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Flyxmacros.inc;h=8d7c7e1c0eaea0f8091933a6efcf8d83c14ce36d;hb=246b3d79e676481d0b56eb051757763260648c5c;hp=2f4d1590949aeda5603448ae557f3cccda8bdf4d;hpb=9e5eebc14cd06f58000a4bd1903f157b65a3ab19;p=lyx.git diff --git a/lib/layouts/lyxmacros.inc b/lib/layouts/lyxmacros.inc index 2f4d159094..8d7c7e1c0e 100644 --- a/lib/layouts/lyxmacros.inc +++ b/lib/layouts/lyxmacros.inc @@ -8,8 +8,9 @@ # be removed later. -Format 6 +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