On Wednesday 03 December 2003 2:56 pm, John Levon wrote: > On Wed, Dec 03, 2003 at 02:50:21PM +0000, Angus Leeming wrote: > > >> > \normal{\foo{xxx\normal{nnn}xxx}} > > >> > and > > >> > \normal{\foo{xxx}nnn\foo{xxx}} > > >> > > >> Let \foo be \small and you will see a difference. > > > > > > How ? > > > > By trying it out and seeing what the difference is, perchance? > > We're not talking about LaTeX anyway, we're talking about LCS nesting. I > assumed the format was mere notational convenience. > > The latex backend could produce either form.
Fair enough. In that case the way I would think about whether the two are the same is to use a mathematical analogy. Coord r(0,0); Translate(r, (10,0)); // r == (10,0) Rotate(r,90); // r == (0,10) Translate(r,(20,0)); // r == (20,10) which, if Translate and Rotate return a reference to r, can be written also as Translate(Rotate(Translate(r, (10,0)), 90),(20,0)); Playing around with the brackets here will lead to a very different solution. Of course, I'm not sure if the analogy is applicable, but I would be wary when saying that the two are equivalent always. Angus