I'm trying to have a bold \top symbol in math mode. I've tried everything I could find on google (\mathbf, \boldsymbol, \bm) but nothing seems to work properly. Only \pmb{\top} seems to do what I want (even if it's only slightly bold, at least it is), but it doesn't work every time. I'm really surprised by this behavior, because it doesn't seem to depend on what appears in the formula, but instead on what is surrounding the formula. Some examples:
some text, $\pmb{\top}$, more text works fine
some text, $$\pmb{\top}$$ more text also works fine
some text, $\pmb{\top}$ more text doesn't work
In other words, it works fine as long as I put the formula between double dollar symbols, or as long as I have a comma (or a full stop) right after the end of the formula. I haven't checked if it works for other punctuation, but it seems odd to me.
Why does this happen? Am I missing something?
Edit: I was wrong, it does not depend strictly on punctuation. While trying to reduce my document to a minimal working example (for some reason, working from scratch didn't produce this behavior) I saw boldness "come and go", almost every edit fixed some symbols and broke others.
Also, trying to change the surrounding text made the problem disappear: I apologize for the text in Italian, but trying to substitute the actual text with some "placeholder words" was a no-go.
\usepackage[italian]{babel}
\usepackage[latin1]{inputenc}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{latexsym}
\usepackage{mathrsfs}
\begin{document}
Ricordando la definizione della categoria terminale $\pmb{\top}$, \`e facile osservare
che possiamo dotarla di una struttura monoidale ``banale'': per vedere come, possiamo
notare che $\pmb{\top} \times \pmb{\top} \simeq \pmb{\top}$, quindi possiamo definire
il prodotto tensoriale $\otimes : \pmb{\top}\times \pmb{\top} \to \pmb{\top}$ come la
composizione di tale equivalenza di categorie con il funtore identit\`a. In questo caso,
unitori e associatori saranno i morfismi identici (``non abbiamo altra scelta''), e quindi
abbiamo dotato $\pmb{\top}$ di una struttura monoidale strict. \`E bene osservare che,
ovviamente, l'unico oggetto di $\pmb{\top}$ \`e l'elemento neutro della struttura monoidale.
\end{document}
Everything works fine except for the last two \pmb{\top}'s: there, my machine produces no boldness whatsoever.
Edit2: as I pointed out in the comments, I think the problem was with the fonts in my machine. This seems to be the case because after reinstalling all the toolchain (and abandoning my custom "latex + command line tools + makefile", in favor of the more standard "TeXstudio + XeLaTeX") the problem disappeared.
Of course, as suggested by David Carlisle and egreg, I switched back to the \bm package as soon as I could.
I wish I could accept all answers, as each one gave me a hint on what was missing/broken. Since it's not possible, I'll accept Davislor's as it pointed me to the right track (that is, switching to a modern toolchain). Thanks to everyone for your insight.



\documentclassup to\end{document}? By the way,$$should never be used in LaTeX and\pmbis a last resort. – egreg Jan 24 '19 at 17:20@egreg I checked editing the document I'm working on, I'll try to post a minimal working example as soon as I can. I know
– LorenzoPerticone Jan 24 '19 at 17:29\pmbshould be a last resort, and I used it only when nothing else worked. I didn't know anything about not using$$, on the other hand: thanks for the info!latex --versionin my command line yields this as the version:pdfTeX 3.14159265-2.6-1.40.19 (TeX Live 2018/Arch Linux). Also, before posting this, I tried to update my system: there was an update, but nothing changed. – LorenzoPerticone Jan 24 '19 at 21:39utf8, or they’ll break if you try to compile them in PDFTeX and not compile at all in XeTeX or LuaTeX. – Davislor Jan 24 '19 at 22:53