="http://www.w3.org/2000/svg" viewBox="0 0 512 512">

PressBooks – Online Platform

Math and Science Formulas Using LaTeX

PressBooks supports LaTeX code, a typesetting language that is often used to format complex science and math equations.

You can enter LaTeX code into the editor by putting $latex before your LaTeX code. At the end of your LaTeX code, add a dollar sign ($) to tell PressBooks that you are finished entering LaTeX code. Your LaTeX code should look like this:

$latex enter-your-latex-code$

This LaTeX code then gets converted to an image when viewed in a browser or exported to an ePub or PDF.

More resources

 

License

Icon for the Creative Commons Attribution 4.0 International License

Math and Science Formulas Using LaTeX by BCcampus is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book

css.php