2 Feb 05:46
Horizontal alignment of texts in different nodes
Malcolm Ross <Malcolm.Ross <at> anu.edu.au>
2007-02-02 04:46:38 GMT
2007-02-02 04:46:38 GMT
I am attempting to draw a tree using the commands from the Trees library, but one small matter has defeated me. I have nodes containing 2-3 lines of text, and these nodes are horizontally aligned with each other. I would like, say, the two lines of text in horizontally adjacent nodes also to be horizontally aligned, but this does not always happen. If the top line of one node contains a letter with an ascender (e.g. b, d, f) and the top line of the adjacent node contains only letters without ascenders (e.g. c, e, g, s), then the top-line baselines are not aligned from node to node because the presence of the ascender in one changes its line height. Spacing between the lines of the label also seems to be altered by ascenders and descenders. I have the feeling that \pgftext ought to offer a solution to this problem, but I am unable to make it work inside a tree node. Any solutions would be very gratefully received. Malcolm Ross _____________________________________ Malcolm D. Ross Professor, Department of Linguistics Research School of Pacific and Asian Studies Building No. 9, The Australian National University CANBERRA A.C.T. 0200, Australia http://rspas.anu.edu.au/people/personal/rossm_ling.php http://rspas.anu.edu.au/linguistics/projects/biomdr.html ANU CRICOS Provider Number is 00120C ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
RSS Feed