Am 13.02.2012 23:59, schrieb Uwe Stöhr:

I wonder how you can get away without at least a subset of
NewLine 0
FreeSpacing 1
PassThru 1
ParbreakIsNewline 1
Spellcheck 0

I don't understand.

OK, now I got it.

I'm not sure about
Spellcheck 0
because you might want to spell check the content. If the user don#t want this, 
he can skip it.

NewLine 0
is indeed necessary for the case that you indent paragraph beginnings. As this is the default LyX setting, we should use this NewLine setting.

Attached is a better patch.

thanks and regards
Uwe
Index: stdlayouts.inc
===================================================================
--- stdlayouts.inc	(revision 40746)
+++ stdlayouts.inc	(working copy)
@@ -71,6 +71,30 @@
 End
 
 
+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			<pre></pre>
+	HTMLItem		p
+End
+
+
 Style --Separator--
 	Category              MainText
 	KeepEmpty             1

Reply via email to