Displaying 1 result from an estimated 1 matches for "kintr".
Did you mean:
intr
2012 Aug 29
1
latex \subfloat{} incompatible with sweave/knitr code
Dear all
Are LaTeX \subfloat{} commands incompatible with Sweave code? I cannot
get the following code to compile properly:
\begin{table}
\subfloat[asdfa]{<<>>=
2+2
@
}
\caption{asdf}
\end{table}
If I replace the Sweave chunk with a random string or a table, the
compilation works fine. Any ideas what happens? I hit the same trouble
when running the code chunks through knitr.