Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

PlantUML: asciimath support

Using @startmath/@endmath, we can create standalone AsciiMath formula.

 

asciiMath.txt

@startmath
sum_(i=1)^n i^3=((n(n+1))/2)^2
@endmath

 

Above Snippet Generate below diagram.

 

 


You can even combine ascii math with uml diagrams using tag.

 

asciiMathHelloWord.txt

@startuml

client --> server: please solve : sum_(i=1)^n i^3=((n(n+1))/2)^2
server --> client: send the response

client --> server : solve this too : x = (-b+-sqrt(b^2-4ac))/(2a)
server --> client: send the response

@enduml

 

Above snippet generate below diagram.



 

 

 

Previous                                                    Next                                                    Home


This post first appeared on Java Tutorial : Blog To Learn Java Programming, please read the originial post: here

Share the post

PlantUML: asciimath support

×

Subscribe to Java Tutorial : Blog To Learn Java Programming

Get updates delivered right to your inbox!

Thank you for your subscription

×