# Math formatting "Pro tips" edition: Fonts for math text! - "?"

##### 1 Answer

#### Answer

#### Answer:

#### Explanation

#### Explanation:

#### Answer:

Examples of fonts that you can use for math text.

#### Explanation:

It didn't occur to me to write this answer when I first found out about these because I don't use different fonts in my answers, but I think that some of you would make good use of them in your answers.

The basic font that we have for *math text* looks like this

without hashtags"Sample text"

with hashtags

#"Sample text"#

Now, you have *font commands*: bb(), bbb(), sf(), fr(), and tt().

You can thus have

without hashtagsbb("Sample text using bb()")

with hashtags

#bb("Sample text using bb()")#

without hashtagsbbb("Sample text using bbb()")

with hashtags

#bbb("Sample text using bbb()")#

without hashtagssf("Sample text using sf()")

with hashtags

#sf("Sample text using sf()")#

without hashtagsfr("Sample text using fr()")

with hashtags

#fr("Sample text using fr()")#

without hashtagstt("Sample text using tt()")

with hashtags

#tt("Sample text using tt()")#

You can use different fonts for math expressions and equations. For example, you can have

without hashtagsbb( (-b +- sqrt(b^2 - 4ac))/(2a) )

with hashtags

#bb( (-b +- sqrt(b^2 - 4ac))/(2a) )#

without hashtagsbbb( (-b +- sqrt(b^2 - 4ac))/(2a) )

with hashtags

#bbb( (-b +- sqrt(b^2 - 4ac))/(2a) )#

without hashtagssf( (-b +- sqrt(b^2 - 4ac))/(2a) )

with hashtags

#sf( (-b +- sqrt(b^2 - 4ac))/(2a) )#

without hashtagsfr( (-b +- sqrt(b^2 - 4ac))/(2a) )

with hashtags

#fr( (-b +- sqrt(b^2 - 4ac))/(2a) )#

without hashtagstt( (-b +- sqrt(b^2 - 4ac))/(2a) )

with hashtags

#tt( (-b +- sqrt(b^2 - 4ac))/(2a) )#

You can also combine different fonts with color to get things like

without hashtagsbb(color(red)("Sample text using bb() and color(red)()")

with hashtags

#bb(color(red)("Sample text using bb() and color(red)()")#

without hashtagstt(color(blue)("Sample text using tt() and color(blue)()")

with hashtags

#tt(color(blue)("Sample text using tt() and color(blue)()")#

And so on and so forth.

You can even use different combinations of fonts if you want. For example, you can have things like

without hashtagsoverbrace( bb("something over here") )^(sf(color(green)("something un top"))) = underbrace( bb("something over there") )_ (sf(color(darkorange)("something on the bottom")))

with hashtags

#overbrace(bb("something over here"))^(sf(color(green)("something on top"))) = underbrace(bb("something over there"))_ (sf(color(darkorange)("something on the bottom")))#

Describe your changes (optional) 200