I few months ago, I was using the following head to produce a plain tex file, i.e. without a preamble (I want to use the tex file in a LaTeX document).
\begin{figure}[!h]
\center
\includegraphics[width=\linewidth]{figures/julia-test_myfig_1.pdf}
\caption{This is a caption}
\label{fig:myfig}
\end{figure}
Duplicate of #391
description
I few months ago, I was using the following head to produce a plain
tex
file, i.e. without a preamble (I want to use thetex
file in a LaTeX document).and then I used weave like so:
Is it still possible to produce a plain
tex
file?versions
minimum reproducible steps
Create a
jmd
file containing the following:and use
weave()
:This should produce a
.tex.
file containing