W3C home > Mailing lists > Public > w3c-math-erb@w3.org > June 1996

Comments on parsing steps:

From: T. V. Raman <raman@adobe.com>
Date: Mon, 3 Jun 1996 09:42:42 -0700
Message-Id: <199606031642.JAA10149@labrador.mv.us.adobe.com>
To: w3c-math-erb@w3.org
From first reading, it appears that the step of "parsing embellishments"
e.g. superscripts, accents etc needs to happen *before* the operator
precedence parsing step.

Also, this will allow us to handle complex expressions appearing as
embellishments to other complex expressions correctly.

For an example, see Faa De Bruno's formula in my collection of examples,
especially the second version where the formula is rewritten with underbraces
marking off the separate chunks.

I'll append the TeX below in case you want to look at it:

\begin{equation}  \label{eq:faa-de-bruno-subst}
  D^n_xw = \sum_{0\le j\le n} \sum_{%
\underbrace{{\scriptstyle
        k_1+k_2+\cdots+k_n=j%
\atop {\scriptstyle%
          k_1+2k_2+\cdots+nk_n=n%
\atop {\scriptstyle%
            k_1,k_2,\ldots,k_n\ge0 }}}}_{\mbox{%
\em lower constraint1\/}}}%
D^j_u w%
  \frac{\overbrace{n!  {(D^1_x u)}^{k_1} \cdots
      {(D^n_x u)}^{k_n}} ^{\mbox{\em numerator 1\/}}}
  {\underbrace{k_1!{(1!)}^{k_1}
    \cdots k_n!{(n!)}^{k_n}}_{\mbox{\em denominator 1\/}}}
\end{equation}

-- 
Best Regards,
--raman

      Adobe Systems                 Tel: 1 (415) 962 3945   (B-1 115)
      Advanced Technology Group     Fax: 1 (415) 962 6063 
      (E 1-160) 1585 Charleston Road       Email: raman@adobe.com 
      Mountain View, CA 94039 -7900  raman@cs.cornell.edu
      http://www-atg/People/Raman.html (Internal To Adobe)
      http://www.cs.cornell.edu/Info/People/raman/raman.html  (Cornell)
Disclaimer: The opinions expressed are my own and in no way should be taken
            as representative of my employer, Adobe Systems Inc.
____________________________________________________________________________
Received on Monday, 3 June 1996 12:42:51 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 15 April 2023 17:19:57 UTC