[texhax] inline form of an equation

Aditya Mahajan adityam at umich.edu
Fri Dec 12 20:07:58 CET 2008


On Fri, 12 Dec 2008, Lars Madsen wrote:

> William Adams wrote:
>> Okay, I have:
>>
>> \documentclass{article}
>> \usepackage{amsmath}
>> \usepackage{mathptmx}
>> \begin{document}
>> $\sqrt{\frac{\sum d^2}{2n}}$
>> \end{document}
>>
>> Would it be okay to do:
>>
>> \documentclass{article}
>> \usepackage{amsmath}
>> \usepackage{mathptmx}
>> \begin{document}
>> $\sqrt{{\sum d^2}/{2n}}$
>> \end{document}
>>
>> William
>>
>
> the first should be avoided, looks awful.
>
> I don't see any problems with the second one, though some might prefer
>
> $\sqrt{\sum d^2/(2n)}$
>
> But I routinely write /2n

I typeset $\sqrt{\frac{\sum d^2}{2n}}$ using package nath and the output 
is equivalent to $\sqrt{(\sum d^n)/2n}$ which seems to avoid ambiguity 
about what is being summed.

Aditya


More information about the texhax mailing list