Adobe Spectrum Hugo Demo Documentation FAQ Technology Radar Tags DocumentationFAQTechnology RadarTags
 

Math

Examples below are from https://www.overleaf.com/learn

Expressions

The well known Pythagorean theorem x2+y2=z2 was proved to be invalid for other exponents. Meaning the next equation has no integer solutions:

xn+yn=zn

E=mc2

Greek letters αβγρσδϵ

Binary operators ×

Relation operators <>⊂⊃⊆⊇

Others

Subscripts and superscripts

a12+a22=a32

x2α1=yij+yij

i=11ns=p11ps

i=1

i=1n

i=1n

Brackets and Parentheses

(x+y)[x+y]{x+y}x+y|x+y|x+y

F=G(m1m2r2)

[N(Lp)(m+n)]

y=1+(1x+1x2+1x3++1xn1+1xn)

Matrices

123abc

(123abc)

[123abc]

{123abc}

|123abc|

123abc

Fractions and Binomials

12

f(x)=P(x)Q(x)  and  f(x)=P(x)Q(x)

1+ab1+11+1a

a0+1a1+1a2+1a3+

(nk)=n!k!(nk)!

Operators

sin(a+b)=sinacosb+cosbsina

limh0f(x+h)f(x)h

Integrals, sums and limits

abx2,dx

Vμ(u,v),du,dv

n=12n=1

i=abf(i)

limxf(x)

\(

\)

x˙=σ(yx)y˙=ρxyxzz˙=βz+xy

The Cauchy-Schwarz Inequality

(k=1nakbk)2(k=1nak2)(k=1nbk2)

A Cross Product Formula

V1×V2=|ijkXuYu0XvYv0|

The probability of getting (k) heads when flipping (n) coins is:

P(E)=(nk)pk(1p)nk

An Identity of Ramanujan

1(ϕ5ϕ)e25π=1+e2π1+e4π1+e6π1+e8π1+

A Rogers-Ramanujan Identity

1+q2(1q)+q6(1q)(1q2)+=j=01(1q5j+2)(1q5j+3),for |q|<1.

Maxwell’s Equations

×B1cEt=4πcjE=4πρ×E+1cBt=0B=0

In-line Mathematics

Finally, while display equations look good for a page of samples, the ability to mix math and text in a paragraph is also important. This expression 3x1+(1+x)2 is an example of an inline equation. As you see, MathJax equations can be used this way as well, without unduly disturbing the spacing between lines.


Last modified July 12, 2021: add support for MathJax (#23) (a02031f)