Inline: $E = mc^2$.

Block:

$$ S = \int \mathcal{L} \, d^4x $$