Scaling does not work for latex output?

0 votes
asked Nov 15, 2016 in bug by peter.loborg (560 points)


It seems the scaling feature does not work for latex:nopreamble output?

At least the command variant  "scale <factor>" could be supported by including a \scalebox{<factor>}{ ... } around the picture:


I have understod that this solution may be problematic if any of the matrix commands in tikz are used (do you?) - but for sequence diagrams this seem to work fine... (



1 Answer

0 votes
answered Nov 16, 2016 by plantuml (131,770 points)

In official release, we are outputting \begin{tikzpicture}[yscale=-1]

So we made a new beta

In this beta, we are taking scaling into account, so we are outputting something like:


We have not really tested this, so we are very interested by your feedback.

commented Nov 16, 2016 by peter.loborg (560 points)

No, that scaling only scales the drawing parts, not the text. The positions of text elements is moved correctly, but the size of the text elements remains unchanged.

This would be the perfect way of scaling the graphics of a plot or pie chart without affecting the text (which retains its size compared to the surrounding text) - but in UML diagrams this feature is unwanted.

commented Nov 16, 2016 by plantuml (131,770 points)
Ok, it was just a guess.
Here is a new beta

It has not been tested, so please tell us if it's working!
commented Nov 17, 2016 by peter.loborg (560 points)
Yes! It works as expected.
commented Mar 13 by anonymous
Did this feature land already in the newest version?
commented Mar 13 by plantuml (131,770 points)
Yes, it does