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

Support Tikz format in LaTeX renderer #62

Open
jackburridge opened this issue Feb 18, 2022 · 2 comments
Open

Support Tikz format in LaTeX renderer #62

jackburridge opened this issue Feb 18, 2022 · 2 comments

Comments

@jackburridge
Copy link

In the LaTeX output it would be nice to have the option to support Tikz. This is possible in plantuml and would give better typographic consistency.

@jackburridge
Copy link
Author

jackburridge commented Feb 24, 2022

I've had an initial stab at the thing and it works quite nicely I just can't figure out if theres a cleaner way to do it, lots is missing as well(width, height, scale), the branch is available here:
https://github.com/jackburridge/plantuml/tree/tikz

I do a direct write to body to use \input{} and also add tikz to the preamble
demo.pdf
demo.zip

@yuja
Copy link
Collaborator

yuja commented Feb 24, 2022

Thanks, the change looks fine to me. It's simple and small.

can't figure out if theres a cleaner way to do it,

Can you add a short # TODO: blah, blah... comment describing things should be cleaned up?

lots is missing as well(width, height, scale),

That should be fine since this is a new feature which breaks no existing use cases.
Unsupported options can be documented in README.

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

No branches or pull requests

2 participants