On Mon, Dec 18, 2000 at 09:46:12PM +0100, Lars Gullik Bj&resh;nnes wrote:
>
> | This is a change (to the worse) from 1.1.5, in which a table is centered
> | automatically.
>
> Which IMHO is wrong since that is not what LaTeX does by default.
I think that LyX is too LaTeX-centric. LyX should be a document processor
that uses LaTeX as its typesetter, and not a frontend to LaTeX.
Furthermore, we might add in the future support for other typesetters
(e.g. lout). So it shouldn't matter what is the default in LaTeX.
> | So from the user point of view we have the following choices:
> |
> | 1) When you first inserts a table, you are asked (in a dialog) if it is
> | inlined or centered(display).
>
> What if I want a flush-left tabular?
> Which is the default in LaTeX, and also already in LyX.
Then insert the table as inlined.
But usually, tables are centered.
> | 2) The table is centered by default. A button in the the insettable dialog
> | can change the status to inline (and back).
> |
> | Internally, we have the following choices:
> |
> | A) The inset stores its state (inline or centered), and creates the
> | necessary code for latex.
>
> no. centered is a property of the paragraph not of the inset.
Ideally, we shouldn't have paragraph properties, so you can only control the
paragraph appearance by selecting the proper layout (of course, this will
happen when there will be an easy way to define layouts).
So in this case, centered could(should) be a property of the inset.
Note that I don't know if this is really the right thing to do. I just gave
some justification for it.