.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2. .TH KATEX "1" "September 2022" "katex 0.16.2" "User Commands" .SH NAME katex \- fast, easy-to-use JavaScript library for TeX math rendering .SH SYNOPSIS .B cli [\fI\,options\/\fR] .SH OPTIONS .TP \fB\-V\fR, \fB\-\-version\fR output the version number .TP \fB\-d\fR, \fB\-\-display\-mode\fR Render math in display mode, which puts the math in display style (so \eint and \esum are large, for example), and centers the math on the page on its own line. .TP \fB\-F\fR, \fB\-\-format\fR Determines the markup language of the output. .TP \fB\-\-leqno\fR Render display math in leqno style (left\-justified tags). .TP \fB\-\-fleqn\fR Render display math flush left. .TP \fB\-t\fR, \fB\-\-no\-throw\-on\-error\fR Render errors (in the color given by \fB\-\-error\-color\fR) instead of throwing a ParseError exception when encountering an error. .TP \fB\-c\fR, \fB\-\-error\-color\fR A color string given in the format 'rgb' or \&'rrggbb' (no #). This option determines the color of errors rendered by the \fB\-t\fR option. .TP \fB\-m\fR, \fB\-\-macro\fR Define custom macro of the form '\efoo:expansion' (use multiple \fB\-m\fR arguments for multiple macros). (default: []) .TP \fB\-\-min\-rule\-thickness\fR Specifies a minimum thickness, in ems, for fraction lines, `\esqrt` top lines, `{array}` vertical lines, `\ehline`, `\ehdashline`, `\eunderline`, `\eoverline`, and the borders of `\efbox`, `\eboxed`, and `\efcolorbox`. .TP \fB\-b\fR, \fB\-\-color\-is\-text\-color\fR Makes \ecolor behave like LaTeX's 2\-argument \etextcolor, instead of LaTeX's one\-argument \ecolor mode change. .TP \fB\-S\fR, \fB\-\-strict\fR Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX. .TP \fB\-T\fR, \fB\-\-trust\fR Trust the input, enabling all HTML features such as \eurl. .TP \fB\-s\fR, \fB\-\-max\-size\fR If non\-zero, all user\-specified sizes, e.g. in \erule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large .TP \fB\-e\fR, \fB\-\-max\-expand\fR Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX. .TP \fB\-f\fR, \fB\-\-macro\-file\fR Read macro definitions, one per line, from the given file. .TP \fB\-i\fR, \fB\-\-input\fR Read LaTeX input from the given file. .TP \fB\-o\fR, \fB\-\-output\fR Write html output to the given file. .TP \fB\-h\fR, \fB\-\-help\fR display help for command