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
Default Color #3190
Labels
Comments
dpvc
added
the
Code Example
Contains an illustrative code example, solution, or work-around
label
Feb 23, 2024
This seems like kindof an immense amount of code to accomplish this, though I don't doubt it works, as a workaround. I'll keep with hackish solutions to keep my page load times down; this works well enough for me until native support is added. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
I need a way to restore the default color after changing it. One may not know the default color conveniently since it comes from CSS.
In LaTeX, we can restore the default color by doing something like:
However,
\colorlet
does not seem to be supported in MathJax. The workaround in most cases is to scope any color changes:However, this isn't possible for certain constructs. For example, to color an underbrace and its label, but not its contents:
This is somewhere between a bug report (
\colorlet
is missing), a feature request (add it, or equivalent mechanism, please), and a question (how do I do this / is there a workaround?).The text was updated successfully, but these errors were encountered: