[l2h] A sum in the denominator of a fraction didn't lookquite normal.
Pat Somerville
l_pat_s at hotmail.com
Wed Nov 4 06:52:05 CET 2009
Thanks, Dr. or Mr. Shigeharu Takeno, for kindly taking the time to add your
points, particularly on how to use \displaystyle in the math mode in LaTeX.
I think Thorsten may have mentioned using displaystyle as another solution
to my sort of problem in the LaTeX-community Internet posting of someone
else to which I earlier referred. With your example it is good to see how
to use \displaystyle in the math mode.
Sorry, earlier in this chain of e-mail letters I used the words "partly
imaginary" in a way that might have been ambiguous for some people. I
should have instead used something unambiguous like "partly made-up;"
"imaginary" could have meant something times the square root of negative
one, which I did not mean.
Pat
----- Original Message -----
From: "Shigeharu TAKENO" <shige at iee.niit.ac.jp>
To: "Pat Somerville" <l_pat_s at hotmail.com>
Cc: <latex2html at tug.org>
Sent: Tuesday, November 03, 2009 11:21 PM
Subject: Re: [l2h] A sum in the denominator of a fraction didn't lookquite
normal.
> shige 11/04 2009
> ----------------
>
> Pat Somerville wrote:
>> \begin{equation}
>> y=\sum_{i=1}^n x_i
>> \end{equation}
>>
>> , it would look as it should after running a latex2html command on
>> the .tex file with the "i=1" below the summation sign (capital Greek
>> letter sigma) and the "n" above the summation sign. But when a sum
>> was arranged to be in the denominator of a fraction, say if I were to
>> type something like this:
>>
>> \begin{equation}
>> y=\frac{1}{\sum_{i=1}^n x_i}
>> \end{equation}
>>
>> , in the resulting latex2html, output, .html file the items
>> corresponding to "i=1" and "n" were not respectively placed at the
>> top and bottom of the summation sign. Instead they were placed right
>> after the summation sign, more like you might expect for the upper
>> and lower limits following an integral sign.
>
> I think this is not a question for latex2html but for LaTeX.
>
> If you want the output such as the latter one for the first
> source, you may do
>
> \begin{equation}
> y=\textstyle\sum_{i=1}^n x_i
> \end{equation}
>
> If you want the output such as the first one for the latter
> source, you may do
>
> \begin{equation}
> y=\frac{1}{\displaystyle\sum_{i=1}^n x_i}
> \end{equation}
>
> +========================================================+
> Shigeharu TAKENO NIigata Institute of Technology
> kashiwazaki,Niigata 945-1195 JAPAN
> shige at iee.niit.ac.jp TEL(&FAX): +81-257-22-8161
> +========================================================+
>
More information about the latex2html
mailing list