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

kable() and the margin of the page #9

Closed
guilhermeparreira opened this issue Aug 20, 2015 · 2 comments
Closed

kable() and the margin of the page #9

guilhermeparreira opened this issue Aug 20, 2015 · 2 comments

Comments

@guilhermeparreira
Copy link

Hy all!

I want to control the way the table is printed using the kable function().

Instead of printing like this: (Because I don't like the extra space between columns)
capture2

I would like to print like this:
capture

I saw that depending on the template, the output of kable is different. How can I control it?

Thanks in advance,
Guilherme

@yihui
Copy link
Owner

yihui commented Jan 14, 2016

I guess Bootstrap probably defined the table width to be 100%, and you can override it using custom CSS: http://rmarkdown.rstudio.com/html_document_format.html#appearance-and-style

BTW, next time you may try StackOverflow if you have questions: http://stackoverflow.com/questions/tagged/rmarkdown I don't really keep track of general questions in Github issues, and sometimes it is easy to forget them.

@yihui yihui closed this as completed Jan 14, 2016
@guilhermeparreira
Copy link
Author

Tks Yihui!!

Good luck on your projects!!
On 14 Jan 2016 8:39 pm, "Yihui Xie" notifications@github.com wrote:

Closed #9 #9.


Reply to this email directly or view it on GitHub
#9 (comment).

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