Serving the Quantitative Finance Community

 
User avatar
ppauper
Posts: 11729
Joined: November 15th, 2001, 1:29 pm

Re: Inline math

February 11th, 2018, 12:48 pm

 ddots  [$]\ddots[$]
 
User avatar
Cuchulainn
Posts: 20253
Joined: July 16th, 2004, 7:38 am
Location: 20, 000

Re: Inline math

March 7th, 2018, 10:45 am

[$]\frac{dU}{dt} = \sum\limits_ {i=1}^n A_i U[$] (1)

or even 

[$]\frac{\partial U}{\partial t}  = \sum\limits_ {i=1}^n A_i U[$] (2)

[$]\frac{dU}{dt} = \sum_ {i=1}^n A_i U[$] (3)
Last edited by Cuchulainn on March 8th, 2018, 9:01 pm, edited 4 times in total.
 
User avatar
ppauper
Posts: 11729
Joined: November 15th, 2001, 1:29 pm

Re: Inline math

March 8th, 2018, 4:00 pm

I was wondering what "\ limits" does, but it seems it puts the limits directly below and above the Sigma rather than to the right
 
User avatar
Cuchulainn
Posts: 20253
Joined: July 16th, 2004, 7:38 am
Location: 20, 000

Re: Inline math

March 8th, 2018, 9:00 pm

I was wondering what "\ limits" does, but it seems it puts the limits directly below and above the Sigma rather than to the right
Yes. I find form (1) more compact and is probably less error-prone when proof-reading and mapping to code (just a feeling).

[$]\frac{dU}{dt} = \sum_ {i=1}^n A_i U[$] (3)


Einstein had his own summation notation

[$]\frac{dU}{dt} =  A_i U[$] (4)

but I suppose we all can't be Einstein so stick to the long-winded (but 100% unambiguous) version.
 
User avatar
Cuchulainn
Posts: 20253
Joined: July 16th, 2004, 7:38 am
Location: 20, 000

Re: Inline math

April 19th, 2018, 3:26 pm

[$]\mid x \mid[$]
[$]|x |^{2}[$]


Seems a bit long-winded.