I am trying to use the Union symbol in an acmart document. I tried using \bigcup_{lower}^{upper} value
command to generate the union symbol but Latex leaves an empty space for the U
symbol. The same is happening for other symbols also (Sigma for summing over a series). I have included the asmath
package and the document compiles also, the only problem is that the symbols are not displayed.
Any help on how I can get these symbols inline?
[Tex/LaTex] acmart: problem generating the union symbol – math environment
amsmathequationsformattinginline()math-mode
Best Answer
The
acmart
class doesThis means that the class wants to use Linux Libertine for standard text, the
newtxmath
fonts adapted to Libertine for math and Inconsolata (zi4
) for the monospaced font. It resorts to the default LaTeX fonts only if the local TeX system doesn't have the necessary resources.The class also selects the T1 output font encoding (unless the system is defective). It always loads
amsmath
.If we do
we get, on the terminal,
If we also add
lmodern
, the output would be the same, but the log file would contain the messageThis is because
newtxmath
sets as font for large symbols one that uses theLMX
encoding, which is different from the encoding used bylmodern
, which assumes the standard encodings for math fonts.Here's the problem:
newtxmath
defines\bigcupop
to be in the large symbol fonts (the3
in the mathcode above) at positionD0
. Whenlmodern
is loaded, it doesn't reset the correspondence symbol-slot and so nothing is typeset, because the large symbols font used bylmodern
has nothing at that position.The conclusion is
Additional math symbol fonts (for instance
stmaryrd
) that augment the set of math symbols available may be used, but beware that they could clash with the main fonts. As another example,amssymb
should not be loaded, becausenewtxmath
already covers it.