MCPcopy Create free account

hub / github.com/KaTeX/KaTeX / functions

Functions524 in github.com/KaTeX/KaTeX

↓ 2 callersFunctionbuildHTML
(tree: AnyParseNode[], options: Options)
src/buildHTML.ts:320
↓ 2 callersFunctionbuildTree
( tree: AnyParseNode[], expression: string, settings: Settings, )
src/buildTree.ts:33
↓ 2 callersFunctioncenterSpan
( span: DomSpan, options: Options, style: StyleInterface, )
src/delimiter.ts:86
↓ 2 callersFunctioncheckPartialGroup
( node: HtmlDomNode, )
src/buildHTML.ts:200
↓ 2 callersFunctioncollectCoverage
()
dockers/screenshotter/screenshotter.js:597
↓ 2 callersMethodconsumeArg
* Consume an argument from the token stream, and return the resulting array * of tokens and start/end token.
src/MacroExpander.ts:162
↓ 2 callersMethodconsumeArgs
* Consume the specified number of arguments from the token stream, * and return the resulting array of arguments.
src/defineMacro.ts:80
↓ 2 callersMethodconsumeSpaces
* Consume all following space tokens, without expansion.
src/MacroExpander.ts:147
↓ 2 callersMethodcountExpansion
* Increment `expansionCount` by the specified amount. * Throw an error if it exceeds `maxExpand`.
src/MacroExpander.ts:252
↓ 2 callersFunctioncreateMatrix
()
dockers/texcmp/texcmp.js:268
↓ 2 callersFunctiondisplayWrap
(node: DomSpan, settings: Settings)
src/buildTree.ts:19
↓ 2 callersFunctiondoubleBrushStroke
(svgPath: string)
src/svgGeometry.ts:19
↓ 2 callersFunctionexecFile
(cmd, args, opts)
dockers/texcmp/texcmp.js:205
↓ 2 callersMethodexecute
(self, start, next_char)
src/metrics/parse_tfm.py:26
↓ 2 callersMethodexpandNextToken
* Recursively expand first token, then return first non-expandable token.
src/defineMacro.ts:49
↓ 2 callersMethodexpandTokens
* 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 callersFunctionexpectEquivalent
(actual: any, expected: any, settings: any, mode: any, expand: any)
test/helpers.ts:164
↓ 2 callersFunctionflatten
(array: NestedArray<string>)
contrib/render-a11y-string/render-a11y-string.ts:705
↓ 2 callersFunctiongetAutoTag
(name: string)
src/environments/array.ts:76
↓ 2 callersFunctiongetMetrics
( symbol: string, font: string, mode: Mode, )
src/delimiter.ts:47
↓ 2 callersFunctiongetOptions
(withCode)
website/static/js/index.js:69
↓ 2 callersFunctiongetParsed
(expr: any, settings: any = new Settings())
test/helpers.ts:108
↓ 2 callersMethodhavingBaseSizing
* Remove the effect of sizing changes such as \Huge. * Keep the effect of the current style, such as \scriptstyle.
src/Options.ts:188
↓ 2 callersFunctionimageDimensions
(img)
dockers/screenshotter/screenshotter.js:371
↓ 2 callersFunctionisAtom
(value: string)
src/atoms.ts:31
↓ 2 callersMethodisExpandable
* Determine whether a command is expandable.
src/defineMacro.ts:93
↓ 2 callersMethodlex
* This function lexes a single token.
src/Lexer.ts:91
↓ 2 callersFunctionmakeCustomSizedDelim
( delim: string, height: number, center: boolean, options: Options, mode: Mode, classe
src/delimiter.ts:751
↓ 2 callersFunctionmakeGlue
(measurement: Measurement, options: Options)
src/buildCommon.ts:644
↓ 2 callersFunctionmakeLargeDelim
(delim: string, size: DelimiterSize, center: boolean, options: Options, mode: Mode, classe
src/delimiter.ts:139
↓ 2 callersFunctionmakeStackedDelim
( delim: string, heightTotal: number, center: boolean, options: Options, mode: Mode, c
src/delimiter.ts:217
↓ 2 callersFunctionmakeVerb
(group: ParseNode<"verb">)
src/functions/verb.ts:56
↓ 2 callersFunctionnewDocumentFragment
( children: ReadonlyArray<MathDomNode> )
src/mathMLTree.ts:36
↓ 2 callersFunctionoptionsFromSettings
(settings: Settings)
src/buildTree.ts:11
↓ 2 callersFunctionoptionsWithFont
(group: ParseNode<"text">, options: Options)
src/functions/text.ts:29
↓ 2 callersMethodparseArguments
* Parses the arguments of a function or environment
src/Parser.ts:518
↓ 2 callersFunctionparseArray
* 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 callersMethodread_word
(self)
src/metrics/parse_tfm.py:110
↓ 2 callersFunctionrenderError
( error: unknown, expression: string, options: Settings, )
katex.ts:95
↓ 2 callersFunctionrenderToDomTree
( expression: string, options: SettingsOptions, )
katex.ts:114
↓ 2 callersMethodscanArgument
* 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 callersFunctionscriptFromCodepoint
(codepoint: number)
src/unicodeScripts.ts:89
↓ 2 callersFunctionsetSize
(width, height)
dockers/screenshotter/screenshotter.js:356
↓ 2 callersFunctionsizeAtStyle
(size: number, style: StyleInterface)
src/Options.ts:34
↓ 2 callersFunctionsizingGroup
( value: AnyParseNode[], options: Options, baseOptions: Options, )
src/functions/sizing.ts:14
↓ 2 callersFunctionsplitAtDelimiters
(text: string, delimiters: DelimiterSpec[])
contrib/auto-render/splitAtDelimiters.ts:50
↓ 2 callersFunctionstaticSvg
(value: string, options: Options)
src/buildCommon.ts:766
↓ 2 callersFunctionstripPositions
(expr: any)
test/helpers.ts:113
↓ 2 callersMethodswitchMode
* Switches between "text" and "math" modes.
src/Parser.ts:112
↓ 2 callersFunctionsyncOptionsPanelState
()
static/main.js:138
↓ 2 callersFunctiontraverseSequence
( delim: string, height: number, sequence: Delimiter[], options: Options, )
src/delimiter.ts:709
↓ 2 callersFunctiontryCombineChars
(chars: HtmlDomNode[])
src/buildCommon.ts:296
↓ 2 callersFunctionvalidUnit
(unit: string | Measurement)
src/units.ts:43
↓ 2 callersFunctionvalidateAmsEnvironmentContext
(context: EnvContextLike)
src/environments/array.ts:61
↓ 2 callersFunctionwrapWithStyle
( frac: ParseNode<"genfrac">, style?: StyleStr | null, )
src/functions/genfrac.ts:215
↓ 1 callersFunction_findObserveGroups
(input, i, endChars)
contrib/mhchem/mhchem.js:391
↓ 1 callersMethod_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 callersFunctionapplySetting
( target: Settings, prop: K, options: SettingsOptions, schema: SchemaEntry<K>, )
src/Settings.ts:336
↓ 1 callersFunctionassertNever
@param {number} a
contrib/mhchem/mhchem.js:1693
↓ 1 callersFunctionassertParsed
(group: ParseNode<"leftright">)
src/functions/delimsizing.ts:151
↓ 1 callersFunctionassertSpan
( group: HtmlDomNode, )
src/domTree.ts:620
↓ 1 callersFunctionassertString
@param {string} a
contrib/mhchem/mhchem.js:1695
↓ 1 callersFunctionassertSymbolDomNode
( group: HtmlDomNode, )
src/domTree.ts:610
↓ 1 callersFunctionassertVersion
(katex, bundlePath)
test/verify-build.js:45
↓ 1 callersMethodbaseSizingClasses
* Return the CSS sizing classes required to switch to the base size. Like * `this.havingSize(BASESIZE).sizingClasses(this)`.
src/Options.ts:281
↓ 1 callersFunctionbeginRow
()
src/environments/array.ts:150
↓ 1 callersFunctionboldSymbol
( value: string, mode: Mode, type: "mathord" | "textord", )
src/buildCommon.ts:140
↓ 1 callersFunctionbraketHelper
(one: boolean)
src/macros.ts:919
↓ 1 callersFunctionbrowserSideWait
(milliseconds)
dockers/screenshotter/screenshotter.js:590
↓ 1 callersFunctionbuildDriver
()
dockers/screenshotter/screenshotter.js:300
↓ 1 callersFunctionbuildExpression
( expression: AnyParseNode[], options: Options, isRealGroup: boolean | "root", surrounding: [D
src/buildHTML.ts:59
↓ 1 callersFunctionbuildGroup
( group: AnyParseNode | null | undefined, options: Options, baseOptions?: Options, )
src/buildHTML.ts:259
↓ 1 callersFunctionbuildGroup
( group: AnyParseNode | null | undefined, options: Options, )
src/buildMathML.ts:256
↓ 1 callersFunctionbuildHTMLTree
( tree: AnyParseNode[], expression: string, settings: Settings, )
src/buildTree.ts:55
↓ 1 callersFunctionbuildHTMLUnbreakable
* 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 callersFunctionbuildRegion
( a11yStrings: NestedArray<string>, callback: (regionStrings: NestedArray<string>) => void, )
contrib/render-a11y-string/render-a11y-string.ts:186
↓ 1 callersFunctionbuildString
( str: string, type: Atom | "normal", a11yStrings: NestedArray<string>, )
contrib/render-a11y-string/render-a11y-string.ts:147
↓ 1 callersFunctionbuildSvgSpan_
()
src/stretchy.ts:173
↓ 1 callersFunctioncanCombine
(prev: SymbolNode, next: SymbolNode)
src/buildCommon.ts:260
↓ 1 callersFunctioncdArrow
( arrowChar: string, labels: ParseNode<"ordgroup">[], parser: Parser )
src/environments/cd.ts:47
↓ 1 callersFunctioncheckControlSequence
(tok: Token)
src/functions/def.ts:20
↓ 1 callersFunctioncheckDelimiter
( delim: AnyParseNode, context: FunctionContext, )
src/functions/delimsizing.ts:72
↓ 1 callersFunctionchemParse
(tokens, stateMachine)
contrib/mhchem/mhchem.js:77
↓ 1 callersFunctionchooseMathStyle
(group: ParseNode<"mathchoice">, options: Options)
src/functions/mathchoice.ts:11
↓ 1 callersFunctionclearRenderError
()
static/main.js:173
↓ 1 callersFunctionclosestKatex
(node: Node)
contrib/copy-tex/copy-tex.ts:4
↓ 1 callersMethodconsumeArgs
* Consume the specified number of (delimited) arguments from the token * stream and return the resulting array of arguments.
src/MacroExpander.ts:225
↓ 1 callersMethodcramp
()
src/Style.ts:88
↓ 1 callersFunctiondCellStyle
(envName: string)
src/environments/array.ts:270
↓ 1 callersFunctiondefineEnvironment
({ type, names, props, handler, htmlBuilder, mathmlBuilder, }: EnvDefSpec<NODETYPE>)
src/defineEnvironment.ts:87
↓ 1 callersFunctiondefineSymbol
( mode: Mode, font: SymbolFont, group: Group, replace: string, name: string, acceptUni
src/symbols.ts:40
↓ 1 callersFunctiondelimFromValue
(delimString: string)
src/functions/genfrac.ts:349
↓ 1 callersFunctiondelimTypeToFont
(type: Delimiter)
src/delimiter.ts:692
↓ 1 callersFunctiondoDemo
()
website/static/js/index.js:88
↓ 1 callersMethodendGroups
* 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 callersFunctionendRow
()
src/environments/array.ts:155
↓ 1 callersFunctionensureDir
(dir)
dockers/texcmp/texcmp.js:195
↓ 1 callersFunctionescapeRegex
(string: string)
contrib/auto-render/splitAtDelimiters.ts:44
↓ 1 callersMethodexpandAfterFuture
* 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 callersMethodexpandMacro
* 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
← previousnext →101–200 of 524, ranked by callers