表のキャプションが間違って回転しています

表のキャプションが間違って回転しています

-tablestufte-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 度回転できればさらに便利ですが、必須ではありません。

関連情報