Skip to content

Commit c89592e

Browse files
authored
Merge pull request #82 from mathjax/tex_input_with_alpha
Tex input with alpha
2 parents 009a0c7 + 2ea2ebb commit c89592e

File tree

16 files changed

+6806
-6223
lines changed

16 files changed

+6806
-6223
lines changed

mathjax3-ts/core/MmlTree/MmlNodes/mo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ export class MmlMo extends AbstractMmlTokenNode {
249249
* order they should be tested, based on the
250250
* position of the element in its parent.
251251
*/
252-
protected getForms() {
252+
public getForms() {
253253
let core: MmlNode = this;
254254
let parent = this.parent;
255255
let Parent = this.Parent;

mathjax3-ts/input/tex.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ export class TeX extends AbstractInputJax {
4343
FindTeX: null
4444
};
4545

46-
/*
46+
/**
4747
* The FindTeX instance used for locating TeX in strings
4848
*/
4949
protected findTeX: FindTeX;
5050

51-
/*
51+
/**
5252
* @override
5353
*/
5454
constructor(options: OptionList) {
@@ -57,17 +57,14 @@ export class TeX extends AbstractInputJax {
5757
this.findTeX = this.options['FindTeX'] || new FindTeX(find);
5858
}
5959

60-
/*
61-
* Use the legacy TeX input jax for now
62-
*
60+
/**
6361
* @override
6462
*/
6563
public compile(math: MathItem): MmlNode {
66-
// return LegacyTeX.Compile(math.math, math.display);
6764
return NewTex.Compile(math.math, math.display);
6865
}
6966

70-
/*
67+
/**
7168
* @override
7269
*/
7370
public findMath(strings: string[]) {

0 commit comments

Comments
 (0)