Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

LyX displays text in ERT layouts block aligned, and there is no "align" parameter for the inset layouts (such parameter exists for styles, and may take values such as Left, Block...).

I don't find it useful in any way to have ERT text displayed block-aligned in LyX, it's even inconvenient while editing and less readable, so I'm wondering is there any way I could change it to left-align?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

I got the answer from LyX mailing list. It's by redefining the Plain Layout as follows:

Style "Plain Layout"
    Align Left
End
share|improve this answer
    
How do I apply this in Lyx? –  hkBattousai Mar 25 '13 at 14:48
add comment

I have the following in my preambles and custom layouts:

InsetLayout ERT
    Align Left   # For readibility onscreen, regardless of justification in document
End
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.