[Rd] mtext adj= wrong with several las= (PR#7188)

Peter Dalgaard p.dalgaard at biostat.ku.dk
Wed Aug 25 00:04:07 CEST 2004

Paul Murrell <p.murrell at auckland.ac.nz> writes:

> I think the ideal would be to set padj automatically for multi-line
> text as well as single-line text (the current behaviour tries to set
> padj automatically for single-line text;  it's just not very good at
> it :).
> But whatever first step is good;  then we can more easily discuss
> actual behaviour and code examples.

A somewhat uninformed conjecture: You'll need to look at the TeXbook
again. Think of it like this: A single line of text forms a box that
has a top, a bottom, and a baseline, and you can align on either or on
some fraction between top and bottom. Multiple lines form a box too,
but you need a way to specify whether the baseline of the entire box
is defined by the top or the bottom line inside of it. In addition,
you need to specify alignment inside the box. Basically, we need a
more structured approach than a bunch of options that change meaning
depending on the setting of other options.

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907

More information about the R-devel mailing list