-
Notifications
You must be signed in to change notification settings - Fork 28
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
defining * (concatenation) resulting in LaTeXString #17
Comments
Thinking about it, perhaps Base.:*(a::LaTeXString, b::AbstractString) = LaTeXString(a.s * b) and similar would be better. The automatic appending of |
That seems reasonable |
This was referenced Nov 3, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently
*
forTuple{LatexString, AbstractString}
goes through the default method forAbstractString
s, returning aString
.I wonder if it would make sense to define
and similarly for the reversed order.
The issue came up when I was constructing plot labels in a function, eg
which is of course OK but
*
may be more compact.The text was updated successfully, but these errors were encountered: