title: How to change the font of the code chunks in a PDF knitted from R studio?
body: <p>I tend to comment my code using ligatures of lines. See example:</p>
  <p><a href="https://i.stack.imgur.com/kXV4j.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kXV4j.png" alt="enter image description here" /></a></p>
  <p>The font I'm using is Cascadia Code (Pre-Installed in RStudio Server)</p>
  <p>When RStudio knits my document into a PDF, it changes the font, hence the ligatures are not supported:</p>
  <p><a href="https://i.stack.imgur.com/PtXHG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PtXHG.png" alt="enter image description here" /></a></p>
  <p>I would like to use Cascadia Code for my Knitted PDFs so the ligatures look the same there, I was wondering if there's a way to do that. All the documentation I found was only about changing the font of the text (not the code chunks)</p>
  <p>Thank you!</p>