All Downloads are FREE. Search and download functionalities are using the official Maven repository.

build.test.functional.expected.math_output_mathml.xhtml Maven / Gradle / Ivy

There is a newer version: 2.4
Show newest version






Mathematics



Mathematics

Docutils supports inline math with the prefix or postfix :math: role specificator, n!+sin(xn2) and Ac= π 4d2, as well as displayed math via the math directive:

f(ϵ)= 1 1+exp ε kBT

Content may start on the first line of the directive, e.g.

N= number of apples 7

Equations can be labeled with a reference name using the :name: option. See eq:M and eq:schrödinger below.

The determinant of the matrix

M= a b c d

is | M|=ad-bc.

More than one display math block can be put in one math directive. For example, the following sum and integral with limits:

01xndx= 1 n+1
n=1mn= m(m+1) 2

LaTeX-supported Unicode math symbols can be used in math roles and directives:

The Schrödinger equation

i tΨ= H^Ψ,

with the wave function Ψ, describes how the quantum state of a physical system changes in time.

Math-Accents:
a´ \acute{a} t˙ \dot{t} γ^ \hat{\gamma}
a` \grave{a} t¨ \ddot{t} α˜ \tilde{\alpha}
x˘ \breve{x} t \dddot{t} ı \vec{\imath}
aˇ \check{a} a¯ \bar{a} R \vec{R}

Modulation Transfer Function:

MTF= {s(x)} {s(x)}| ω x=0=abs - s(x)e iω xxd x - s(x)d x.

Math split over two lines: If a double backslash is detected outside a \begin{...} \end{...} pair, the math code is wrapped in an AMSmath align environment:

s out(x) =s in(x')*sδ(x-x') =s in(x')sδ(x-x')dx'

Cases ("manually", with matrix environment):

sgn(x)= -1 x<0 1 x>0

Cases with the AMSmath cases environment (not (yet) supported by HTML writers with --math-output=MathML):

System Message: ERROR/3 (functional/input/data/math.txt, line 108)

Environment not supported! Supported environment: "matrix".

\mathrm{sgn}(x) = \begin{cases}
                    -1 & x<0\\
                     1 & x>0
                  \end{cases}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy