|||
接上篇,各个章节肯定要插入图片,各个章节的图片其实可以放在main.tex相同目录下,但是最好还是放到各个章节的目录下。下面就是以eps图片为例来说明如何插入图片。
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
main.tex
subfolder/chapter1.tex
subfolder/fig.eps %your custom.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%main.tex%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
documentclass{article}
usepackage{import}
usepackage{lipsum}
begin{document}
subimport*{subfolder/}{chapter1} % 插入文件夹下的章节tex文件
end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%subfolder/chapter1.tex%%%%%%%%%%%%%%%%%%%%%%%
section{Chapter 1}
includegraphics[width=0.5textwidth]{subfolder/fig.eps}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-9-27 10:01
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社