Add a formula with Blocks
Use the visual math input when it is faster than typing every LaTeX command.
Open Blocks or Formula import
Open Blocks from the editor. To start from a formula on screen, choose Formula import and select the source window and area.

Shape the expression
Edit the formula visually, then choose whether the result is inline, display, align*, gather*, or left unenclosed.
Confirm into your .tex file
Click Confirm to insert or update the formula in the active .tex file, then use Build to inspect the PDF.