How to write bold text in LaTeX?

How to write bold text in LaTeX?

This post may contain affiliate links that allow us to earn a commission at no expense to you. Learn more

This article aims to show you the simplest and easiest way to write bold text in LaTeX.

Not everything in LaTeX is about equations, integrals, mathematics symbols and so on, sometimes you will want to know how to properly format text in your documents, and today you will learn how to write bold text.

Bold Font

Basic text formatting tools, or in this scenario text bold, helps to highlight important concepts within some document and improves its readability. We have some basic fonts that are quite common, bold, italic and underlined, and for this tutorial we will focus mostly on bold.

Bold text in LaTeX : Normal text with emphasized text and italicized text. Image source: scijournal Author
Normal text with emphasized text and italicized text. Image source: scijournal Author

The best part of all the commands you will see here, is that you don’t need the math mode (yet), everything is written in text mode.

Bold in LaTeX

LaTeX has three basic commands for each one of the fonts used in the example above. As we mentioned we will focus on bold text.

To write something in bold we use the \textbf command, the command requires an argument, this being the text bold you want to write. For example

\documentclass{article}
\begin{document}
    Stay back, I'm going to do some \textbf{science}.
\end{document}
Bold text in LaTeX : Simple text. Image source: scijournal Author
Simple text. Image source: scijournal Author

Another way to write a text bold is using the command \bfseries; to use this command you have to enclose the text to be formatted with \bfseries inside, as you can see in the example

\documentclass{article}
\begin{document}
    \LaTeX can be {\bfseries quite difficult or easy}.
\end{document}
Bold use. Image source: scijournal Author

Two basic commands that are up to date and in current use. I am saying this because there is a third way to create a text bold using the \bf command, BUT this has been deprecated for a couple of years now and can cause some troubles.

Bold Italic Text

Just as other text editors, LaTeX allows to combine effects with the fonts, or in plain english, combine fonts. If you want some italic text you need the command for the italicized text \textit{}, and the \textbf{} command or \bfseries. For example

\documentclass{article}
\begin{document}
Writing \textit{\textbf{bold text} with italic text}. \\
Or you can write \textbf{\textit{italic} with bold}.\\
Use the other \textit{{\bfseries bold command} this time}.
\end{document}
Bold text in LaTeX : Combined effects \bfseries, \textbf{} and \textit{} commands. Image source: scijournal Author
Combined effects \bfseries, \textbf{} and \textit{} commands. Image source: scijournal Author

If you combine two fonts you will preserve previous styles used, if you first used italic and then bold, italic will be preserved and combined with bold, and vice versa.

You can use the italic + bold for citations or tables references in your documents since it’s elegant and readable.

Bold or Underlined Words? 

Sometimes you may need to denote something important in your document, maybe with a line underneath it and maybe you also need it to make it a text bold, well you can with LaTeX.

The command for the underline is \underline{} (pretty creative) and you can combine it with the others commands, for example

\begin{document}
\begin{center}
Another way of \underline{\textbf{highlight important information}} is \underline{using} \underline{\textit{a line below the {\bfseries words}}}.
\end{center}
\end{document}
Bold text in LaTeX : Bolds, italics and underline command. Image source: scijournal Author
Bolds, italics and underline command. Image source: scijournal Author

In the last example, we used the three basic commands.

Bold Variations

There are some variations for bold text, the first one is used to emphasize text within the text using the \emph command, depending on where you use it, the \emph command behaves as \textit{}, for example

\begin{document}
\begin{center}
Another way of \underline{\textbf{highlight important information}} is \underline{using} \underline{\textit{a line below the {\bfseries words}}}.
\end{center}
\end{document}
Bold text in LaTeX : \emph command together with bold use. Image source: scijournal Author
\emph command together with bold use. Image source: scijournal Author

Now you have the basic knowledge regarding making a text bold, or italic, or underlined, or all of them. I hope this post was helpful, and as always keep writing in LaTeX.

All the images were created in LaTeX by the author.

Further Reading

LaTex Tutorial on Symbols

  1. How To Create A Cross Product Symbol In LaTeX
  2. How to create a hat symbol in LaTeX?
  3. How to create a prime symbol in LaTeX?
  4. How to create an absolute value symbol in LaTeX?
  5. How to create an approximate symbol in LaTeX?
  6. How to create an intersection symbol in LaTeX?
  7. How to create the empty set symbol in LaTeX?
  8. How to write a degree symbol in LaTeX?
  9. How to write a dot product in LaTeX?
  10. How to Write a Greater Than Symbol in LaTeX?
  11. How to write a norm symbol in LaTeX?
  12. How to write A Plus-Minus Symbol in LaTeX
  13. How to write a proportional to symbol in LaTeX?
  14. How to write a real number symbol in LaTeX?
  15. How to write a tilde symbol in LaTeX?
  16. How to write a union symbol in LaTeX?
  17. How to write a vector in LaTeX?
  18. How to write an infinity symbol in LaTeX?
  19. How To Write Dots Symbols In LaTeX?
  20. How to write the arrow symbols in LaTeX
  21. How to write the Degree celsius symbol in LaTeX?
  22. How to write the equal or not equal symbol in LaTeX?
  23. How to write the Euro symbol in LaTeX?
  24. How to write the floor symbol in LaTeX?
  25. How to write the gradient operator symbol in LaTeX
  26. How To Write The Greater Than Or Equal To Symbol In LaTeX?
  27. How to write the integer number symbol in LaTeX?
  28. How to write the less than symbol in LaTeX?
  29. How to write the Natural numbers symbol in LaTeX?
  30. How to write the parallel symbol in LaTeX?
  31. How to write the percent symbol in LaTeX?
  32. How to write the square root symbol in LaTeX?
  33. How To Write The Symbol For A Subset In LaTeX?
  34. How to write the symbol for therefore in LaTeX?
  35. How to write with the mathbb in LaTeX?

Photo of author
Author
SJ Tsai
Chief Editor. Writer wrangler. Research guru. Three years at scijournal. Hails from a family with five PhDs. When not shaping content, creates art. Peek at the collection on Etsy. For thoughts and updates, hit up Twitter.

Leave a Comment