How do I left align a line in the title of PlantUML?
@startuml
title
SomeTitle . SomeTitle . SomeTitle . SomeTitle .
<font size=10> Want this left aligned</font>
endtitle
Alice -> Bob: Hello
@enduml
I have tried
<font align:left>X</font>
<font text-align:left>Y</font>
I also tried adding left
to the title
tag.
PlantUML has GraphViz as a rendering engine. It supports \l
and \r
for left and right aligned:
@startuml
title SomeTitle . SomeTitle . SomeTitle . SomeTitle .\l<font size=10>Want this left aligned</font>
Alice -> Bob: Hello
@enduml