LaTeX/C3/Bold-Fonts-in-Math-Equations/English
Title of the Script: Bold Fonts in Math Equations
Author: Ambika Vanchinathan, Ketki Bhamble
Keywords: LaTeX, bm package, bold math symbols, multiline equations, mathbf, video tutorial.
| Visual Cue | Narration |
| Slide 1
Title slide |
Welcome to the Spoken tutorial on Bold Fonts in Math Equations. |
| Slide 2
Learning Objectives |
In this tutorial, we will learn to,
|
| Slide 3
System Requirements |
To record this tutorial, I am using:
|
| Slide 4
Pre-requisites |
To follow this tutorial,
|
| Slide 5
Code files The following code files are required to practice this tutorial: 1. bm-eg.tex |
The following code file is required to practice this tutorial.
This file is provided in the Code Files link of this tutorial page. |
| Let us get started. | |
| Highlight:
\usepackage{amsmath} \usepackage{bm} Highlight: {amsmath} {bm} |
These commands import the necessary packages:
The amsmath package for writing multiline equations. The bm package for making bold symbols in math mode. |
| Click the green Typeset button and show the output. | Click the green Typeset button to run the code.
Here is the output. |
| Highlight:
Line number 14 |
Here, \mathbf is used to convert the math equation into bold.
However, in the output, only the alphabets A and B appear in bold. The trigonometric functions; sin and cos are not shown in bold. |
| Comment the line number 16
Run the code and show the output |
Let us comment line number 16 and run the code.
Observe that the complete equation is in bold. |
| Highlight:
Line number 20 |
The \bm command makes everything bold, including trigonometric functions.
This command is available through the bm package included in the preamble. |
| Let’s comment line number 22
Run the code and show the output |
Let us comment line number 22 and run the code.
The output shows that the Greek letters φ (phi) and ω (omega) are not in bold. |
| Highlight:
Line number 24 |
Here \mathbf has not converted the Greek letters into bold. |
| Let’s comment line number 26
Run the code and show the output |
Let us comment line number 26 and run the code.
The output shows that the Greek letters φ and ω are now shown in bold. |
| Highlight:
Line number 28. |
Here \bm command has converted the Greek letters into bold. |
| Let’s comment line number 30
Run the code and show the output |
Let us comment line number 30 and run the code.
The output shows equation with fraction, root, Greek, and trig functions in bold. |
| Highlight:
Line number 32 |
Note that the \bmcommand has converted everything into bold.
Rarely, when the bm command throws an error, use one more set of braces. |
| Let’s comment line number 34
Run the code and show the output |
Let us see a displayed equation.
Let us comment line number 34 and run the code. The output shows the complete displayed equation in bold. |
| Highlight:
Lines 38 to 41 |
Note the bm command inside the equation environment |
| Let’s comment line number 43
Run the code and show the output |
Let us comment line number 43 and run the code.
The output displays a bold multiline equation. |
| Highlight:
Lines 45 to 49 |
We have used the \bm command multiple times within the equations.
In the align environment, apply \bm before every (&) ampersand as well. |
| Slide 6
Summary In this we have learnt:
|
With this we come to the end of this tutorial.
Let us summarise. |
| Slide 7
Assignment $\int_0^1 x^2 dx, \alpha + \beta = \gamma$. |
As an Assignment
|
| Slide 8
Thank you |
Thank you for joining. |