Skip to content
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

Issues with commenting on code lines appearing in compiled PDF #60

Open
rpatel22 opened this issue Jan 22, 2018 · 2 comments
Open

Issues with commenting on code lines appearing in compiled PDF #60

rpatel22 opened this issue Jan 22, 2018 · 2 comments

Comments

@rpatel22
Copy link

Hi

I've recently started to use knitr to compile latex documents.

<<tidy=TRUE>>=
#Q1b
rep(11:15, times = c(1,5,2,2,1)) # the times vector tells us how much for each of respective numbers 10 to 15 we want repeat.
@
image

I have fairly long comments because I'm trying to explain myself, but whenever the PDF is compiled. My comments are always cut off. Is there a way I can include my comments? I tried tidy=TRUE but nothing happened.

Thanks

@yihui
Copy link
Owner

yihui commented Jan 22, 2018

Inline comments cannot be wrapped. Use standalone blocks of comments.

@rpatel22
Copy link
Author

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants