Skip to content

Commit

Permalink
Support Downarrow
Browse files Browse the repository at this point in the history
  • Loading branch information
wolverian authored Jul 1, 2022
1 parent 36b3cb0 commit fbc0449
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions ASCIIMathML.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ var AMsymbols = [
{input:"harr", tag:"mo", output:"\u2194", tex:"leftrightarrow", ttype:CONST},
{input:"rArr", tag:"mo", output:"\u21D2", tex:"Rightarrow", ttype:CONST},
{input:"lArr", tag:"mo", output:"\u21D0", tex:"Leftarrow", ttype:CONST},
{input:"dArr", tag:"mo", output:"\u21D3", tex:"Downarrow", ttype:CONST},
{input:"hArr", tag:"mo", output:"\u21D4", tex:"Leftrightarrow", ttype:CONST},
//commands with argument
{input:"sqrt", tag:"msqrt", output:"sqrt", tex:null, ttype:UNARY},
Expand Down
1 change: 1 addition & 0 deletions asciimath-based/ASCIIMath2TeX.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ class AMtoTeX
array( 'input'=>'harr', 'tex'=>'leftrightarrow'),
array( 'input'=>'rArr', 'tex'=>'Rightarrow'),
array( 'input'=>'lArr', 'tex'=>'Leftarrow'),
array( 'input'=>'dArr', 'tex'=>'Downarrow'),
array( 'input'=>'hArr', 'tex'=>'Leftrightarrow'),

// Commands with argument
Expand Down
1 change: 1 addition & 0 deletions asciimath-based/ASCIIMathTeXImg.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ var AMsymbols = [
{input:"harr", tag:"mo", output:"\u2194", tex:"leftrightarrow", ttype:CONST},
{input:"rArr", tag:"mo", output:"\u21D2", tex:"Rightarrow", ttype:CONST},
{input:"lArr", tag:"mo", output:"\u21D0", tex:"Leftarrow", ttype:CONST},
{input:"dArr", tag:"mo", output:"\u21D3", tex:"Downarrow", ttype:CONST},
{input:"hArr", tag:"mo", output:"\u21D4", tex:"Leftrightarrow", ttype:CONST},

//commands with argument
Expand Down
1 change: 1 addition & 0 deletions mathjax/jax.js
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ var AMsymbols = [
{input:"harr", tag:"mo", output:"\u2194", tex:"leftrightarrow", ttype:CONST},
{input:"rArr", tag:"mo", output:"\u21D2", tex:"Rightarrow", ttype:CONST},
{input:"lArr", tag:"mo", output:"\u21D0", tex:"Leftarrow", ttype:CONST},
{input:"dArr", tag:"mo", output:"\u21D3", tex:"Downarrow", ttype:CONST},
{input:"hArr", tag:"mo", output:"\u21D4", tex:"Leftrightarrow", ttype:CONST},
//commands with argument
{input:"sqrt", tag:"msqrt", output:"sqrt", tex:null, ttype:UNARY},
Expand Down
1 change: 1 addition & 0 deletions test/unittests.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ var unittests = [
{input: "csch", output:"<mrow><mo>csch</mo><mo></mo></mrow>"},
{input: "cup", output:"<mo>∪</mo>"},
{input: "darr", output:"<mo>↓</mo>"},
{input: "dArr", output:"<mo>⇓</mo>"},
{input: "ddot", output:"<mover><mo></mo><mo>..</mo></mover>"},
{input: "ddots", output:"<mo>⋱</mo>"},
{input: "del", output:"<mo>∂</mo>"},
Expand Down

0 comments on commit fbc0449

Please sign in to comment.