koppor / plantuml

A LuaLaTeX package for PlantUML in LaTeX
https://koppor.github.io/plantuml/
LaTeX Project Public License v1.3c
56 stars 11 forks source link

Different margins for text located in boxes using PlantUML LaTeX-package #14

Open jagrme00 opened 5 years ago

jagrme00 commented 5 years ago

Hello,

I want to use the PlantUML in LaTeX and get different margins on the left and right side of a text when it is located inside a box. My output generated with the PlantUML LaTeX package looks like:

Latex-Issue

If I generate the mindmap using the standalone-jar everything works fine.

My Code in LaTeX is:

\begin{plantuml}
@startmindmap
title Übersicht über Methoden der Wirkungsgradbestimmung/ Leistungsmessung

* Wirkungsgradbestimmung/\n Leistungsmessung
** mittels Messung
*** direkte Messung
*** indirekte Messung
*** kalorimetrische Messung
****_ A
*****_ 1
*****_ 2
****_ B

@endmindmap
\end{plantuml}

I have to mention, that I'm using LuaLaTeX to generate the helper files like 'Thesis-plantuml.txt' or 'Thesis-plantuml.latex', but in the end for the final build I use pdfLaTeX.

The command-line commands for building my thesis looks similar like:

%LUALATEX% -shell-escape -interaction=nonstopmode %MYFILE% > NUL:
.
.
.
%PDFLATEX% -shell-escape %MYFILE% > NUL:

Maybe it's an issue with the conversion from PlantUML to Tikz?

Thanks in advance for any reply/help!