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
↓ 1 callers
Method
expandMacroAsText
* Fully expand the given macro name and return the result as a string, * or return `undefined` if no such macro is defined.
src/defineMacro.ts:61
↓ 1 callers
Method
expandOnce
* Expand the next token only once if possible.
src/defineMacro.ts:37
↓ 1 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/MacroExpander.ts:366
↓ 1 callers
Function
extractDigits
(str: string)
test/symgroups.ts:152
↓ 1 callers
Method
feed
* Feed a new input string to the same MacroExpander * (with existing macros etc.).
src/MacroExpander.ts:51
↓ 1 callers
Function
findEndOfMath
(delimiter: string, text: string, startIndex: number)
contrib/auto-render/splitAtDelimiters.ts:16
↓ 1 callers
Function
findHostIP
()
dockers/screenshotter/screenshotter.js:383
↓ 1 callers
Function
find_font_path
(font_name)
src/metrics/extract_tfms.py:10
↓ 1 callers
Method
formLigatures
* Form ligature-like combinations of characters for text mode. * This includes inputs like "--", "---", "``" and "''". * The result will sim
src/Parser.ts:866
↓ 1 callers
Method
fracDen
()
src/Style.ts:87
↓ 1 callers
Method
fracNum
()
src/Style.ts:86
↓ 1 callers
Function
getBaseElem
(group: AnyParseNode)
src/utils.ts:34
↓ 1 callers
Function
getBaseSymbol
(group: HtmlDomNode)
src/functions/accent.ts:17
↓ 1 callers
Function
getBuilt
(expr: any, settings: any = new Settings())
test/helpers.ts:77
↓ 1 callers
Function
getClampedMobileOptionsHeight
(height)
static/main.js:86
↓ 1 callers
Function
getClampedSidebarWidth
(width)
static/main.js:57
↓ 1 callers
Function
getDefaultValue
(schema: SchemaEntry<keyof SettingsOptions>)
src/Settings.ts:328
↓ 1 callers
Function
getGlobalMetrics
(size: number)
src/fontMetrics.ts:247
↓ 1 callers
Function
getHLines
(parser: Parser)
src/environments/array.ts:41
↓ 1 callers
Function
getImplicitDefault
(type: Type)
src/Settings.ts:306
↓ 1 callers
Function
getMathML
(expr: any, settings: any = new Settings())
test/mathml-spec.ts:11
↓ 1 callers
Function
getOutermostNode
( node: HtmlDomNode, side: Side, )
src/buildHTML.ts:211
↓ 1 callers
Function
getProtocolViaTrust
(url: string)
test/katex-spec.ts:3420
↓ 1 callers
Function
getProxyDriver
()
dockers/screenshotter/screenshotter.js:323
↓ 1 callers
Function
getRHS
(parser: Parser)
src/functions/def.ts:28
↓ 1 callers
Function
getTypeOfDomTree
( node: HtmlDomNode | null | undefined, side?: Side | null | undefined, )
src/buildHTML.ts:231
↓ 1 callers
Function
getVListChildrenAndDepth
(params: VListParam)
src/buildCommon.ts:488
↓ 1 callers
Method
get_char_metrics
Return glyph metrics for a unicode code point. Arguments: char_num: a unicode code point fix_rsfs: adjust for rsfs10.
src/metrics/parse_tfm.py:67
↓ 1 callers
Function
guessDockerIPs
()
dockers/screenshotter/screenshotter.js:152
↓ 1 callers
Method
handleInfixNodes
* Rewrites infix operators such as \over with corresponding commands such * as \frac. * * There can only be one infix operator per grou
src/Parser.ts:233
↓ 1 callers
Function
handleObject
( tree: AnyParseNode, a11yStrings: NestedArray<string>, atomType: Atom | "normal", )
contrib/render-a11y-string/render-a11y-string.ts:195
↓ 1 callers
Method
handleSupSubscript
* Handle a subscript or superscript with nice errors.
src/Parser.ts:285
↓ 1 callers
Function
hasHtmlDomChildren
( node: HtmlDomNode, )
src/domTree.ts:636
↓ 1 callers
Method
has_ligkern
(self)
src/metrics/parse_tfm.py:15
↓ 1 callers
Function
htmlBuilderDelegate
( group: ParseNode<"supsub">, options: Options, // eslint-disable-next-line @typescript-eslint/no-expl
src/functions/supsub.ts:28
↓ 1 callers
Function
hyphenate
(str: string)
src/utils.ts:10
↓ 1 callers
Function
init
()
static/main.js:8
↓ 1 callers
Function
innerPath
(name: string, height: number)
src/svgGeometry.ts:166
↓ 1 callers
Method
isDefined
* Determine whether a command is currently "defined" (has some * functionality), meaning that it's a macro (in the current group), * a funct
src/defineMacro.ts:88
↓ 1 callers
Method
isDefined
* Determine whether a command is currently "defined" (has some * functionality), meaning that it's a macro (in the current group), * a funct
src/MacroExpander.ts:450
↓ 1 callers
Function
isDockerDesktop
()
dockers/screenshotter/screenshotter.js:105
↓ 1 callers
Function
isLabelEnd
(node: AnyParseNode, endChar: string)
src/environments/cd.ts:42
↓ 1 callers
Function
isMathDomNode
(node: VirtualNode)
src/tree.ts:11
↓ 1 callers
Function
isMiddleDelimNode
(node: HtmlDomNode)
src/functions/delimsizing.ts:67
↓ 1 callers
Function
isNumberPunctuation
* Check for <mi>.</mi> which is how a dot renders in MathML, * or <mo separator="true" lspace="0em" rspace="0em">,</mo> * which is how a braced comm
src/buildMathML.ts:144
↓ 1 callers
Function
isStartOfArrow
(node: AnyParseNode)
src/environments/cd.ts:38
↓ 1 callers
Function
isStyleStr
(s: string)
src/functions/styling.ts:16
↓ 1 callers
Function
katexReplaceWithTex
( fragment: DocumentFragment, copyDelimiters: CopyDelimiters = defaultCopyDelimiters )
contrib/copy-tex/katex2tex.ts:16
↓ 1 callers
Function
letCommand
(parser: Parser, name: string, tok: Token, global: boolean)
src/functions/def.ts:39
↓ 1 callers
Method
ligkern_start
(self)
src/metrics/parse_tfm.py:18
↓ 1 callers
Function
main
()
src/metrics/extract_tfms.py:21
↓ 1 callers
Function
main
()
src/metrics/extract_ttfs.py:61
↓ 1 callers
Function
makeAnchor
( href: string, classes: string[], children: HtmlDomNode[], options: Options, )
src/buildCommon.ts:396
↓ 1 callers
Function
makeGlyphSpan
( symbol: string, font: StackedDelimiterFont, mode: Mode, )
src/delimiter.ts:160
↓ 1 callers
Function
makeInner
( ch: string, height: number, options: Options )
src/delimiter.ts:182
↓ 1 callers
Function
makeLeftRightDelim
( delim: string, height: number, depth: number, options: Options, mode: Mode, classes:
src/delimiter.ts:797
↓ 1 callers
Function
makeRow
(body: MathDomNode[])
src/buildMathML.ts:48
↓ 1 callers
Function
makeSizedDelim
( delim: string, size: DelimiterSize, options: Options, mode: Mode, classes: string[], )
src/delimiter.ts:608
↓ 1 callers
Function
makeSmallDelim
( delim: string, style: StyleInterface, center: boolean, options: Options, mode: Mode,
src/delimiter.ts:107
↓ 1 callers
Function
makeSqrtImage
( height: number, options: Options, )
src/delimiter.ts:484
↓ 1 callers
Function
mathrmSize
( value: string, size: DelimiterSize, mode: Mode, options: Options, )
src/delimiter.ts:126
↓ 1 callers
Function
midMacro
(double: boolean)
src/macros.ts:927
↓ 1 callers
Function
newCell
()
src/environments/cd.ts:24
↓ 1 callers
Function
newcommand
( context: MacroContextInterface, existsOK: boolean, nonexistsOK: boolean, skipIfExists: boole
src/macros.ts:148
↓ 1 callers
Function
pad
()
src/functions/tag.ts:6
↓ 1 callers
Function
paddedNode
(group?: MathDomNode | null | undefined)
src/functions/arrow.ts:13
↓ 1 callers
Method
parseArgumentGroup
* Parses an argument with the mode specified.
src/Parser.ts:776
↓ 1 callers
Method
parseAtom
* Parses a group with optional super/subscripts.
src/Parser.ts:338
↓ 1 callers
Function
parseCD
(parser: Parser)
src/environments/cd.ts:94
↓ 1 callers
Method
parseColorGroup
* Parses a color description.
src/Parser.ts:678
↓ 1 callers
Function
parseDockerPort
(portInfo)
dockers/screenshotter/screenshotter.js:114
↓ 1 callers
Method
parseGroupOfType
* Parses a group when the mode is changing.
src/Parser.ts:562
↓ 1 callers
Method
parseRegexGroup
* Parses a regex-delimited group: the largest sequence of tokens * whose concatenated strings match `regex`. Returns the string * formed by
src/Parser.ts:653
↓ 1 callers
Method
parseSymbol
* Parse a single symbol out of the string. Here, we handle single character * symbols and special functions like \verb.
src/Parser.ts:914
↓ 1 callers
Method
parseUrlGroup
* Parses an URL, checking escaped letters and allowed protocols, * and setting the catcode of % as an active character (as in \hyperref).
src/Parser.ts:752
↓ 1 callers
Function
phasePath
(y: number)
src/svgGeometry.ts:113
↓ 1 callers
Function
print
(val: unknown)
test/setup.ts:34
↓ 1 callers
Function
printActualErrorMessage
(error: any)
test/helpers.ts:35
↓ 1 callers
Function
printExpectedResult
(mode: any, isNot: any, expectedError: any)
test/helpers.ts:62
↓ 1 callers
Function
protocolFromUrl
(url: string)
src/utils.ts:69
↓ 1 callers
Function
readInput
()
cli.js:68
↓ 1 callers
Function
readMacros
()
cli.js:39
↓ 1 callers
Function
readPNG
(file)
dockers/texcmp/texcmp.js:222
↓ 1 callers
Method
read_bcpl
(self, length)
src/metrics/parse_tfm.py:127
↓ 1 callers
Method
read_fixword
(self)
src/metrics/parse_tfm.py:117
↓ 1 callers
Method
read_halfword
(self)
src/metrics/parse_tfm.py:105
↓ 1 callers
Function
renderA11yString
( text: string, settings?: SettingsOptions, )
contrib/render-a11y-string/render-a11y-string.ts:719
↓ 1 callers
Function
renderElem
( elem: HTMLElement, optionsCopy: RenderMathInElementOptionsCopy )
contrib/auto-render/auto-render.ts:77
↓ 1 callers
Function
renderKatex
(source, displayMode)
website/lib/remarkable-katex.js:48
↓ 1 callers
Function
renderMathInElement
(elem: HTMLElement, options?: RenderMathInElementOptions)
contrib/auto-render/auto-render.ts:125
↓ 1 callers
Function
renderMathInText
( text: string, optionsCopy: RenderMathInElementOptionsCopy )
contrib/auto-render/auto-render.ts:30
↓ 1 callers
Function
reprocess
()
static/main.js:404
↓ 1 callers
Function
retrieveTextFontName
( fontFamily: TextFont, fontWeight: FontWeight, fontShape: FontShape, )
src/buildCommon.ts:653
↓ 1 callers
Method
setAttribute
(attribute: string, value: string)
src/domTree.ts:284
↓ 1 callers
Method
setCatcode
(char: string, code: number)
src/Lexer.ts:84
↓ 1 callers
Function
setHLinePos
(hlinesInGap: boolean[])
src/environments/array.ts:326
↓ 1 callers
Function
setupDriver
()
dockers/screenshotter/screenshotter.js:337
↓ 1 callers
Function
showRenderError
(errorMessage)
static/main.js:178
↓ 1 callers
Function
sizeData
(str: string)
src/functions/includegraphics.ts:10
↓ 1 callers
Function
splitMacros
(macroStrings)
cli.js:50
← previous
next →
201–300 of 524, ranked by callers