X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdlayouts.inc;h=d1766ca476c2e3dd9902fdfc71af924d52c1fd74;hb=2841a1c06315edb7dd3a264746c093ee4c1a7c9f;hp=dbc01612c635b373b43e38d014e6e27dc9abd11b;hpb=04efe3c40a01b25f8b0561771a5698d1dda0567d;p=lyx.git diff --git a/lib/layouts/stdlayouts.inc b/lib/layouts/stdlayouts.inc index dbc01612c6..d1766ca476 100644 --- a/lib/layouts/stdlayouts.inc +++ b/lib/layouts/stdlayouts.inc @@ -1,36 +1,21 @@ # 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 include files contains various standard environments for lists, # quotations and such. -Format 4 -Style Quotation - Margin Static - LatexType Environment - LatexName quotation - NextNoIndent 1 - LeftMargin MMM - RightMargin MMM - ParIndent MM - ParSkip 0 - ItemSep 0 - TopSep 0.5 - BottomSep 0.5 - ParSep 0 - Align Block - AlignPossible Block, Left, Right, Center -End - +Format 100 Style Quote + Category MainText Margin Static LatexType Environment LatexName quote NextNoIndent 1 + ToggleIndent Never LeftMargin MMM RightMargin MMM TopSep 0.5 @@ -38,13 +23,29 @@ Style Quote BottomSep 0.5 Align Block AlignPossible Block, Left, Right, Center - LabelType No_Label + HTMLTag blockquote + HTMLItem div + DocBookWrapperTag blockquote + DocBookWrapperMergeWithPrevious true + DocBookTag para +End + + +Style Quotation + CopyStyle Quote + LatexName quotation + ToggleIndent Always + ParIndent MM + ParSkip 0 + ItemSep 0 + ParSep 0 End Style Verse # LaTeX type is first dynamic because of LaTeX implementation. # In LyX this does not make sense. + Category MainText LatexType Environment LatexName verse Margin First_Dynamic @@ -58,8 +59,39 @@ Style Verse Align Block AlignPossible Block, Left LabelType No_Label + HTMLTag blockquote + HTMLItem p + DocBookTag literallayout + DocBookTagType paragraph End +Style Verbatim + Category MainText + LatexType Environment + LatexName verbatim + NextNoIndent 1 + ParbreakIsNewline 1 + FreeSpacing 1 + PassThru 1 + NeedCProtect 1 + KeepEmpty 1 + NewLine 0 + TopSep 0.7 + BottomSep 0.7 + Align Block + AlignPossible Block + LabelType No_Label + Font + Family Typewriter + EndFont + HTMLTag pre + HTMLItem NONE + DocBookTag programlisting +End +Style Verbatim* + CopyStyle Verbatim + LatexName verbatim* +End