what is the use of(bf) and(sf) in latex coding?
plz no spam
Answers
Explanation:
I'm using \renewcommand{\familydefault}{\sfdefault} so that my entire document is in sans serif, but I'm getting peculiar results with regards to formatting.
I'm a rather sparse LaTeX user, but in the past I've always used \textbf{Super Important Text!} for bold text rather than what I've been told is obsolete; {\bf Important Junk} (which is what I first learned).
While I have that \sfdefault line in the preamble, \textbf{} is completely ignored while {\bf } is not. I suppose it wouldn't be the end of the world if the answer is that I just have to use {\bf }, but I'm assuming there's a reason you're not supposed to.
The closest solution I could find was Bold sans-serif font in LaTeX, but it dealt with section names rather than in text formatting.