[l2h] A sum in the denominator of a fraction didn't look quite normal.
Pat Somerville
l_pat_s at hotmail.com
Sun Nov 8 06:06:46 CET 2009
Thanks for responding to this issue. However, for me in a .tex file a LaTeX
command involving \sum\nolimits... in the denominator of a fraction, after
running "latex2html.............." on the .tex file, in the so-produced
.html file did not produce a perfect-looking summation with the limits only
above and only below the summation symbol, the capital Greek letter sigma
(Instead the limits were positioned somewhat after the summation symbol,
more like where the limits following an integral sign would be.); as
suggested earlier for me, using \sum\limits.., however, was a good solution
for me to produce the good-looking summation with the limits above and below
the capital Greek letter sigma, just as they should be placed. So this is
an example, but probably not exactly the same as mine, of what generally
worked well for me in a .tex file:
\begin{equation}
y=\sum\limits_{i=1}^n x_i
\end{equation}
.
Pat
--------------------------------------------------
From: "Ross Moore" <ross at ics.mq.edu.au>
Sent: Wednesday, November 04, 2009 1:34 AM
To: "Shigeharu TAKENO" <shige at iee.niit.ac.jp>
Cc: "Pat Somerville" <l_pat_s at hotmail.com>; <latex2html at tug.org>
Subject: Re: [l2h] A sum in the denominator of a fraction didn't look quite
normal.
>
> On 04/11/2009, at 3:21 PM, Shigeharu TAKENO wrote:
>
>> 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}
>
> A better way, perhaps, is:
>
> \begin{equation}
> y=\sum\nolimits_{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}
>
> ... and similarly:
>
> \begin{equation}
> y=\frac{1}{\sum\limits_{i=1}^n x_i}
> \end{equation}
>
> This way you do not have to worry about the scope
> of the \textstyle or \displaystyle which can also
> alter the size of the \sum symbol, and would affect any
> fractions that follow afterwards, as well as other things.
>
> Use of \limits and \nolimits is applicable to all
> operators, including textual ones; e.g.
> \operatorname{Hom}
>
>
>>
>> +========================================================+
>> Shigeharu TAKENO NIigata Institute of Technology
>> kashiwazaki,Niigata 945-1195 JAPAN
>> shige at iee.niit.ac.jp TEL(&FAX): +81-257-22-8161
>> +========================================================+
>
>
> Hope this helps,
>
> Ross
>
> ------------------------------------------------------------------------
> Ross Moore ross at maths.mq.edu.au
> Mathematics Department office: E7A-419
> Macquarie University tel: +61 (0)2 9850 8955
> Sydney, Australia 2109 fax: +61 (0)2 9850 8114
> ------------------------------------------------------------------------
>
>
>
>
More information about the latex2html
mailing list