Le 24/11/2015 01:21, Uwe Stöhr a écrit :
Yes. Sorry, I meant the extra space. And this was the reason why I once
added the possibility to set the vertical alignment in boxes - for this
application there must not be extra space as I demonstrated.
As we now have the infrastructure to display the alignment I would like
to re-implement to set the alignment for all boxes via \raggedright etc.
Or what stands in your opinion against this?
As I already explained in the relevant thread, there are already cases
where we do what you want: table cells and floats. It would be trivial
to extend this so that alignment is done like that also for makebox (we
do not want to change minipage/parbox, do we?).
I have to admit that this business of arbitrarily changing how alignment
should be done makes me a bit nervous. But we can do that.
To be fair, that are many things that are not obvious in the box dialog.
First: why would one choose parbox, minipage or makebox. This choice
assumes that one knows how LaTeX boxes work. In this case, one also
knows about alignment parameters, right?
Hmm, it is explained in the docs that a minipage is like a page and that
a parbox is like a small minipage while a makebox cannot have several
paragraphs. I think that we can assume that these differences can be
understood (OK the difference between parbox and minipage is quite
small). So in case the user understands the difference it is not clear
why he cannot set a horizontal alignment for the box content because
this is independent from if several paragraphs are allowed or not.
I meant without reading the docs. As for the difference between parbox
and makebox, do the manual explain LR mode? This is the key difference IMO.
JMarc