How to write equations

how to write example
equals, plus, minus (− Alt 8722),
less, greater
with spaces 8 + 7 − 1 = x
14 > x
times (× ALT 0215)
division
with spaces 5 × 7
5 / 7
number upright 1592
variable, quantity, parameter, function italic k, l, a, b, c
function sin, cos, log, lg, ln, exp upright sin 51
index (quantity, variables) italic
(numbers in index upright)
Xl,m / XHDP
Kt−1
operator, symbol for derivation integral upright df/dx, ∂f/∂x
constant upright k
vector, tensor italic and bold a, b, α
matrix CAPITAL BOLD AT