To cite package ‘katex’ in publications use:

Ooms J (2024). katex: Rendering Math to HTML, 'MathML', or R-Documentation Format. R package version 1.5.0, https://github.com/ropensci/katex.

Corresponding BibTeX entry:

  @Manual{,
    title = {katex: Rendering Math to HTML, 'MathML', or
      R-Documentation Format},
    author = {Jeroen Ooms},
    year = {2024},
    note = {R package version 1.5.0},
    url = {https://github.com/ropensci/katex},
  }