Extension:LatexCompleter

From MediaWiki.org
Jump to navigation Jump to search

LatexCompleter is an extension for WikiToLearn that will add offline support to the current Wiki Editor.

Features[edit]

This extension is used to add latex completions for a user when inserting the math formula in the Visual Editor.It shows a dropdown based on the user's input , thereby autocompleting the text , and then adds the snippet corresponding to that caption.

Installation[edit]

Latex Formulas[edit]

Caption Snippet
frac \\frac{$arg}{$arg}
underset \\underset{$1:text}{$2:text}
cases
\\begin{cases} 
  $case1 \\
  $case2
\\end{cases}
sum \\sum_{$inf}^{$sup}
underset \\underset{$1:text}{$2:text}
indefinite integral \\int d${1:x}
matrix
\\begin{matrix}
 $1 & $2 \\
 $3 & $4
\\end{matrix}
definite integral \\int_{$1}^{$2} d${3:x}
overrightarrow \overrightarrow{$1:x}
overbrace \overbrace{$1:x}

Working Animation[edit]

Known Issues[edit]

  • Till the time , the hook is not completely working from the Code Editor side, the completions would not work.
 https://phabricator.wikimedia.org/T141021