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

Enable Underscore Package, Attribute and Operation names #4

Open
sschwindt opened this issue Apr 5, 2023 · 1 comment
Open

Enable Underscore Package, Attribute and Operation names #4

sschwindt opened this issue Apr 5, 2023 · 1 comment

Comments

@sschwindt
Copy link

Any use of underscores of a package, attribute or operation name cannot be interpreted by Latex and standard packages, such as \underscore, cannot resolve the issue. As a workaround, embracing arguments #1 and #2 with \detokenize{} in tikzlibraryumlcd.code.tex works for attributes and operations, but cannot be implemented easily for packages. Adding such capacity would be great because underscores are commonly used in Python for package, attributes, and operations.

@EagleoutIce
Copy link

There is a similar problem with using a comma (e.g., for Java generics) and \implement.
However, this can be solved manually like this:

   \draw[umlcd style implement line] (node cs:name={A<K,V>}) -- (node cs:name={B<K,V>});

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

No branches or pull requests

2 participants