[l2h] A sum in the denominator of a fraction didn't look quite normal.

Ross Moore ross at ics.mq.edu.au
Wed Nov 4 07:34:26 CET 2009


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