# latex

## Using Python sympy in a Python code chunk in RMarkdown

I was recently asked about using sympy in Python to print $$LaTeX$$ formulas in RMarkdown notebooks. I misunderstood the question at first but after some thought I realized that I didn’t know if it would work… but I should try it. Yes, printing elements of a matrix. So it's due to the prog languages' differences ( R vs Python), not rmarkdown vs Jupyter Notebook? pic.twitter.com/Any4qIDHS7 — Eyayaw T. Beze (@EyayawBeze) July 25, 2020 I knew that I could run Python chunks in an RMarkdown notebook.