|
From: Michael J G. <mic...@us...> - 2011-07-22 12:26:20
|
The widespread use of \newline (in the incarnation \\) for enforcing linebreaks causes many problems with the alignment of parboxes. \linebreak is the correct way to force a line break without destroying alignment. --- examples/text/halign.txt | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/examples/text/halign.txt b/examples/text/halign.txt index a9d15e3..b1453d0 100644 --- a/examples/text/halign.txt +++ b/examples/text/halign.txt @@ -23,3 +23,7 @@ well, when you do not create a parbox. !! 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. -- 1.7.6.336.gdf067 |