TeX cell
NotebooksFor the mathematically inclined, you can use KaTeX leveraging our mathematical formula cell.
To create a TeX cell, click the + above or below a cell to open the add cell menu and select Mathematical formula.
![A screenshot of the word ‘math’ typed into the add cell menu, with the “Mathematical formula” option selected.](/documentation/assets/mathFormula.BP8r1DYh.png)
The cell is pre-filled with some example TeX:
c = \pm\sqrt{a^2 + b^2}
![An open mathematical formula cell with code for the formula c equals the square root of a squared plus b squared in the code section of the cell and the rendered formula above in the presentation part of the cell.](/documentation/assets/boilerPlateMath._x2-Fnaa.png)
Use this if helpful, or replace with your own custom inline TeX code:
E = mc^2
or more complicated blocks of TeX:
\Delta E^*_{00} = \sqrt{
\Big(\frac{\Delta L'}{k_LS_L}\Big)^2 +
\Big(\frac{\Delta C'}{k_CS_C}\Big)^2 +
\Big(\frac{\Delta H'}{k_HS_H}\Big)^2 +
R_T
\frac{\Delta C'}{k_CS_C}
\frac{\Delta H'}{k_HS_H}}
![An open mathematical formula cell with a lot of TeX code in the code section and a very complicated resulting rendered formula in the presentation section.](/documentation/assets/longForm.DuyUJEr0.png)
For more details, please check out KaTeX’s document website.