Is there any way to type the CDF and PDF of a distribution on LaTeX similar to how it's done on this site?

https://en.wikipedia.org/wiki/Uniform_distribution_(continuous)

Skip to content
# [Tex/LaTex] LaTeX: Statistics CDF and PDF

###### Related Question

math-mode

Is there any way to type the CDF and PDF of a distribution on LaTeX similar to how it's done on this site?

https://en.wikipedia.org/wiki/Uniform_distribution_(continuous)

## Best Answer

I yield to @CarLaTeX’s invite to provide a slightly simplified version of her answer:

See the manual of the

`mathtools`

package, section 3.4.3 (p. 18) for details.