Type complex math expressions easily into your wordpress page using MathQuill (http://mathquill.com/). This plugin adds a new block editor called ‘Direct math input’ in the ‘widgets’ category.
Math expressions are saved in LaTeX format and rendered by MathQuill during pageview.
Usage
After installing, a new block editor called ‘Direct math input’ will be available. Each block contains a MathQuill instance
where you can edit math right on your page.
When the math editor is focused, you can enter math symbols using your keyboard or via copy/paste.
See the http://mathquill.com/ homepage for a visual demonstration of how to input math.
Some common keyboard shortcuts are as follows:
- / (forward slash) Enter a new fraction, with focusable input areas for numerator and denominator
- ^ (caret) Enter a new superscript, e.g. to add an exponent
- _ (underscore) Enter a new subscript
- ( (open parentheses) Open parentheses (which will scale based on the height of the content inside) Other parenthesis types behave similarly, e.g. [ and {
- (backslash) Start typing one of the control sequences below. When finished, press enter or space to see the resulting symbol
Control sequences – to create each symbol, type the full sequence (including the backslash) into the math editor, followed by
space or enter. (not an exhaustive list)
- plusminus
- times
- alpha
- beta
- gamma
- delta
- Alpha
- Beta
- Gamma
- Delta
- summation
- prod
- int
- sqrt
- nthroot
- lt
- gt
- le
- ge
- approx
- doteq
- neq
- nless
- ngtr
- intersection
- union
- subset
- superset
- notsubset
- nosuperset
- subseteq
- isin
- contains
- notcontains
- Complex
- Hamiltonian
- Imaginary
- Naturals
- Primes
- Rationals
- Reals

评论0