The symbol for modularly congruent is ≡, which can be produced with \equiv
.
For instance,
18 ≡ 0 (mod 9)
What is the symbol for not modularly congruent, and how do I represent it in TeX?
I have perused some references including http://web.ift.uib.no/Teori/KURS/WRK/TeX/symALL.html and have not found it.
Best Answer
Negation of symbols in LaTeX is typically achieved prepending it with
\not
. For exampleFor more elaborate, larger or lengthy symbols, you can use the
cancel
package. In those instances\not
may not provide a sufficiently-centred negation. Thecenternot
package also provides a centred\not
for symbols with larger horizontal dimension.The ≢ character is in Unicode as U+2262, and can be entered directly with
unicode-math
. The command for it is\nequiv
in many packages, includingunicode-math
,pxfonts
,txfonts
,newpxmath
,newtxmath
,stix
,stix2
,mnsymbol
andfdsymbol
.Other symbol-lookup techniques are described in How to look up a symbol or identify a math symbol or character?