[XeTeX] horizontal alignment

Philip TAYLOR P.Taylor at Rhul.Ac.Uk
Tue Nov 20 17:19:22 CET 2012



John Was wrote:
> Hello
>
> I'm not a LaTeX user but I think the standard plain TeX commands mostly
> work in that environment.  Could you not try giving:
>
> \begingroup
> \interlinepenalty10000
>
> STUFF YOU WANT TO KEEP ON SAME PAGE
>
> \endgroup

If you are going to advocate plain TeX solutions (as would I),
why not the most simple solutions of all :

\vtop
	\bgroup
		> STUFF YOU WANT TO KEEP ON SAME PAGE
	\egroup

or

\vbox
	\bgroup
		> STUFF YOU WANT TO KEEP ON SAME PAGE
	\egroup

Philip Taylor


More information about the XeTeX mailing list