Who Needs LaTeX?

Are you an instructor? Do you create educational resources like textbooks or courseware? Do you ever write complex formulas or equations for subjects like math or chemistry?

You may need LaTeX.

Post by Arianna Cheveldave, coordinator, open education, BCcampus

What Is LaTeX?

LaTeX (LAY-tek) is a typesetting system developed by Leslie Lamport and initially released in 1984. In certain environments, you can use LaTeX to create and format entire documents. Here is a page of a document written entirely in LaTeX:

A title page of a document is shown. Centered example text, some of which is in latin, and an example of an algrebraic equation is shown as well. the text and format appear seamless.
Source: http://www.howtotex.com

Alternatively, you can use LaTeX within other spaces, like WordPress or Pressbooks, to add some specially formatted expressions to regular text.

For instance, an open algebra textbook will mostly consist of regular text, but it will certainly contain a lot of math, too, which can be formatted very nicely using LaTeX. An algebra textbook could be written entirely in LaTeX, but that would require using a dedicated LaTeX editor tool and a lot more knowledge of LaTeX formatting.

The easiest way to write an open algebra textbook is to use a tool like Pressbooks. In Pressbooks, you could write the paragraphs to explain concepts in regular text, then use LaTeX to write the examples. Here is a screenshot of an open algebra textbook in Pressbooks:

Algraebraic equations are shown:  "Here are some examples of polynomials": 
Polynomial: 
b+1 
4{y}^{2}-7y+2 
4{x}^{4}+{x}^{3}+8{x}^{2}-9x+1
Monomial: 14
 8{y}^{2}
 -9{x}^{3}{y}^{5} 
 -13
Binomial: 
a+7
4b-5 & {y}^{2}-16 
3{x}^{3}-9{x}^{2} 
Trinomial:
 {x}^{2}-7x+12 
 9{y}^{2}+2y-8
 6{m}^{4}-{m}^{3}+8m
 {z}^{4}+3{z}^{2}-1
Notice that every monomial, binomial, and trinomial is also a polynomial. They are just special members of the “family” of polynomials and so they have special names. We use the words monomial, binomial, and trinomial when referring to these special polynomials and just call all the rest polynomials.

Example 1:
Determine whether each polynomial is a monomial, binomial, trinomial, or other polynomial.

a. 4{y}^{2}-8y-6
b. -5{a}^{4}{b}^{2}
c.{x}^{5}-5{x}^{3}-9{x}^{2}+3x+4
d. 13-5{m}^{3}
e. q

Solution: 
a)	4{y}^{2}-8y-6	3*	Trinomial
b)	-5{a}^{4}{b}^{2}	1	Monomial
c)	2{x}^{5}-5{x}^{3}-9{x}^{2}+3x+4	5	Polynomial
d)	13-5{m}^{3}	2	Binomial
e)	q	1	Monomial

*Number of terms
Source: https://opentextbc.ca/introalgebra/

As you can see, LaTeX makes the math stand out from the regular text. In addition, you can use LaTeX to render complex formulas and equations that you cannot create using the special character bank in Pressbooks.

Why Use LaTeX?

LaTeX is most useful for people who write resources for subjects like algebra, calculus, geometry, finance, chemistry, physics, and engineering.

Instead of inserting images of equations that must then be made accessible by providing descriptive text, you can write technical expressions directly into your resource using LaTeX. If you’re writing in the British Columbia/Yukon Open Authoring Platform, your LaTeX will be rendered by MathJax by default.

MathJax is a JavaScript display engine that turns LaTeX markup into high-quality, human-readable, accessible expressions. MathJax allows each reader to customize how expressions appear for them, including format and size. MathJax is also compatible with many screen readers, circumventing the need for descriptive text.

How Do You Learn LaTeX?

BCcampus is working on several support resources that can help you on your journey to learn LaTeX.

A good place to start is the LaTeX Questions Answered section of the BCcampus Pressbooks Guide, which answers such questions as, “How do you write a LaTeX expression in Pressbooks?” and “What kind of symbols can I write using LaTeX?” We continually update this section with questions received from the community, so please feel free to send in your questions to latexsupport@bccampus.ca.

The Math in Pressbooks section of the Pressbooks User Guide explains some of the more technical aspects of writing LaTeX in Pressbooks, including the accessibility features of MathJax and how to adjust your settings.

The LaTeX Support page in the BCcampus Pressbooks Guide links to recordings of the LaTeX Learning Community, which met in the spring of 2021 to discuss LaTeX problems.

You can also reach out to latexsupport@bccampus.ca to ask a question or set up a one-on-one appointment where a member of our team can do a LaTeX demonstration for you or help you solve a particular problem.