Les Mathématiques LateX sur PlantUml 😍

 Dans PlantUML, vous pouvez utiliser :


@startuml
:<math>int_0^1f(x)dx</math>;
:<math>x^2+y_1+z_12^34</math>;
note right
Try also
<math>d/dxf(x)=lim_(h->0)(f(x+h)-f(x))/h</math>
<math>P(y|bb"x") or f(bb"x")+epsilon</math>
end note
@enduml


@startuml
:<latex>\int_0^1f(x)dx</latex>;
:<latex>x^2+y_1+z_{12}^{34}</latex>;
note right
Try also
<latex>\dfrac{d}{dx}f(x)=\lim\limits_{h \to 0}\dfrac{f(x+h)-f(x)}{h}</latex>
<latex>P(y|\mathbf{x}) \mbox{ or } f(\mathbf{x})+\epsilon</latex>
end note
@enduml

Autre exemple :

@startuml
Bob -> Alice : Peux-tu résoudre: <math>ax^2+bx+c=0</math>
Alice --> Bob: <math>x = (-b+-sqrt(b^2-4ac))/(2a)</math>
@enduml

Diagramme indépendant

Il est possible d'utiliser @startmath/@endmath pour créer des formules AsciiMath.


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

Ou bien utiliser @startlatex/@endlatex pour créer des formules JLaTeXMath.


@startlatex
\sum_{i=0}^{n-1} (a_i + b_i^2)
@endlatex


Commentaires

Posts les plus consultés de ce blog

Comment utiliser les diagrammes PlantUML dans Visual Studio Code pour Windows 10

Comment fonctionne l'optimise d'Adam

SYSTEME DE RECONNAISSANCE FACIALE AVEC PYTHON