# LATEX Functions I Frequently Use

• ## Functions I Frequently Use

• ### Fraction

• g(x) &= \frac{1}{x}
• $g(x) = \frac{1}{x}$
• ### Multiplication

• not write a multiplication-sign at all, as in $y=mx+c$
• or you should write it using a vertically centered dot, as in $3\cdot5=15$. Do not use symbols like “*”! In LaTeX you use the command \cdot to make a multiplication-dot.
• Sometimes you can use the symbol $\times$. Code \times is used in LaTeX to make the symbol
• ### Dynamic Bracket Size

• The size of brackets and parentheses can be manually set, or they can be resized dynamically in your document, as shown in the next example:
• $F = G \left( \frac{m_1 m_2}{r^2} \right)$ will produce the following output: $F = G \left( \frac{m_1 m_2}{r^2} \right)$
• Notice that to insert the parentheses or brackets, the \left and \right commands are used. Even if you are using only one bracket, both commands are mandatory. \left and \right can dynamically adjust the size, as shown by the next example:
• ### Formula steps

• use this template to get the step calculation similar to example below
  \begin{align*} Ent\\ &= CR + PO \\ &= CR + (R-C_{roy}-CR)\cdot70\% \\ \text{if C below cost ceiling} \\ &= C + (R-C_{roy}-C)\cdot70\% \\ &= 0.7R - 0.7C_{roy} + 0.3C \end{align*}

• ![[2022-04-20#^a2036b]]