On 18.08.08, Vincent van Ravesteijn - TNW wrote:

> > Actually, it is for left-aligning (on-screen) most paragraph Styles
> > *except* "Standard", as (by some bug) a "Standard" paragraphs' first 
> > line is not indented if the paragraphs alignment is set to 'left-align'.

> This is not a (some) bug of LyX, but the behaviour of LateX. 
> So far I can see, none of the paragraphs will be indented in a
> \flushleft environment. Moreover, a vertical space is introduced
> between two \flushleft environments. 

Confirmed. So LyX mirrors the LaTeX output -- at least partially: 

the actual LyX bug is not showing the additional vertical space between
the paragraphs if the alignment is set to "left".

However, the base idea of this thread was to left-align text in the LyX
GUI window even if the LaTeX output is block aligned. This is a "good
thing", as
  * there is no auto-hyphenation in the GUI
  * text lines are (usually) shorter than in the printout.
which      leads      to       ugly     spaces     in      the      text
in many cases.  


> Although LyX suggests that left alignment means 'no justification', it
> should only be used if you want the aforementioned behaviour. Maybe
> this should be presented less confusing in the Paragraph settings
> dialog.

It could be argued that LyX should generate LaTeX output that honours
the setting of 

  Document>Settings>Text Format: 

  Separate Paragraphs by
   (*) Indent
   ( ) Vertical space

for left-aligned as well as block-aligned paragraphs.

Also, the additional vspace between left-aligned paragraphs is
added to the vertical space set with 
  \setlength{\parskip}{\medskipamount}
for 
  Separate Paragraphs by
   ( ) Indent
   (*) Vertical space

by LyX (1.5). This is a general problem, see also LyX bug #4796.


> Second, wouldn't it be nice to have a document setting saying whether
> you would like to indent the first the first paragraph after a section
> heading. 

> I don't know for English, but at least in Dutch it is common
> practice not to indent. If you want this, you now have to select each
> first paragraph individually and say it should not be aligned.

This is normally catered for by the chosen document class. If I remember
right, KOMA classes use the European convention (not to indent).

The package "indentfirst" does the opposite.

> This unavoidably leads to documents in which some of the first
> paragraphs are indented and some others are not (if you are not that
> awake constantly).

This is why you should use a package/document setting for this instead.

Günter

Reply via email to