#### mmm4444bot

##### Super Moderator

- Joined
- Oct 6, 2005

- Messages
- 10,962

**purplemath site**explains on four pages how to format math using plain text, and

**this other site**offers math symbols for copy-and-paste.)

Be forewarned: There are different implementations of LaTeX on the Internet; not everything that you might see elsewhere works the same way here. (This forum currently receives LaTeX rendering from katex.org.)

At this site, each line (

**or set of lines**) of LaTeX coding must be enclosed within tags, such as \(\displaystyle \text{[te}\text{x]}\) and \(\displaystyle \text{[/te}\text{x]}\). The [tex] tag option defaults to

__display__

__style__. If you would like to force

__inline__

__style__, then use tags \͏( and \͏)

**or**\(\displaystyle \text{[ima}\text{th]}\) and \(\displaystyle \text{[/ima}\text{th]}\). For

__block__

__style__, use \(\displaystyle \text{[ma}\text{th]}\) and \(\displaystyle \text{[/ma}\text{th]}\) tags

**or**\͏[ and \͏]

**or**$$ and $$. Display style and block style both render at the same size, but block style adds extra space above and below and centers the output. (An example of each style appears below.)

While composing your post, you can type the opening and closing tags of your choice, or you can click the

**f(x)**toolbar icon to open a dialog box in which you select options and type your code. The dialog box provides a LaTeX preview, for checking entries. If you do not use the LaTeX dialog box, then check your code by using the post's Preview button.

You can view the code for LaTeX that you see in other members' posts by clicking the post's reply button. (Use the

**[ ]**toolbar icon to 'Toggle BB Code', if necessary.)

**Here's an example of LaTeX code (without the tags):**

**\cos\bigg( \frac{\pi}{3} \bigg) \cdot \int_{a}^{b} \frac{3x^{3} + 7x - 10}{\sqrt[3]{x + 4}} \; \text{dx}**

\(\displaystyle \text{cos}\bigg(\frac{\pi}{3}\bigg) \cdot \int_{a}^{b} \frac{3x^{3} + 7x - 10}{\sqrt[3]{x + 4}} \; \text{dx}\)

After replacing the

**\bigg(**and

**\bigg)**commands

with regular parentheses, inline style looks like this:

[imath]\text{cos(}\frac{\pi}{3}\text{)} \cdot \int_{a}^{b} \frac{3x^{3} + 7x - 10}{\sqrt[3]{x + 4}} \; \text{dx}[/imath]. The tags \͏( and \͏)

**or**

\(\displaystyle \text{[ima}\text{th]}\) and \(\displaystyle \text{[/ima}\text{th]}\) are used for inline style.

Block style centers output and adds vertical space, using \(\displaystyle \text{[ma}\text{th]}\) and \(\displaystyle \text{[/ma}\text{th]}\) tags

**or**\͏[ and \͏]

**or**$$ and $$.

[math]\text{cos}\bigg(\frac{\pi}{3}\bigg) \cdot \int_{a}^{b} \frac{3x^{3} + 7x - 10}{\sqrt[3]{x + 4}} \; \text{dx}[/math]

**OTHER REFERENCES AND EXAMPLES**

**LaTeX tutorial**

**Functions supported by katex.org**

**Introductory LaTeX math coding**

**List of LaTeX mathematical symbols (wiki)**

**LaTeX code and image generator**

\frac{A}{B} = C^{2} \quad \quad \sqrt{x^2} = |x|

[math]\frac{A}{B} = C^{2} \quad \quad \sqrt{x^2} = |x|[/math]

\lim_{x\to\infty} f(x)

[math]\lim_{x\to\infty} f(x)[/math]

\sqrt{y} = x^2 + bx + \bigg( \frac{b}{2} \bigg)^2

[math]\sqrt{y} = x^2 + bx + \bigg( \frac{b}{2} \bigg)^2[/math]

[imath]\;[/imath]