KATEX(1)
π KATEX(1) β the manual page, but make it cute π
okay so bestie, welcome to the katex manual page β it's a fast, easy-to-use JavaScript library for TeX math rendering, and it's giving absolute icon behaviour. this is the User Commands section of the manual, and honestly? you're gonna eat this up. π
β¨ NAME β¨
katex β a fast, easy-to-use JavaScript library for TeX math rendering. literally that's the whole vibe. no cap. π¦
πΈ SYNOPSIS πΈ
cli [options]
yep. that's it. that's the whole thing. she's simple like that. π
π OPTIONS π
every single flag, coming at you, in order, no skips, no skips, periodt. π«Ά
-V,--versionβ prints out the version number. that's it, that's the job. β-d,--display-modeβ renders the math in display mode, which puts the math in display style (so\intand\sumare large, for example), and centers the math on the page on its own line. main character energy for your equations, fr fr. π-F,--format <type>β decides the markup language of the output. which language? that's what type is for, bestie. π--leqnoβ renders display math in leqno style, aka left-justified tags. tags on the left, like a rebel. β¨--fleqnβ renders display math flush left. she's not centered, she's left, and she's thriving. πΈ-t,--no-throw-on-errorβ instead of throwing aParseErrorexception when it hits an error, it renders the errors instead (in the color given by--error-color). so no crash, just colorful little oopsies. π-c,--error-color <color>β a color string in the format'rgb'or'rrggbb'(no#, bestie, do NOT put a hash). this option determines the color of errors rendered by the-toption. π¨-m,--macro <def>β define a custom macro of the form'\foo:expansion'(use multiple-marguments for multiple macros). default:[]. stack 'em up, girlie. π--min-rule-thickness <size>β specifies a minimum thickness, in ems, for fraction lines,\sqrttop lines,{array}vertical lines,\hline,\hdashline,\underline,\overline, and the borders of\fbox,\boxed, and\fcolorbox. every line gets a minimum glow-up. β¨-b,--color-is-text-colorβ makes\colorbehave like LaTeX's 2-argument\textcolor, instead of LaTeX's one-argument\colormode change. two args, not one. iconic. π-S,--strictβ turns on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX. she's a rule-follower and honestly? respect. π§-T,--trustβ trust the input, enabling all HTML features such as\url. handing over the aux cord, no questions asked. π₯-s,--max-size <n>β if non-zero, all user-specified sizes, e.g. in\rule{500em}{500em}, will be capped tomaxSizeems. otherwise, elements and spaces can be arbitrarily large. (yes, arbitrarily. chaos permitted.) π-e,--max-expand <n>β limits the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. if set toInfinity, the macro expander will try to fully expand as in LaTeX. π-f,--macro-file <path>β reads macro definitions, one per line, from the given file. macros, but make it a whole file. π-i,--input <path>β reads LaTeX input from the given file. feed her. π-o,--output <path>β writes html output to the given file. bye bestie, go live your truth on disk. π-h,--helpβ displays help for command. the classic. the legend. π«Ά
lowkey important reminder: the error color string is'rgb'or'rrggbb'with no#. i'm not kidding. don't do it. π
and that's the whole page, bestie!! π this was katex 0.16.10, dated March 2024 β thanks for reading, mwah, slay, go render some math. πβ¨π¦πππ
π¦ where this page comes from
- debian trixie: katex 0.16.10+~cs6.1.0-2 Β· MIT
- ubuntu noble: katex 0.16.10+~cs6.1.0-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms