Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LaTeX labels not centered #1734

Open
capmlbpkel opened this issue Apr 10, 2024 · 0 comments
Open

LaTeX labels not centered #1734

capmlbpkel opened this issue Apr 10, 2024 · 0 comments
Labels

Comments

@capmlbpkel
Copy link

capmlbpkel commented Apr 10, 2024

Describe the bug
When using output format .tex instead of .png, labels which used to be centered, are not centered anymore.

To Reproduce
Steps to reproduce the behavior:

PNG

  1. Create png output file via command line

LaTeX

  1. Create tex output file via command line
  2. Run pdflatex on tex file to obtain a pdf file

Expected behavior
Labes in the pdf file have the same alignment as in the png file.

Screenshots

PNG
image

PDF (look at the actor label)
image

Source

@startuml
actor Actor
component Component
Actor -- Component
@enduml

Version
1.2024.4

Additional context
Maybe a combination of left anchored nodes in tikz together with a deviating font / font size is the cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant