-
- Downloads
Use \def instead of \newcommand to define custom LaTeX commands
\newcommand doesn't allow overwriting an existing definition. It worked fine in Jupyter Notebook, which uses MathJax, which apparently doesn't actually check this. However, it causes errors in VS Code, which uses KaTeX. It probably also caused errors when converting a notebook to LaTeX and typesetting it with a proper LaTeX implementation. \def overwrites any existing definition and so should work in all cases.
Showing
- notebooks/models/scheduler.ipynb 4 additions, 4 deletionsnotebooks/models/scheduler.ipynb
- notebooks/tutorials/Functional_Programming_in_B.ipynb 21 additions, 21 deletionsnotebooks/tutorials/Functional_Programming_in_B.ipynb
- notebooks/tutorials/prob_solver_intro.ipynb 1 addition, 1 deletionnotebooks/tutorials/prob_solver_intro.ipynb
- src/main/java/de/prob2/jupyter/ProBKernel.java 55 additions, 55 deletionssrc/main/java/de/prob2/jupyter/ProBKernel.java
Loading
Please register or sign in to comment