Tex插入图片/插入tikz流程图

插入图片

\begin{figure}
    \centering
    \includegraphics[width=0.75\textwidth]{figures/figure1.png}
    \caption{caption of figure1}\label{fig:figure1}
\end{figure}

插入tikz流程图
流程图代码写在flowchart/flowchart1.tex文件中。

\begin{figure}
    \centering
    \input{flowchart/flowchart1.tex}
    \caption{caption of flowchart 1}\label{fig:flowchart1}
\end{figure}

猜你喜欢

转载自www.cnblogs.com/HuaNeedsPills/p/12571497.html