Bold Math And Spacing – Using Latex In Pressbooks
Maybe your like
For writing math in bold we use two commands
- \mathbf - applies to all letters and numbers
- \boldsymbol - applies to all symbols, not just letters and number
Example:
a) Using /mathbf
[latex]\mathbf{a+2+\alpha+\beta+4}[/latex]
[latex]\mathbf{a+2+\alpha+\beta+4}[/latex]b) Using \boldsymbol
[latex]\boldsymbol{a+2+\alpha+\beta+4}[/latex]
[latex]\boldsymbol{a+2+\alpha+\beta+4}[/latex] c) Using \mathbf[latex]\mathbf{2^{x}} - 1 = 0[/latex]
[latex]\mathbf{2^{x}} - 1 = 0[/latex] Note: Only 2^{x} is written in bold.Spacing
To get a space between two symbols, use \; You can use the space commands multiple times: this tends to be the only way you will notice a difference. So,
[latex]x+\cos\;\;\;\;\;\;\theta[/latex]gives you [latex]x+\cos\;\;\;\;\;\;\theta[/latex]
There are also other spaces you can use. Here's a list of types of spaces in increasing size (optional material).
- \! (backslash-exclamation point, negative thin math space)
- \, (backslash-comma, thin math space)
- \: (backslash-colon, medium math space)
- \; (backslash-semicolon, thick math space)
- \ (backslash-space, equivalent of space in normal text)
- \quad (space equal to the current font size)
- \qquad (twice of \quad space)
- \hspace{«length»} if you want to force a specific length
License
Using Latex in Pressbooks Copyright © 2021 by Sanja Krajisnik and Jelena Loncar is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, except where otherwise noted.
Share This Book
Share on X Share on LinkedIn Share via EmailTag » How To Bold In Latex
-
Bold, Italics And Underlining - Overleaf, Online LaTeX Editor
-
"Correct" Way To Bold/italicize Text? - TeX - LaTeX Stack Exchange
-
Bold, Italics And Underlining - ShareLaTeX, Online LaTeX Editor
-
How To Write Bold Text In LaTeX? 2022 - SCI Journal
-
LaTeX Italics And Bold - Sascha Frank
-
How To Write Text Bold In LaTeX? | Use \textbf Command - Physicsread
-
How To Create A Bold Text In LaTeX - Linux Hint
-
How To Make A Hyperlink Text Bold In Overleaf Resume?
-
Latex Tutorial => Bold Text
-
Learn How To Bold Math Symbols: Easy Steps - LaTeX
-
How Do I Obtain Bold Formatted Mathematical Expressions In ...
-
Bug Using LaTeX For Bold Text In Microsoft Word
-
How To Bold \tau
-
Using Bold Greek Letters In LaTeX - Berkeley Math