0
votes

I would like to import a .tex file into my RMarkdown document. I am using bookdown and importantly need to export to Word via word_document2. Is it possible to do this? Here is the way I would do this using LaTeX:

\begin{table}[H]
\caption{Table Title}
\label{usnwr_id}
\centering
\scalebox{0.8}{
\input{\dir/filename.tex}}
\caption*{\footnotesize \emph{Notes: ...}}
\end{table}

If there is a way to retain the LaTeX code, that would be ideal (because I am transferring everything over).

Unrelated to the question, but instead of scaling content which contains text, better choose an appropriate font size, this will give a better typographical result.samcarter_is_at_topanswers.xyz
Good point. Thank you, @samcarter_is_at_topanswers.xyz.bill999