Formatting options inside @startmath ... @endmath

0 votes
asked May 28 in Wanted features by nAlAz117 (270 points)
It would be very practical to allow formatting (Size, Color, etc.) in @startmath ... @endmath block also, for example

@startmath
Scale 5
f(t)=(a_0)/2 + sum_(n=1)^ooa_ncos((npit)/L)+sum_(n=1)^oo b_n\ sin((npit)/L)
@endmath

1 Answer

+1 vote
answered May 28 by plantuml (177,280 points)

Good idea!

So with last beta http://beta.plantuml.net/plantuml.jar you can now have:

@startmath
scale 5
color red
f(t)=(a_0)/2 + sum_(n=1)^ooa_ncos((npit)/L)+sum_(n=1)^oo b_n\ sin((npit)/L)
@endmath

Is this what you are expecting ?

commented May 30 by nAlAz117
Yes! It is really nice. But it is possible to implement also skinparam Feature, let say
skinparam dpi 300 and a posibility to change color for parts of equation, for example

color red
f(t)
color black
=(a_0)/2 + sum_(n=1)^ooa_ncos((npit)/L)+sum_(n=1)^oo b_n\ sin((npit)/L)
Anyway thank you
...