Customizing your Pressbook

LaTeX Examples

LaTeX coding is inserted using the LaTeX icon (looks like a calculator) in the editing toolbar:

In the editor, the coding looks like this:

[latex]S=\sqrt\frac{\Sigma{\left(X_i-\bar{X}\right )}^2}{N}[/latex]

and 

[latex]t=\frac{\bar{x}_1-\bar{x}_2}{\sqrt{\frac{s^2_1}{n_1}+\frac{s^2_2}{n_2}}}[/latex]

but this is how the content renders to the end user:

Examples

Example 1

[latex]S=\sqrt\frac{\Sigma{\left(X_i-\bar{X}\right )}^2}{N}[/latex]

Example 2

[latex]t=\frac{\bar{x}_1-\bar{x}_2}{\sqrt{\frac{s^2_1}{n_1}+\frac{s^2_2}{n_2}}}[/latex]

License

Icon for the Creative Commons Attribution 4.0 International License

A Guide to Bears Copyright © by Toronto Metropolitan University is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book