-
Notifications
You must be signed in to change notification settings - Fork 6
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
tagform applied unevenly #54
Comments
In current implementation, the optional argument of Lines 3311 to 3313 in 58d1461
Lines 3322 to 3332 in 58d1461
As a workaround you can try prepending the format code to \documentclass{article}
\usepackage{libertinus-otf}
\usepackage{mathtools}
\begin{document}
\newtagform{brackets2}[\addfontfeatures{Letters=Uppercase}]{(}{)}
\usetagform{brackets2}
\begin{equation}
bla
\end{equation}
\renewtagform{brackets2}{\addfontfeatures{Letters=Uppercase}(}{)}
\begin{equation}
bla
\end{equation}
\end{document} |
Perfect, this solves my problem, many thanks. I'll keep the issue open in case you want to change the implementation, but feel free to close it if you like. |
@muzimuzhi wouldn't it be enough here to just use
(and extra set of braces), not sure if is breaks something. We cannot add |
Addd a brace pair such that anything in |
Hi There,
I'm trying to make my equation tags use the capital form of the numbers/letters/symbols, which is especially important in the appendix where e.g. Eq. (A.1) would look 'uneven' otherwise. However, when I declare the relevant
tagform
, it only seems to apply to a part of the tag.MWE (to be run in LuaLaTeX):
This gives me:
Notice the different brackets. Basically, I'd like both the brackets and the letters/numbers in the tag itself to use
\addfontfeatures{Letters=Uppercase}
. The commented lines in the code let me apply it to the number itself, but not the brackets. Any help would be appreciated.The text was updated successfully, but these errors were encountered: