Per utilizzare questo servizio occorre richiamare il sito con:
- https://math.croswil.com/f?<formula>
- https://math.croswil.com/fdown?<formula>
dove la formula viene costruita secondo le regole descritte sotto. La grammatica asciimath è derivata da mathjax. A dfferenza di quanto proposto dal sito di mathjax, non serve installare alcuna libreria sul client. E' sufficente richiamare questo servizio per ottenere una immagine in SVG.
le differenze tra i due modi di chiamata: (f e fdown) sono sul risultato che da una immagine SVG integrabile, nel primo caso e una immagine da scaricare nel secondo.Croswil.
Most AsciiMath symbols attempt to mimic in text what they look like
rendered, like oo for ∞
. Many symbols can also be
displayed using a TeX alternative, but a preceeding backslash is not
required.
| Type | TeX alt | See |
|---|---|---|
| + | + | |
| - | − | |
| * | cdot | ⋅ |
| ** | ast | ∗ |
| *** | star | ⋆ |
| // | / | |
| \\ | backslash setminus |
\ |
| xx | times | × |
| -: | div | ÷ |
| |>< | ltimes | ⋉ |
| ><| | rtimes | ⋊ |
| |><| | bowtie | ⋈ |
| @ | circ | ∘ |
| o+ | oplus | ⊕ |
| ox | otimes | ⊗ |
| o. | odot | ⊙ |
| sum | ∑ | |
| prod | ∏ | |
| ^^ | wedge | ∧ |
| ^^^ | bidwedge | ⋀ |
| vv | vee | ∨ |
| vvv | bigvee | ⋁ |
| nn | cap | ∩ |
| nnn | bigcap | ⋂ |
| uu | cup | ∪ |
| uuu | bigcup | ⋃ |
| Type | TeX alt | See |
|---|---|---|
| 2/3 | frac{2}{3} | 23 |
| 2^3 | 23 | |
| sqrt x | √x | |
| root(3)(x) | 3√x | |
| int | ∫ | |
| oint | ∮ | |
| del | partial | ∂ |
| grad | nabla | ∇ |
| +- | pm | ± |
| O/ | emptyset | ∅ |
| oo | infty | ∞ |
| aleph | ℵ | |
| :. | therefore | ∴ |
| :' | because | ∵ |
| |...| | |ldots| | |...| |
| |cdots| | |⋯| | |
| vdots | ⋮ | |
| ddots | ⋱ | |
| |\ | | | | | |
| |quad| | | | | |
| /_ | angle | ∠ |
| frown | ⌢ | |
| /_\ | triangle | △ |
| diamond | ⋄ | |
| square | □ | |
| |__ | lfloor | ⌊ |
| __| | rfloor | ⌋ |
| |~ | lceiling | ⌈ |
| ~| | rceiling | ⌉ |
| CC | C | |
| NN | N | |
| Q | ||
| RR | R | |
| ZZ | Z | |
| "hi" | text(hi) | hi |
| Type | TeX alt | See |
|---|---|---|
| = | = | |
| != | ne | ≠ |
| < | lt | < |
| > | gt | > |
| <= | le | ≤ |
| >= | ge | ≥ |
| -< | prec | ≺ |
| -<= | preceq | ⪯ |
| >- | succ | ≻ |
| >-= | succeq | ⪰ |
| in | ∈ | |
| !in | notin | ∉ |
| sub | subset | ⊂ |
| sup | supset | ⊃ |
| sube | subseteq | ⊆ |
| supe | supseteq | ⊇ |
| -= | equiv | ≡ |
| ~= | cong | ≅ |
| ~~ | approx | ≈ |
| prop | propto | ∝ |
| Type | TeX alt | See |
|---|---|---|
| and | and | |
| or | or | |
| not | neg | ¬ |
| => | implies | ⇒ |
| if | if | |
| <=> | iff | ⇔ |
| AA | forall | ∀ |
| EE | exists | ∃ |
| _|_ | bot | ⊥ |
| TT | top | ⊤ |
| |-- | vdash | ⊢ |
| |== | models | ⊨ |
| Type | TeX alt | See |
|---|---|---|
| ( | ( | |
| ) | ) | |
| [ | [ | |
| ] | ] | |
| { | { | |
| } | } | |
| (: | langle | ⟨ |
| :) | rangle | ⟩ |
| << | ⟨ | |
| >> | ⟩ | |
| {: x ) | x) | |
| ( x :} | (x | |
| abs(x) | |x| | |
| floor(x) | ⌊x⌋ | |
| ceil(x) | ⌈x⌉ | |
| norm(vecx) | ∥→x∥ |
| Type | TeX alt | See |
|---|---|---|
| uarr | uparrow | ↑ |
| darr | downarrow | ↓ |
| rarr | rightarrow | → |
| -> | to | → |
| >-> | rightarrowtail | ↣ |
| ->> | twoheadrightarrow | ↠ |
| >->> | twoheadrightarrowtail | ⤖ |
| |-> | mapsto | ↦ |
| larr | leftarrow | ← |
| harr | leftrightarrow | ↔ |
| rArr | Rightarrow | ⇒ |
| lArr | Leftarrow | ⇐ |
| hArr | Leftrightarrow | ⇔ |
| Type | TeX alt | See |
|---|---|---|
| hat x | ˆx | |
| bar x | overline x | ¯x |
| ul x | underline x | x–– |
| vec x | →x | |
| dot x | .x | |
| ddot x | ..x | |
| overset(x)(=) | overset(x)(=) | x= |
| underset(x)(=) | =x | |
| ubrace(1+2) | underbrace(1+2) | 1+2 |
| obrace(1+2) | overbrace(1+2) | 1+2 |
| color(red)(x) | x | |
| cancel(x) | x |
| Type | See | Type | See |
|---|---|---|---|
| alpha | α | ||
| beta | β | ||
| gamma | γ | Gamma | Γ |
| delta | δ | Delta | Δ |
| epsilon | ε | ||
| varepsilon | ɛ | ||
| zeta | ζ | ||
| eta | η | ||
| theta | θ | Theta | Θ |
| vartheta | ϑ | ||
| iota | ι | ||
| kappa | κ | ||
| lambda | λ | Lambda | Λ |
| mu | μ | ||
| nu | ν | ||
| xi | ξ | Xi | Ξ |
| pi | π | Pi | Π |
| rho | ρ | ||
| sigma | σ | Sigma | Σ |
| tau | τ | ||
| upsilon | υ | ||
| phi | ϕ | Phi | Φ |
| varphi | φ | ||
| chi | χ | ||
| psi | ψ | Psi | Ψ |
| omega | ω | Omega | Ω |
| Type | See |
|---|---|
| bb "AaBbCc" | AaBbCc |
| bbb "AaBbCc" | AaBbCc |
| cc "AaBbCc" | AaBbCc |
| tt "AaBbCc" | AaBbCc |
| fr "AaBbCc" | AaBbCc |
| sf "AaBbCc" | AaBbCc |
sin, cos, tan, sec, csc, cot, arcsin, arccos, arctan, sinh, cosh, tanh, sech, csch, coth, exp, log, ln, det, dim, mod, gcd, lcm, lub, glb, min, max, f, g.
Matrices: [[a,b],[c,d]] yields to [abcd]
Column vectors: ((a),(b)) yields to (ab)
Matrices can be used for layout:
{(2x,+,17y,=,23),(x,-,y,=,5):} yields
{2x+17y=23x−y=5
Complex subscripts: lim_(N->oo) sum_(i=0)^N yields to limN→∞N∑i=0
Subscripts must come before superscripts:
int_0^1 f(x)dx yields to ∫10f(x)dx
Derivatives: f'(x) = dy/dx yields f'(x)=dydx
For variables other than x,y,z, or t you will need grouping symbols:
(dq)/(dp) for dqdp