-
Notifications
You must be signed in to change notification settings - Fork 60
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
Markdown PDF and stargazer resizing table #85
Comments
Dear Björn, |
Is this related to having many variables in your model? If so you can omit certain variables from the table to focus on key ones using the |
I've had the same issue, best work around I found was to generate the stargazer output outside of Rmarkdown then copy and paste it into the markdown body and add the latex commands "\resizebox{\linewidth}{!}{ %% " and "} %resizebox" to fit the output to page. i.e.... Example Stargazer Output: \begin{table}[!htbp] \centering This solution comes from- https://stackoverflow.com/questions/16507191/automatically-adjust-latex-table-width-to-fit-pdf-using-knitr-and-rstudio |
Might be a little late, but nevertheless is driving me nuts.
Whenever I add a stargazer regression table to the markdown (knit as pdf), I only get one long column.
Is there a way to fit the table to the page?
Several forums suggest, that this issue remains untackled by the developers, might this be true, or did someone find a solution?
Thanks in advance.
The text was updated successfully, but these errors were encountered: