Difference between revisions of "LaTeX/C3/Bold-Fonts-in-Math-Equations/English"
Ketkinaina (Talk | contribs) (Created page with "'''Title of the Script:''' Bold Fonts in Math Equations '''Author''': Ambika Vanchinathan, Ketki Bhamble '''Keywords''': LaTeX, bm package, bold math symbols, multiline equa...") |
|||
| Line 3: | Line 3: | ||
'''Author''': Ambika Vanchinathan, Ketki Bhamble | '''Author''': Ambika Vanchinathan, Ketki Bhamble | ||
| − | '''Keywords''': LaTeX, bm package, bold math symbols, multiline equations, mathbf, video tutorial | + | '''Keywords''': LaTeX, bm package, bold math symbols, multiline equations, mathbf, video tutorial. |
| + | |||
| + | |||
{|border=1 | {|border=1 | ||
| Line 13: | Line 15: | ||
'''Title slide''' | '''Title slide''' | ||
| − | || Welcome to the Spoken tutorial on''' Bold Fonts in Math Equations | + | |
| + | || Welcome to the Spoken tutorial on''' Bold Fonts in Math Equations'''. | ||
|- | |- | ||
|| '''Slide 2''' | || '''Slide 2''' | ||
'''Learning Objectives''' | '''Learning Objectives''' | ||
| + | |||
|| In this tutorial, we will learn to, | || In this tutorial, we will learn to, | ||
* Write bold text in math mode | * Write bold text in math mode | ||
* Display '''trigonometric''' and '''Greek''' '''symbols''' in bold | * Display '''trigonometric''' and '''Greek''' '''symbols''' in bold | ||
| − | * Avoid errors using nested braces | + | * Avoid errors using nested braces. |
|- | |- | ||
|| '''Slide 3''' | || '''Slide 3''' | ||
| Line 27: | Line 31: | ||
'''System Requirements''' | '''System Requirements''' | ||
|| To record this tutorial, I am using: | || To record this tutorial, I am using: | ||
| − | * '''Ubuntu Linux OS version | + | * '''Ubuntu Linux OS version''' 22.04 |
| − | * '''Texworks version 0.6.6 | + | * '''Texworks version''' 0.6.6 |
|- | |- | ||
|| '''Slide 4''' | || '''Slide 4''' | ||
| Line 34: | Line 38: | ||
'''Pre-requisites''' | '''Pre-requisites''' | ||
|| To follow this tutorial, | || To follow this tutorial, | ||
| − | * Learners should have basic knowledge of '''LaTeX''' | + | * Learners should have basic knowledge of '''LaTeX'''. |
|- | |- | ||
|| '''Slide 5''' | || '''Slide 5''' | ||
| Line 45: | Line 49: | ||
|| The following code file is required to practice this tutorial. | || The following code file is required to practice this tutorial. | ||
| − | This file is provided in the Code Files link of this tutorial page. | + | This file is provided in the '''Code Files''' link of this tutorial page. |
|- | |- | ||
|| | || | ||
| Line 61: | Line 65: | ||
'''{bm} ''' | '''{bm} ''' | ||
| + | |||
|| These commands import the necessary packages: | || These commands import the necessary packages: | ||
| Line 67: | Line 72: | ||
The '''bm''' package for making bold symbols in math mode. | The '''bm''' package for making bold symbols in math mode. | ||
|- | |- | ||
| − | || Click the green Typeset button and show the output | + | || Click the green Typeset button and show the output. |
|| Click the green '''Typeset''' button to run the code. | || Click the green '''Typeset''' button to run the code. | ||
| Line 105: | Line 110: | ||
Line number 24 | Line number 24 | ||
| − | || Here '''\mathbf''' has not converted the | + | || Here '''\mathbf''' has not converted the Greek letters into bold. |
|- | |- | ||
|| Let’s comment line number 26 | || Let’s comment line number 26 | ||
| Line 117: | Line 122: | ||
Line number 28. | Line number 28. | ||
| − | || Here '''\bm''' command has converted the | + | || Here '''\bm''' command has converted the Greek letters into bold. |
|- | |- | ||
|| Let’s comment line number 30 | || Let’s comment line number 30 | ||
| Line 129: | Line 134: | ||
Line number 32 | Line number 32 | ||
| − | || Note that the''' \bm '''command has converted everything into bold. | + | || Note that the '''\bm'''command has converted everything into bold. |
Rarely, when the''' bm '''command throws an error, use one more set of braces. | Rarely, when the''' bm '''command throws an error, use one more set of braces. | ||
| Line 145: | Line 150: | ||
Lines 38 to 41 | Lines 38 to 41 | ||
| − | || Note the '''bm '''command inside the equation environment | + | || Note the '''bm ''' command inside the equation environment |
|- | |- | ||
|| Let’s comment line number 43 | || Let’s comment line number 43 | ||
| Line 187: | Line 192: | ||
'''Thank you''' | '''Thank you''' | ||
| − | || Thank you for joining | + | || Thank you for joining. |
|- | |- | ||
|} | |} | ||
Revision as of 16:18, 28 May 2025
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. |