A mathematical formula.
Can be displayed inline with text or as a separate block.
#set text("New Computer Modern") Let $a$, $b$, and $c$ be the side lengths of right-angled triangle. Then, we know that: $ a^2 + b^2 = c^2 $ Prove by induction: $ sum_(k=1)^n k = (n(n+1)) / 2 $
This function also has dedicated syntax: Write mathematical markup within dollar signs to create a formula. Starting and ending the formula with at least one space lifts it into a separate block that is centered horizontally. For more details about math syntax, see the main math page.
ParametersParameters are the inputs to a function. They are specified in parentheses after the function name.
Parameters are the inputs to a function. They are specified in parentheses after the function name.
bodycontentRequiredPositionalPositional parameters are specified in order, without names.
Positional parameters are specified in order, without names.
The contents of the formula.
Whether the formula is displayed as a separate block.