[XeTeX] horizontal alignment

John Was john.was at ntlworld.com
Tue Nov 20 16:50:35 CET 2012


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

?

TeX should then never split the material within the group.


John



----- Original Message ----- 
From: "Lucio Crusca" <lucio at sulweb.org>
To: "Unicode-based TeX for Mac OS X and other platforms" <xetex at tug.org>
Sent: 20 November 2012 15:42
Subject: Re: [XeTeX] horizontal alignment


In data martedì 20 novembre 2012 14:05:48, Zdenek Wagner ha scritto:
> I would go even further. Within minipage LaTeX does a lot of things
> that are not explained in the user manual, it is necessary to dig into
> the LaTeX source code. among others it handles footnotes so that they
> appear inside the minipage. Do you really need all that? If it is done
> for positioning and nothing else, I would rather used \vbox or \vtop
> because their behaviur is pecisely described in The TeXbook.

I haven't had the time to try all other suggestions yet, but this one seems 
to
me a very good point. I used to use minipages (around the three rows 
content)
because I wanted those 3 rows to be kept together in the same page or moved 
to
the next page as a whole if they didn't fit the current page. Then I 
extended
the use of minipage to \classeentry because I hoped to obtain the same
alignment as \dogentrytrerighe that way, but that last minipage use is 
nothing
I actually need, since it didn't solve the horizontal alignment problem.

Now, if you can tell me another way of keeping the three rows on the same
page, I'd be more than happy to drop minipages altogether. Maybe that will 
fix
also the horizontal alignment problem as a side effect.




--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex 



More information about the XeTeX mailing list