Jürgen Spitzmüller wrote:
Richard Heck wrote:
Putting this:
    Align Left
    AlignPossible Left
now has a different effect than it might once have had. Now, doing this
allows left alignment to be set explicitly, over-riding whatever the
LaTeX class would do. This is probably not the intention...and it
doesn't actually work, anyway.
I think the intention was to reduce the possibilities of alignment choices. So ...
Right. But you don't have to do this now. Simply not having an AlignPossible is equivalent to allowing only the one thing.
The more significant one is 20438, actually, which removes cases like this:
    Layout Section
       NeedsProtect 1
       Align Left
       AlignPossible Left, Block
the reason being that setting alignment to block here won't actually
work: It throws a LaTeX error. It's also not the right way to proceed.
this would limit the choices to Left and Block and disable Right and Centered. I cannot judge whether these tags make sense in the case where you removed them, but I think in principle this is very useful.

So if it's broken, we should rather fix it than remove it. Note that I'm talking out of the blue, however.
There was a lot of discussion of this a while back when I was trying to fix this, and the conclusion---as I remember it---was that how section titles and the like are formatted is a document-class issue, not something that should be tweaked within LyX. Fixing it is hard, or at least causes problems. The issue is this: If you put the alignment command inside \section, then it needs to be protected; but then it causes chaos in the toc, page headers, etc. If, on the other hand, you put it outside \section, then it works, but it leads to ugly and very unnatural LaTeX---at least according to JMarc. I'm no LaTeXpert, so I'm not competent to judge.

Richard

--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto

Reply via email to