Lyx 1.6.8 と xtable で pgfsweave を使用しています。表のキャプションを提供する
<<result=tex>>=
print(xtable(<dataframe>,caption="Here is my caption"))
@.
lyx>Insert>Cross-reference メニューからテキスト内で相互参照できる表のキャプションにラベルを挿入するにはどうすればよいですか?
私は挿入しようとしました>フロート>テーブルと挿入さ
print(xtable(<dataframe>,floating=FALSE))
れ
"Here is my caption"
、テーブルキャプションの内側のフレームに挿入されましたが、これは(文字通り)次の結果になります:
[float Table:
<...Table ...>
[Table 2: "Here is my caption" ] ]
相互参照する裸足の回避策でも
<<result=tex>>=
print(xtable(<dataframe>,caption="Here is my caption",label = "tab:one"))
@
ERTボックスから。