Quick Tips

A few frequently used commands are below.

Strikethrough

To strikethrough something, use:

\cancel{x}

This is especially useful when cancelling out factors. For example:

[latex]\dfrac{15}{20} = \dfrac{5\cdot 3}{5 \cdot 4} = \dfrac{\cancel{5}\cdot 3}{\cancel{5}\cdot 4} = \dfrac{3}{4}[/latex]

 

Underbrace

To add an underbrace to something use:

\underbrace{Thing with a curved line below it}_{Thing below the line}

This is helpful when you want to add extra information about something without disrupting the rest of the equation. For example:

[latex]\underbrace{2L}_{\text{2 times length}} + \underbrace{2W}_{\text{2 times width}} = \underbrace{P}_{\text{perimeter}}[/latex]

Underbrace

To add an underbrace to something, use:

\overbrace{Thing with a curved line above it}^{Thing above the line}

Similarly to the underbrace, the overbrace can be used to add extra information to an expression or equation. For example:

[latex]2x+ \overbrace{0.25+0.75}^{1}=3[/latex]

 

 

License

Icon for the Creative Commons Attribution 4.0 International License

LaTeX in Pressbooks: An Introduction and Workflow Copyright © by Caroline Daniels and Arianna is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book