Hello!
check out this SESUG.2021 paper on what one needs to know about using LaTeX (*.tex)
to create a pdf from Jupyter Notebook output.

https://www.lexjansen.com/sesug/2021/SESUG2021_Paper_8_Final_PDF.pdf

Ron Fehd macro maven