我有许多表格,周围有文字描述它们。像这样的东西:
This table shows blah blah...
<<echo=FALSE, results=tex>>=
print(
xtable(x,
caption = "blah", label = "tab:four", table.placement = "tbp", caption.placement = "top")
, size = "small", table.placement="ht")
@
This table shows blah blah...
<<echo=FALSE, results=tex>>=
print(
xtable(x,
caption = "blah", label = "tab:five", table.placement = "tbp", caption.placement = "top")
, size = "small", table.placement="ht")
@
我希望我的所有描述性文本都与表格一致,以便它们按照我编写它们的顺序进行。但是在页面的末尾,一些表格移动到下一页,描述性文本只是自由浮动。是否有一些特定table.placement
的命令可以确保一切都保持原样?