# [OS X TeX] Not macOS specific, but (La)TeX nonetheless: 2 math formula questions

Herbert Schulz herbs at wideopenwest.com
Sat Apr 24 16:35:52 CEST 2021


> On Apr 24, 2021, at 8:56 AM, Gerben Wierda via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
>
> Hello community,
>
> I had some need to do some TeX formula editing and it has been a while.
>
> I was wondering why in this formula
>
> $$K_{\mbox{\small Org}} = \sum_{L=0}^{L_{\hbox{\tiny Org,max}}}{\left(\frac{\displaystyle \sum_{e=1}^{e=e_{\hbox{\tiny max}}}k_e}{(L+1)e_{\hbox{\tiny max}}}\right)}$$
>
>
> <PastedGraphic-1.png>
>
> the formula inside the large () is not vertically centered (and how I get it that way).
>
> I also was wondering if a larger initial \sum symbol woul dbe a good idea and how to get it.
>
> (And yes, the second sum could become a simple \overbar as it is part of a simple average)
>
>
> Yours,
>
> R&A Enterprise Architecture (main site)
> Book: Chess and the Art of Enterprise Architecture
> Book: Mastering ArchiMate
>

Howdy,

The fraction line is properly centered but the numerator is much taller than the denominator. Firest try removing the \displaystyle in the numerator. If you don't like the way the limits are displayed for the sum in the numerator try \sum\limits_{e=1}^{e=e_{\hbox{\tiny max}}}. I also would make the boxes simply \mathrm andd remove the extra font size commands.

$K_{\mathrm{Org}} = \sum_{L=0}^{L_{\mathrm{Org,max}}}{\left(\frac{\sum_{e=1}^{e=e_{\mathrm{max}}}k_e}{(L+1)e_{\mathrm{max}}}\right)}$

without the limits and

$K_{\mathrm{Org}} = \sum_{L=0}^{L_{\mathrm{Org,max}}}{\left(\frac{\sum\limits_{e=1}^{e=e_{\mathrm{max}}}k_e}{(L+1)e_{\mathrm{max}}}\right)}$

with the \limits.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pdf
Type: application/pdf
Size: 31577 bytes
Desc: not available
URL: <https://tug.org/pipermail/macostex-archives/attachments/20210424/c9a27243/attachment-0001.pdf>
-------------- next part --------------

Good Luck,

Herb Schulz
herbs at wideopenwest.com