Hi there,
I suggest adding a warning to the halign example, pointing out the use
of \linebreak versus \newline (aka \\) in text boxes. \newline destroys
proper aligning. Alas, \\ is often recommended as a way to enforce line
breaks in TeX. This is wrong but widespread, so a warning is warranted.
Cheers,
Michael
Ref.: Discussion on pyx-users, thread off
<[EMAIL PROTECTED]>
Index: examples/text/halign.txt
===================================================================
--- examples/text/halign.txt (Revision 2856)
+++ examples/text/halign.txt (Arbeitskopie)
@@ -23,3 +23,7 @@
!! Note that the alignment features are implemented in such a way, that they work
in both, TeX and LaTeX mode. Furthermore, you can always influence the
alignment of the box contents by appropriate TeX and LaTeX commands as well.
+
+!! If you want to enforce line breaks in a parbox use `\linebreak`, not `\newline` (which
+is equivalent to `\\`). `\linebreak` makes sure that horizontal alignment is preserved
+throughout the text box.
-------------------------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-devel