ulyngs / oxforddown

Template for writing an Oxford University thesis in R Markdown; uses the OxThesis LaTeX template and was inspired by thesisdown.
https://ulyngs.github.io/oxforddown/
MIT License
221 stars 81 forks source link

Fix overflowing lines in code blocks #7

Closed ulyngs closed 2 years ago

ulyngs commented 4 years ago

I fixed this in actual code blocks that are being processed by knitr (with scripts_and_filter/wrap_lines.R), but blocks of code that are simply being marked up with syntax highlighting can still overflow (see end of the customisations and extensions sample PDF content)

ulyngs commented 2 years ago

Fixed with ee17c2f, using the latex package fvextra as per this stackoverflow thread