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 路 5 min 路 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鈥檛 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 路 1 min 路 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鈥檚 my new VIM setup for LaTeX in 2021 and perhaps for the next decade. ...

February 18, 2021 路 2 min 路 Xing Shi Cai