-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using listings package to break lines in R output #17
Comments
If you don't use It is possible listings package is conflicting with krantz maybe ? Unfortunately, this is LaTeX expertise and I am not that expert - @yihui do you know if |
This is for a CRC book so I do need to use the krantz.cls |
I understand that. Just if As I said I am no LaTeX expert - I can fix issue if there is some with bookdown. However, if you need a LaTeX solution for this, you should look into LaTeX specific Q&A place. If you are publishing a book with CRC, don't they have a LaTeX helpdesk you could reach out to ? FWIW, this is the preamble we use with the CRC publish book R Markdown cookbook (https://github.com/rstudio/rmarkdown-cookbook/blob/master/latex/preamble.tex) I don't remember exactly what we have done to keep the line to their expected length. @yihui may know more, but he is off right now, and will add to my answers as soon as he can. Thanks for your patience ! |
An alternative solution is to customize the |
I'm trying to incorporate recommendations here to break the lines of R output in a PDF but I can't get it to work.
See example of what I changed here
Overview:
\usepackage{listings}
\lstset{breaklines=true}
When I made the PDF, it doesn't break the lines as expected.
Any ideas?
The text was updated successfully, but these errors were encountered: