X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdlayouts.inc;h=3ec97bd48e74b32763ff87cb02fba30c7da5e3d2;hb=a3036539b27ddde4af7bb706dbad061e13ae046e;hp=8a777964596a174478b5a901021b7174344b4549;hpb=a60b5c0b722b5c69bdf4504f37eb1ec2f927d8cc;p=lyx.git diff --git a/lib/layouts/stdlayouts.inc b/lib/layouts/stdlayouts.inc index 8a77796459..3ec97bd48e 100644 --- a/lib/layouts/stdlayouts.inc +++ b/lib/layouts/stdlayouts.inc @@ -1,13 +1,16 @@ # 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 43 + Style Quotation + Category MainText Margin Static LatexType Environment LatexName quotation @@ -22,10 +25,13 @@ Style Quotation ParSep 0 Align Block AlignPossible Block, Left, Right, Center + HTMLTag blockquote + HTMLItem div End Style Quote + Category MainText Margin Static LatexType Environment LatexName quote @@ -38,12 +44,15 @@ Style Quote Align Block AlignPossible Block, Left, Right, Center LabelType No_Label + HTMLTag blockquote + HTMLItem div 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 @@ -57,25 +66,50 @@ Style Verse Align Block AlignPossible Block, Left LabelType No_Label + HTMLTag blockquote + HTMLItem p End -Style Caption - Margin First_Dynamic - LatexType Command - LatexName caption - NeedProtect 1 - LabelSep xx - ParSkip 0.4 - TopSep 0.5 - Align Center - AlignPossible Center - LabelType Sensitive - LabelString Caption - OptionalArgs 1 - LabelFont - Series Bold +Style Verbatim + Category MainText + LatexType Environment + LatexName verbatim + NextNoIndent 1 + ParbreakIsNewline 1 + FreeSpacing 1 + PassThru 1 + NewLine 0 + ParSkip 0.4 + TopSep 0.7 + BottomSep 0.7 + ParSep 0.5 + Align Block + AlignPossible Block + LabelType No_Label + Font + Family Typewriter EndFont + HTMLTag

+	HTMLItem		p
 End
 
 
+Style --Separator--
+	Category              MainText
+	KeepEmpty             1
+	Margin                Dynamic
+	LatexType             Paragraph
+	LatexName             dummy
+	ParIndent             MM
+	Align                 Block
+	LabelType             Static
+	LabelString           "--- Separate Environment ---"
+	LabelFont
+	  Family              Roman
+	  Series              Medium
+	  Size                Normal
+	  Color               Blue
+	EndFont
+	HTMLLabel             NONE
+End