Posts

Showing posts with the label Tikz Uml

Can I Use The PlantUML Language In LaTeX?

Image
Answer : It is possible to use the PlantUML language direcly inside LaTeX using the plantuml package. Here is a minimal example: \documentclass{scrartcl} \usepackage{plantuml} \begin{document} \begin{plantuml} @startuml Alice -> Bob: Hello Alice <- Bob: Hi! @enduml \end{plantuml} \end{document} For building LaTeX with PlantUML the PLANTUML_JAR environment variable has to be set and Java must be installed. To build this document, run lualatex --shell-escape documentname The result should look like this: A more detailed example can be found here: https://koppor.github.io/plantuml/