The trick that seemed to work is to put the LaTeX label as part of the kable argument:
caption="\\label{tab:tabname}Caption text". The table can then be referred to in the text with \ref{tab:tabname}.I'm sure that there are more elegant ways than this, but this seemed to get me what I needed for now.

No comments:
Post a Comment