[texhax] TeX vs LaTeX primitives

Victor Ivrii vivrii at gmail.com
Mon Dec 30 09:48:34 CET 2013

On Mon, Dec 30, 2013 at 1:16 AM, Reinhard Kotucha
<reinhard.kotucha at web.de>wrote:

> If you are using TeX primitives instead of LaTeX macros you certainly
> lose parts of LaTeX's functionality.

Reinhard's response raises in me 2 questions (apart of the question of
etiquette which I suspect could be discussed longer than the developments
of LaTeX 3, industrial use of controlled fusion and fixing all bugs in MSW

1) In particular: I use very seldom hbox to avoid breakage of lines in
multiline environment (f.e. in the title of the chapter) or  for some other
exotic reasons (example below) when everything else I tried failed. What
one can do instead?

2) How in general distinguish truly LaTeX macros?

Victor Ivrii


I wanted a kind of multiline but with right hand expressions aligned by
their left (so no multiline with \shoveright{}) but I wanted the
``overlapping'' of the left and rich hand expressions (so normal align
would not work). I cannot recall  how I found solution below but it
produced result I wanted:



\begin{array}{@{} l l @{}r}
x \upsilon_n =&\frac{1}{2} \Bigl(
(2n+2)^{1/2}\upsilon_{n+1} + (2n)^{1/2}\upsilon_{n-1}\Bigr),\\[10pt]
x^2 \upsilon_n =&
(2n+2)^{1/2}(2n+4)^{1/2}\upsilon_{n+2} + (4n+2)\upsilon_n +
\hbox to 0pt{$\bigl(x ^2-2n-1)\upsilon_n =$\hss} \\[5pt]
(2n+2)^{1/2}(2n+4)^{1/2}\upsilon_{n+2} -
2(2n+1) \upsilon_n+
\hbox to 0pt{$x\bigl(x ^2-2n-1)\upsilon_n =$\hss}\\[10pt]
(2n+2)^{1/2}(2n+4)^{1/2}(2n+6)^{1/2}\upsilon_{n+3} -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20131230/b46df2c5/attachment-0001.html>

More information about the texhax mailing list