Thomas Pohl venit, vidit, dixit 2006-11-15 13:15:
> Hi, when I combine the output of text in a parbox with manual
> newlines ('//') and some horizontal alignment other then
> left-aligned, the output is not what I would expect. Please have a
> look at the example below which is based on one of the examples from
> the PyX web pages with some additional newlines:
...
> Without explicitly specifying the alignment, the output is rather
> strange. Or am I missing something and everyting works as expected?Interestingly, things behave differently in PyX 0.8.1 but still "incorrect". I assume you use 0.9 or svn? In order to achieve text alignment PyX sets \leftskip and \rightskip. \\ resets those. If you use \linebreak instead of \\ then everything comes out as expected. \\ is just a brutal thing to to ;) Cheers, Michael ------------------------------------------------------------------------- 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 _______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
