Skip to content

Commit

Permalink
Use newtxmath instead of amstext and amssymb (#82)
Browse files Browse the repository at this point in the history
Declaring `\let\Bbbk\relax` in order to load both newtxmath and amssymb
led to a weird font error in my thesis. (See #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 #82.
  • Loading branch information
sgraf812 committed Aug 23, 2024
1 parent 6d55ac5 commit f13bfca
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions lhs2TeX.sty.lit
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
\begin{code}
%if False
%
% Permission is granted to include this file (or parts of this file)
% literally into other documents, regardless of the conditions or
% Permission is granted to include this file (or parts of this file)
% literally into other documents, regardless of the conditions or
% license applying to these documents.
%
%endif
Expand All @@ -29,16 +29,14 @@

\begin{code}
%if latex209
\input{amstext.sty}
\input{amssymb.sty}
\input{newtxmath.sty}
\input{stmaryrd.sty}
\newcommand\ensuremath[1]{\ifmmode#1\else\mbox{$#1$}\fi}
%if euler
\input{euler.sty}
%endif
%else
\usepackage{amstext}
\usepackage{amssymb}
\usepackage{newtxmath}
\usepackage{stmaryrd}
%if euler
\usepackage{euler}
Expand Down

0 comments on commit f13bfca

Please sign in to comment.