X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Flyxmacros.inc;h=8d7c7e1c0eaea0f8091933a6efcf8d83c14ce36d;hb=9c8955ffd9df1a38a617bcbdf011c7b890ea23d1;hp=251c31f88ee34783842b27c5dc52580c7d28d8a7;hpb=a60b5c0b722b5c69bdf4504f37eb1ec2f927d8cc;p=lyx.git diff --git a/lib/layouts/lyxmacros.inc b/lib/layouts/lyxmacros.inc index 251c31f88e..8d7c7e1c0e 100644 --- a/lib/layouts/lyxmacros.inc +++ b/lib/layouts/lyxmacros.inc @@ -1,6 +1,6 @@ # Standard textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich -# Transposed by Pascal André +# Transposed by Pascal André # 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 45 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 @@ -40,6 +42,7 @@ End Style Address + Category FrontMatter Margin Static LatexType Command LatexName lyxaddress @@ -60,6 +63,7 @@ End Style Right_Address + Category FrontMatter Margin Right_Address_Box LatexType Command LatexName lyxrightaddress @@ -67,7 +71,6 @@ Style Right_Address BottomSep 1.5 ParSep 1.5 Align Left - AlignPossible Left Preamble \newcommand{\lyxrightaddress}[1]{ \par {\raggedleft \begin{tabular}{l}\ignorespaces