English, asked by UNKNOWN3615, 8 months ago

write the use of (bf) and (sf) in latex coding?
no spam plzz​

Answers

Answered by sweetyyyy90
5

Answer:

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.

Explanation:

follow me dear ❤️

Answered by shrutisharma4567
4

Explanation:

 \huge {\underline{ \bf \red{HEYA\:MATE}}}

\huge{\blue{\boxed{\green{\boxed{\red{\boxed{\bf{\mathtt{\purple{..A}\orange{n}\pink{s}\red{w}\blue{e}\green{r..}}}}}}}}}}

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.

Similar questions