Will Robertson wrote:
On 30/07/2008, at 5:18 PM, Abdelrazak Younes wrote:
Will Robertson wrote:
On 30/07/2008, at 4:01 PM, Abdelrazak Younes wrote:
I confirm this bug. Could you please put this in bugzilla.lyx.org?
Well, it's not so much a bug as a bad design decision.
But note that this mirrors what LaTeX itself, erroneously, does by
default.
Well, If I choose the 'Book' document class I don't see this. The
text is justified in LyX and ragged-right in the dvi. So that's a bug.
Nope, the only classes I know of that fixes this (i.e., use ragged
section headings) is memoir and koma-script:
OK, maybe I mixed it up and I chose Book (koma-script), I'll check it
out again.
\documentclass[draft]{article} %% justified
%\documentclass[draft]{book} %% justified
%\documentclass[draft]{memoir} %% ragged
%\documentclass[draft]{scrartcl} %% ragged
\begin{document}
\section{\hyphenchar\font=-1
MM MMM MMM MMMM MMM MM M
MMM MM MMM MM MM M MM MMM
MM MMM MMM MMMM}% justified; large spaces
\raggedright\Large\bfseries
MM MMM MMM MMMM MMM MM M
MMM MM MMM MM MM M MM MMM
MM MMM MMM MMMM
\end{document}
Well LyX tries to follow the justification you'll get with LateX. If
you mean to always ragged-right in LyX independently from LateX, then
that's something else. I think there's already an enhencement request
about that on bugzilla.
If LyX is intended to copy the style, then I'll write my request with
that in mind. I might also request an interface to the titlesec
package for customising section formatting. (Although you need
different methods for koma and memoir. Sigh.)
Good.
Abdel
PS: try keep the in list in copy please.