Subscripts and Superscripts

Introduction

The Role of Subscripts and Superscripts

Writing Subscripts with the Underscore

Writing Superscripts with the Caret

Grouping Multi-character Expressions with Braces

Combining Subscripts and Superscripts

Quick Reference

Conclusion and Next Steps

In this lesson, you learned how to use the underscore (_) for subscripts and the caret (^) for superscripts in LaTeX math mode. You saw that curly braces {} are essential for grouping multi-character content, and that both a subscript and a superscript can be attached to the same base element in either order. These two small characters will appear in nearly every mathematical expression you write going forward.

Now it is time to put this knowledge into action. Head over to the practice exercises, where you will write subscripts, superscripts, and combined expressions step by step — including a real physics formula that ties everything together. In the next lesson, we will tackle fractions, giving you yet another essential building block for typesetting math.

Sign up

Join the 1M+ learners on CodeSignal

Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal