Compatibility userscript for rendering LaTeX in Google NotebookLM with KaTeX
Compatibility userscript for rendering LaTeX in Google NotebookLM with KaTeX
A Tampermonkey userscript that adds LaTeX rendering capability to Google's Notebooklm using KaTeX. This allows you to write mathematical formulas with standard LaTeX syntax using $formula$ delimiters.
[!NOTE] NotebookLM announced native LaTeX rendering in October 2025. Most users should try the built-in support first. This userscript remains available for older behavior, unsupported contexts, and community experimentation, but it may overlap with or conflict with native rendering as NotebookLM changes.
$formula$ syntax[!IMPORTANT]
On some Chromium-based browsers (Chrome, Brave, Vivaldi, Edge, Opera, etc.),
Tampermonkey will not run user scripts unless you explicitly enable:Manage Extensions > Tampermonkey > Details > Allow User Scripts
Make sure this toggle is ON, otherwise the script will never execute.
.user.js filerenderLatex.user.js$E = mc^2$ will render as a properly formatted equation.Without LaTeX rendering:
With LaTeX rendering enabled:
This project is licensed under the MIT License - see the LICENSE file for details.
This project uses the following third-party libraries:
No open issues yet, or sync has not completed.