On 2009-09-05, [email protected] wrote:
> Can You, please, answer me on following questions?

> 1. Why in my text long spaces between words appear, it seems especially
> after using zoom? In Yap they are yet ok. on the other hand...

This is because LyX will try "block layout" (with even right and left
borders) by default. And as LyX cannot split words, large inter-word spaces
appear :-(

As LyX is not WYSIWYG, it should be possible to have left aligned text on
screen and block alignment in the output, the attached module is an
attempt to do so. However it does not work nicely for the standard
paragraph, as there is an interference with the "indent" vs. "skip"
setting for paragraph separation.


Usage: put in LYXDIR/layouts (~/.lyx/layouts on Unix) and select from the
Document>Settings.

Günter




#\DeclareLyXModule{leftalign}
#DescriptionBegin
#Left align text (instead of block align; on screen).
#DescriptionEnd

#Author: Günter Milde <[email protected]>

# Left align instead of block align (on screen)
# ---------------------------------------------

# As LyX's linebreaking algorithm does not include hyphenation of longer
# words, some very large inter-word spaces frequently occure (especially in
# languages with many long words as, e.g., German).

# Readability can be improved by setting the paragraph alignment 
# in the LyX window to "left".
# This does not influence the appearance of the printout.

# Drawbacks: 
#
# * the Edit>Paragraph Settings dialog will display "default (left)"
#   even if the default alignment of the class is "block".
#
# * Paragraph indentation is supressed (therefore currently commented out).


# Style Standard
#       Align                 Left
# End

#stdlists
Style Itemize
        Align                 Left
End

Style Description
        Align                 Left
End

Style Enumeration
        Align                 Left
End

Style List
        Align                 Left
End

Style Quotation
        Align                 Left
End

Style Quote
        Align                 Left
End

# stdsections
Style Part
        Align                 Left
End

Style Chapter
        Align                 Left
End


Style Section
        Align                 Left
End

Style Subsection
        Align                 Left
End

Style Subsubsection
        Align                 Left
End


Reply via email to