Equations in HTML

Creating equations

Nikki M Group use MathJax for displaying equations in HTML. Traditionally, mathematical equations on the web have been presented as images, which has a number of drawbacks including reduced quality and no support beyond visual.

MathJax is well supported and works with all browsers, it is an open-source JavaScript display engine that uses CSS and web fonts.

Request a quote

Call +61 3 9584 6021

Talk to us about your project

  • Need help publishing equations for mathematics, chemistry or physics?
  • Do you want to convert a print publication to HTML?
  • Want typesetting, production or proofreading services?

Publishing maths

Your design partner for mathematics.

Examples of equations in HTML

Alignment

1 cos 2 x cos x = sin 2 x cos x = sin x cos x = tan x

Size

b ± b 2 4 a c 2 a

Integration

4 x 3 + 3 ( x 4 + 3 x ) 7 d x V = lim δ x 0 x = a x = b π y 2 δ x

Vectors

O A + A B = O B v ˜ = 3 i ˜ + 4 j ˜

Underscript

1 + 2 + + n

Set notation

Pr ( A | B ) = Pr ( A B ) Pr ( B )

Functions

f ( x ) = { ln ( x ) , { x : x < 1 } x + 1 , { x : 1 x 0 } e x , { x : x > 0 }

Cancelling

2 4 1 × 5 10 5

Fast facts

Technology
MathJax, HTML, CSS, MathType, Microsoft Word
Sector
Science, technical, engineering and mathematics (STEM)
Market
Digital publishing
Services
Publication designProject managementContent developmentEditingIllustrationTypesettingPrint management