Computer Science, asked by UNKNOWN3615, 9 months ago

what is the use of bf and sf in latex coding?
no spam​

Answers

Answered by sweetyyyy90
3

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:

hope it helps u ❤️

Answered by shrutisharma4567
2

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.

\huge{\red{\tt Hope \: it \: helps \: you}}

\color{lightgreen}{{MARK IT AS BRAINLIEST!! }}

Similar questions