I asked a chatbot to generate one preamble file for me. It works, but the PDF doesn't look professional, probably some packages are missing. I guess I would need to install Mathub or something related for it to work out of box, but it is not easy to know what and how exactly.
https://github.com/leonardopedro/UPL/blob/main/test/examples/Kopperman_Tutorial.p.tex
https://github.com/leonardopedro/UPL/blob/main/test/examples/preamble.tex
https://github.com/leonardopedro/UPL/blob/main/test/examples/Kopperman_Tutorial.p.pdf