If you need to write math content into a CCOG, it needs to be done in the right way to ensure that it is ADA compliant. Currently, the easiest way to do this is described in the following examples. Once you are in the CourseLeaf Editor, "code" your math content using \( and \) as surrounding delimiters. Or use \[ and \] as surrounding delimiters to produce centered "display mode" math content.

Known exception: The circumflex character (^) must not be used in the actual course description (the specific blurb that appears in a course catalog). This is because this character is a control character in Banner, and causes trouble. So if you need exponents in the course description itself, consider alternatives like \(n\)-space for \(\mathbb{R}^n\). Or consider using the ASCII exponent characters: ², ³.

You need to understand that the CourseLeaf editor will do nothing with the LaTeX code. Administrators and the curriculum Committee will see that raw code instead of the final product. But once the CCOG is published on the PCC web site, since TSS is loading MathJax on all CCOG pages, MathJax will intercept the LaTeX code and do all the right things with it. If you need to convince Curriculum Committee members that it will render correctly, show them using this tester (which you should also use to make sure that your LaTeX code produces what you intended).

You can produce LaTeX math commands using an editor like this one.

Math Content You NeedCommentsHow to Type It into the CourseLeaf CCOG Editor
3 is the solution to x+1=4
You could just leave this as unformatted math. But it's prettier if you enter it using LaTeX.
\(3\) is the solution to \(x+1=4\)
2 is a solution to x<5/2 

The greater-than sign and the less-than sign are used in HTML element declarations.

To be safe, rather than typing them, use \lt and \gt.

\(2\) is a solution to \(x\lt\frac{5}{2}\)
3x^2-15x-18 = 3(x^2-5x-6)
  = 3(x + 1)(x - 6)

For multi-line expressions, use the aligned environment.

The & character marks where alignment happens.

The \\ marks where rows end.

Using \left( and \right), instead of just ( and ), will make the parentheses grow to the appropriate height.

Note the extra braces around the 3 and the \left(...\right) expression. These just make the spacing nicer.

3x^2-15x-18 &={3}{\left(x^2-5x-6\right)}\\

If you need some special math content and do not know the LaTeX commands, try using an editor like this one, and test out what you find at this tester. If you need assistance, several SAC members use LaTeX and should be able to help.

  • No labels