Writing an exam paper with Julia and Jupyter Lab

I just taught Linear Algebra, which means I need to give exams with a lot of questions about computations. I would like to have the numbers in this problems to be random, and I like to solve them with computers. (Sorry, students. Only you need to compute by hand. 😆) I have tried to use Mathematica to do so. The math parts works well. But the typesetting of Mathematica looks quite ugly....

March 8, 2022 Â· Xing Shi Cai

Install latexindent on Ubuntu Linux

latexindent is a perl script that can help you format LaTeX files. It is shipped with texlive (at least 2020 version). To use it you have to install some other perl packages. @@colbox-blue Warning!! Don’t try to install latexindent in a conda environment. It does not work at the moment of writing. Some perl packages cannot be installed. @@ Step 1. Install perl sudo apt install perl Step 2. Install the perl package management tool cpanm....

February 20, 2021 Â· Xing Shi Cai

Using VIM to Write LaTeX in 2021

I have been using VIM (actually GVIM) to write papers with LaTeX for almost a decade now. My setup for this has not changed for most of the time. One advantage of using VIM is that once you have learned it, you can expect to use it for a life time. That been said, a decade seems to be a good time to have an update. So here’s my new VIM setup for LaTeX in 2021 and perhaps for the next decade....

February 18, 2021 Â· Xing Shi Cai