## PREP 2015 Question Authoring - Archived

### Bold font is not working?

by tim Payer -
Number of replies: 3
Hello all,

Has anyone been able to get a bold font to work?

I have not been able to and I am using the following format as pointed out on page 2 of the PGML worksheet.

{\bf This should be in bold font.}

Thanks,  Tim

### Re: Bold font is not working?

by Gavin LaRose -
Hi Tim,

In PGML text, I think that *this should be bold*. The \bf macro is for TeX, which one could use in math mode (though it might be formally better to use LaTeX's \textbf). For example,

  >> [y = 3x \quad\mbox{\textbf{or}}\quad y = 3x + 2] <<


Gavin

### Re: Bold font is not working?

by Paul Pearson -
Hi Tim,

I think two stars on each side will get you what you want:

BEGIN_PGML
**This is bold** and _this is italicized._
END_PGML

Best regards,

Paul Pearson
Only one star is needed, but yes, *bold* should get you bold (outside of math mode). Gavin is correct that things like \bf and \textbf are used in TeX mathematics mode. So how you do it depends on whether you are in math or not.