Question: How to place an xtable on the left side of the page or how to disable centering around the world.
I am trying to figure out how to place an xtable object on the left side. I have a * .Rmd file, and all this relates to the corresponding r fragment.
require(xtable) df <- data.frame(x=seq(1,10,1),y=rnorm(10)) Xtab <- xtable(df, digits=0, caption="\\textbf{MINIMAL/IDEAL}", floating=FALSE, latex.environments = c("left")) print(Xtab, size = "small", include.colnames=FALSE)
I included the following after reading various sources (print.xtable; xtable manual, etc.)
1) floating=FALSE 2) latex.environments = c("left")
I searched for SO and used some hints, but all failed.
source share