I have following code: p = new Paragraph("Name", new RtfFont("Times New Roman", 14, RtfFont.BOLD)); p.setAlignment("LEFT"); document.add(p);
t = new Table(4, n); ......................... document.add(t); The output shows that there are some space between "Name" and the table like the following: Name: t1. John Smith t2. Mary Hill ... How can I remove the empty line between "Name:" and "t1. John Smith"? -Henry Bruno Lowagie wrote: >Henry Lu wrote: > > >>How do I print table-of-contents like format? >> >>Introduction Page 1 >>Chapter 1 Page 2 >>Chapter 2 Page 15 >>... >> >> > >Using a table. >I'm not sure if you're talking about PDF or RTF; >so please post the question again with the document >format in the subject. >br, >Bruno > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >iText-questions mailing list >iText-questions@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/itext-questions > > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions