2

I want to create diagrams. Preferable in LaTeX. Normally, I use the PlantUML language.

  • You have at least two options: 1) Build your diagrams with the software of your choice, save them as PDF, PNG and include them via en.wikibooks.org/wiki/LaTeX/Importing_Graphics. 2) See tex.stackexchange.com/questions/875/…. 3)? I do not know whether PlantUML supports a TeX, or TikZ output (which probably would be preferable as this leads to typographic consistency). – CampanIgnis Apr 23 '18 at 23:07
  • You also have the uml ans pst-umlwhich might help (I don't about plantUML). Both rely on pstricks. Also a metauml package, which relies on metapost. – Bernard Apr 23 '18 at 23:14
  • 1
    From plantuml.com/latex: Starting from version 7997, PlantUML allows to generate diagrams into LaTeX, thanks to Tikz package. Note that this is still beta, and many things don't probably work. Since we do not want to spend time on features not used, we will wait for users to report bugs here. You just have to use the flag -tlatex with the command line, or format="latex" with the ANT task. – Marijn Apr 24 '18 at 15:43
0

I use the website https://www.planttext.com/ to export to/download as SVG (which btw includes the plantuml code as XML comment) and after that save as PDF with inkscape. This can be used with \includegraphics

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.