-
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
Conflict with acmart #82
Comments
Yes, this is unfortunate. The quick workaround is
prior to including polycode.fmt A proper solution would be to rewrite |
'acmart' loads '/usr/share/texlive/texmf-dist/tex/latex/newtx/newtxmath.sty' and I found the following post https://tex.stackexchange.com/questions/564075/can-newtxmath-be-used-with-amssymb-in-pdflatex which says: "Can Answer: "The literal answer to what you asked is: yes, but you don’t want to. As egreg brought up in the comments, newtxmath defines every symbol that amssymb does, designed to match Times. The amssymb symbols are designed to go with Computer Modern" So the solution is not to include |
I think this could fail outside |
I also ran accross this today 👍 |
As fate would have it, I debugged a font error today which might be related to the workaround and the reinclusion of
Note that I would expect both uses of Note that the first There is something going on here and I don't know who is to blame. If I remove any of the packages or the section header, both It would perhaps be better if we included Edit: Alas, it turns out that is only part of the solution. A re-import of |
Declaring `\let\Bbbk\relax` in order to load both newtxmath and amssymb led to a weird font error in my thesis. (See kosmikus#82 for details.) This patch removes use of amssymb and amstext in favour of just newtxmath, exactly like the newer acmart.cls version do. Fixes kosmikus#82.
Declaring `\let\Bbbk\relax` in order to load both newtxmath and amssymb led to a weird font error in my thesis. (See kosmikus#82 for details.) This patch removes use of amssymb and amstext in favour of just newtxmath, exactly like the newer acmart.cls version do. Fixes kosmikus#82.
I tried the simplest thing in #109 and replaced use of |
Declaring `\let\Bbbk\relax` in order to load both newtxmath and amssymb led to a weird font error in my thesis. (See kosmikus#82 for details.) This patch removes use of amssymb and amstext in favour of just newtxmath, exactly like the newer acmart.cls version do. Fixes kosmikus#82.
Recent versions of acmart (at least since 1.70) cause an error with
\usepackage{amssymb}
(issue borisveytsman/acmart#395), which lhs2tex appears to insert unconditionally:lhs2tex/lhs2TeX.sty.lit
Line 41 in 34301be
Example to reproduce:
The text was updated successfully, but these errors were encountered: