Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KaTeX/KaTeX
/ functions
Functions
524 in github.com/KaTeX/KaTeX
⨍
Functions
524
◇
Types & classes
70
↓ 2 callers
Function
buildHTML
(tree: AnyParseNode[], options: Options)
src/buildHTML.ts:320
↓ 2 callers
Function
buildTree
( tree: AnyParseNode[], expression: string, settings: Settings, )
src/buildTree.ts:33
↓ 2 callers
Function
centerSpan
( span: DomSpan, options: Options, style: StyleInterface, )
src/delimiter.ts:86
↓ 2 callers
Function
checkPartialGroup
( node: HtmlDomNode, )
src/buildHTML.ts:200
↓ 2 callers
Function
collectCoverage
()
dockers/screenshotter/screenshotter.js:597
↓ 2 callers
Method
consumeArg
* Consume an argument from the token stream, and return the resulting array * of tokens and start/end token.
src/MacroExpander.ts:162
↓ 2 callers
Method
consumeArgs
* Consume the specified number of arguments from the token stream, * and return the resulting array of arguments.
src/defineMacro.ts:80
↓ 2 callers
Method
consumeSpaces
* Consume all following space tokens, without expansion.
src/MacroExpander.ts:147
↓ 2 callers
Method
countExpansion
* Increment `expansionCount` by the specified amount. * Throw an error if it exceeds `maxExpand`.
src/MacroExpander.ts:252
↓ 2 callers
Function
createMatrix
()
dockers/texcmp/texcmp.js:268
↓ 2 callers
Function
displayWrap
(node: DomSpan, settings: Settings)
src/buildTree.ts:19
↓ 2 callers
Function
doubleBrushStroke
(svgPath: string)
src/svgGeometry.ts:19
↓ 2 callers
Function
execFile
(cmd, args, opts)
dockers/texcmp/texcmp.js:205
↓ 2 callers
Method
execute
(self, start, next_char)
src/metrics/parse_tfm.py:26
↓ 2 callers
Method
expandNextToken
* Recursively expand first token, then return first non-expandable token.
src/defineMacro.ts:49
↓ 2 callers
Method
expandTokens
* Fully expand the given token stream and return the resulting list of * tokens. Note that the input tokens are in reverse order, but the *
src/defineMacro.ts:68
↓ 2 callers
Function
expectEquivalent
(actual: any, expected: any, settings: any, mode: any, expand: any)
test/helpers.ts:164
↓ 2 callers
Function
flatten
(array: NestedArray<string>)
contrib/render-a11y-string/render-a11y-string.ts:705
↓ 2 callers
Function
getAutoTag
(name: string)
src/environments/array.ts:76
↓ 2 callers
Function
getMetrics
( symbol: string, font: string, mode: Mode, )
src/delimiter.ts:47
↓ 2 callers
Function
getOptions
(withCode)
website/static/js/index.js:69
↓ 2 callers
Function
getParsed
(expr: any, settings: any = new Settings())
test/helpers.ts:108
↓ 2 callers
Method
havingBaseSizing
* Remove the effect of sizing changes such as \Huge. * Keep the effect of the current style, such as \scriptstyle.
src/Options.ts:188
↓ 2 callers
Function
imageDimensions
(img)
dockers/screenshotter/screenshotter.js:371
↓ 2 callers
Function
isAtom
(value: string)
src/atoms.ts:31
↓ 2 callers
Method
isExpandable
* Determine whether a command is expandable.
src/defineMacro.ts:93
↓ 2 callers
Method
lex
* This function lexes a single token.
src/Lexer.ts:91
↓ 2 callers
Function
makeCustomSizedDelim
( delim: string, height: number, center: boolean, options: Options, mode: Mode, classe
src/delimiter.ts:751
↓ 2 callers
Function
makeGlue
(measurement: Measurement, options: Options)
src/buildCommon.ts:644
↓ 2 callers
Function
makeLargeDelim
(delim: string, size: DelimiterSize, center: boolean, options: Options, mode: Mode, classe
src/delimiter.ts:139
↓ 2 callers
Function
makeStackedDelim
( delim: string, heightTotal: number, center: boolean, options: Options, mode: Mode, c
src/delimiter.ts:217
↓ 2 callers
Function
makeVerb
(group: ParseNode<"verb">)
src/functions/verb.ts:56
↓ 2 callers
Function
newDocumentFragment
( children: ReadonlyArray<MathDomNode> )
src/mathMLTree.ts:36
↓ 2 callers
Function
optionsFromSettings
(settings: Settings)
src/buildTree.ts:11
↓ 2 callers
Function
optionsWithFont
(group: ParseNode<"text">, options: Options)
src/functions/text.ts:29
↓ 2 callers
Method
parseArguments
* Parses the arguments of a function or environment
src/Parser.ts:518
↓ 2 callers
Function
parseArray
* Parse the body of the environment, with rows delimited by \\ and * columns delimited by &, and create a nested list in row-major order * with one
src/environments/array.ts:89
↓ 2 callers
Method
read_word
(self)
src/metrics/parse_tfm.py:110
↓ 2 callers
Function
renderError
( error: unknown, expression: string, options: Settings, )
katex.ts:95
↓ 2 callers
Function
renderToDomTree
( expression: string, options: SettingsOptions, )
katex.ts:114
↓ 2 callers
Method
scanArgument
* Find an macro argument without expanding tokens and append the array of * tokens to the token stack. Uses Token as a container for the result.
src/MacroExpander.ts:122
↓ 2 callers
Function
scriptFromCodepoint
(codepoint: number)
src/unicodeScripts.ts:89
↓ 2 callers
Function
setSize
(width, height)
dockers/screenshotter/screenshotter.js:356
↓ 2 callers
Function
sizeAtStyle
(size: number, style: StyleInterface)
src/Options.ts:34
↓ 2 callers
Function
sizingGroup
( value: AnyParseNode[], options: Options, baseOptions: Options, )
src/functions/sizing.ts:14
↓ 2 callers
Function
splitAtDelimiters
(text: string, delimiters: DelimiterSpec[])
contrib/auto-render/splitAtDelimiters.ts:50
↓ 2 callers
Function
staticSvg
(value: string, options: Options)
src/buildCommon.ts:766
↓ 2 callers
Function
stripPositions
(expr: any)
test/helpers.ts:113
↓ 2 callers
Method
switchMode
* Switches between "text" and "math" modes.
src/Parser.ts:112
↓ 2 callers
Function
syncOptionsPanelState
()
static/main.js:138
↓ 2 callers
Function
traverseSequence
( delim: string, height: number, sequence: Delimiter[], options: Options, )
src/delimiter.ts:709
↓ 2 callers
Function
tryCombineChars
(chars: HtmlDomNode[])
src/buildCommon.ts:296
↓ 2 callers
Function
validUnit
(unit: string | Measurement)
src/units.ts:43
↓ 2 callers
Function
validateAmsEnvironmentContext
(context: EnvContextLike)
src/environments/array.ts:61
↓ 2 callers
Function
wrapWithStyle
( frac: ParseNode<"genfrac">, style?: StyleStr | null, )
src/functions/genfrac.ts:215
↓ 1 callers
Function
_findObserveGroups
(input, i, endChars)
contrib/mhchem/mhchem.js:391
↓ 1 callers
Method
_getExpansion
* Returns the expanded macro as a reversed array of tokens and a macro * argument count. Or returns `null` if no such macro.
src/MacroExpander.ts:405
↓ 1 callers
Function
applySetting
( target: Settings, prop: K, options: SettingsOptions, schema: SchemaEntry<K>, )
src/Settings.ts:336
↓ 1 callers
Function
assertNever
@param {number} a
contrib/mhchem/mhchem.js:1693
↓ 1 callers
Function
assertParsed
(group: ParseNode<"leftright">)
src/functions/delimsizing.ts:151
↓ 1 callers
Function
assertSpan
( group: HtmlDomNode, )
src/domTree.ts:620
↓ 1 callers
Function
assertString
@param {string} a
contrib/mhchem/mhchem.js:1695
↓ 1 callers
Function
assertSymbolDomNode
( group: HtmlDomNode, )
src/domTree.ts:610
↓ 1 callers
Function
assertVersion
(katex, bundlePath)
test/verify-build.js:45
↓ 1 callers
Method
baseSizingClasses
* Return the CSS sizing classes required to switch to the base size. Like * `this.havingSize(BASESIZE).sizingClasses(this)`.
src/Options.ts:281
↓ 1 callers
Function
beginRow
()
src/environments/array.ts:150
↓ 1 callers
Function
boldSymbol
( value: string, mode: Mode, type: "mathord" | "textord", )
src/buildCommon.ts:140
↓ 1 callers
Function
braketHelper
(one: boolean)
src/macros.ts:919
↓ 1 callers
Function
browserSideWait
(milliseconds)
dockers/screenshotter/screenshotter.js:590
↓ 1 callers
Function
buildDriver
()
dockers/screenshotter/screenshotter.js:300
↓ 1 callers
Function
buildExpression
( expression: AnyParseNode[], options: Options, isRealGroup: boolean | "root", surrounding: [D
src/buildHTML.ts:59
↓ 1 callers
Function
buildGroup
( group: AnyParseNode | null | undefined, options: Options, baseOptions?: Options, )
src/buildHTML.ts:259
↓ 1 callers
Function
buildGroup
( group: AnyParseNode | null | undefined, options: Options, )
src/buildMathML.ts:256
↓ 1 callers
Function
buildHTMLTree
( tree: AnyParseNode[], expression: string, settings: Settings, )
src/buildTree.ts:55
↓ 1 callers
Function
buildHTMLUnbreakable
* Combine an array of HTML DOM nodes (e.g., the output of `buildExpression`) * into an unbreakable HTML node of class .katex-base, with proper struts
src/buildHTML.ts:299
↓ 1 callers
Function
buildRegion
( a11yStrings: NestedArray<string>, callback: (regionStrings: NestedArray<string>) => void, )
contrib/render-a11y-string/render-a11y-string.ts:186
↓ 1 callers
Function
buildString
( str: string, type: Atom | "normal", a11yStrings: NestedArray<string>, )
contrib/render-a11y-string/render-a11y-string.ts:147
↓ 1 callers
Function
buildSvgSpan_
()
src/stretchy.ts:173
↓ 1 callers
Function
canCombine
(prev: SymbolNode, next: SymbolNode)
src/buildCommon.ts:260
↓ 1 callers
Function
cdArrow
( arrowChar: string, labels: ParseNode<"ordgroup">[], parser: Parser )
src/environments/cd.ts:47
↓ 1 callers
Function
checkControlSequence
(tok: Token)
src/functions/def.ts:20
↓ 1 callers
Function
checkDelimiter
( delim: AnyParseNode, context: FunctionContext, )
src/functions/delimsizing.ts:72
↓ 1 callers
Function
chemParse
(tokens, stateMachine)
contrib/mhchem/mhchem.js:77
↓ 1 callers
Function
chooseMathStyle
(group: ParseNode<"mathchoice">, options: Options)
src/functions/mathchoice.ts:11
↓ 1 callers
Function
clearRenderError
()
static/main.js:173
↓ 1 callers
Function
closestKatex
(node: Node)
contrib/copy-tex/copy-tex.ts:4
↓ 1 callers
Method
consumeArgs
* Consume the specified number of (delimited) arguments from the token * stream and return the resulting array of arguments.
src/MacroExpander.ts:225
↓ 1 callers
Method
cramp
()
src/Style.ts:88
↓ 1 callers
Function
dCellStyle
(envName: string)
src/environments/array.ts:270
↓ 1 callers
Function
defineEnvironment
({ type, names, props, handler, htmlBuilder, mathmlBuilder, }: EnvDefSpec<NODETYPE>)
src/defineEnvironment.ts:87
↓ 1 callers
Function
defineSymbol
( mode: Mode, font: SymbolFont, group: Group, replace: string, name: string, acceptUni
src/symbols.ts:40
↓ 1 callers
Function
delimFromValue
(delimString: string)
src/functions/genfrac.ts:349
↓ 1 callers
Function
delimTypeToFont
(type: Delimiter)
src/delimiter.ts:692
↓ 1 callers
Function
doDemo
()
website/static/js/index.js:88
↓ 1 callers
Method
endGroups
* Ends all currently nested groups (if any), restoring values before the * groups began. Useful in case of an error in the middle of parsing.
src/Namespace.ts:58
↓ 1 callers
Function
endRow
()
src/environments/array.ts:155
↓ 1 callers
Function
ensureDir
(dir)
dockers/texcmp/texcmp.js:195
↓ 1 callers
Function
escapeRegex
(string: string)
contrib/auto-render/splitAtDelimiters.ts:44
↓ 1 callers
Method
expandAfterFuture
* Expand the next token only once (if possible), and return the resulting * top token on the stack (without removing anything from the stack).
src/defineMacro.ts:44
↓ 1 callers
Method
expandMacro
* Fully expand the given macro name and return the resulting list of * tokens, or return `undefined` if no such macro is defined.
src/MacroExpander.ts:356
← previous
next →
101–200 of 524, ranked by callers