Hi!
Can i place a text in one line on the left side and another text on the
right side in a simple way?
************************************
left right
"left\hfill right" in TeX
One way is to calculate the space between left and right, but is there
another simple way?
left + space(linewidth - width(left) - width(right)) + right
for example:
Chunk c1 = new Chunk("left ");
Chunk c2 = new Chunk("right");
Paragraph p = new Paragraph()
p.add(c1);
p.add(c2);
p.add(Chunk.NEWLINE);
p.setAlignment(Paragraph.ALIGN_STRETCH);
...
By
Michael
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions