표 캡션이 잘못 회전됨

표 캡션이 잘못 회전됨

-tables 및 를 사용하여 테이블 설명을 어떻게 tufte-handouts올바르게 배치 할 수 있습니까 ? 그림 설명은 정확하지만(tikzDevice-manual에서 가져옴) 테이블 설명은 정확하지 않은 다음 최소 재현 가능한 예를 참조하세요. 해결책을 찾기 위해 애썼지만 성공하지 못했습니다. 일관되게 배치하려면 표와 그림 설명이 필요합니다.sidewaysxtable

\documentclass{tufte-handout}
\usepackage{rotating}
\usepackage{tikz}

\begin{document}
<<plotchunk, echo=FALSE, message=FALSE, results=FALSE, warning=FALSE, error=FALSE>>=
library(tikzDevice)
tikz("tikz-example.tex",
width = 3.25, height = 3.25)
plot(1, 1, main = "Hello \\TeX !")
@
\begin{figure}
\centering
\input{tikz-example.tex}
\caption{This figure-description is where it should be, and with the correct direction}
\end{figure}
<<tablechunk, results='asis', echo=FALSE>>=
library(xtable)
example.df <- data.frame(matrix(0, nrow=10, ncol=20))
x.small <- xtable(example.df, label=NULL, caption="This is the table description that should not be sideways, but placed similarly as the figure-description")
digits(x.small) <- 0
print(x.small,include.rownames=FALSE,floating.environment="sidewaystable")
@
\end{document}

옆 테이블을 180도 회전할 수 있다면 그것도 좋겠지만 꼭 필요한 것은 아닙니다.

관련 정보