1个回答
展开全部
可以的,除了输出PDF格式还支持生成ps文件
% example1.tex
\documentclass{report}
\begin{document}
This is my first {\LaTeX} typesetting example.\\
This is my first \LaTeX{} typesetting example.\\
This is my first \LaTeX\ typesetting example.\\
I am Mr. Edward G.J. Lee, G.J. is a abbreviation of my name.\\
I am Mr.\ Edward G.J. Lee, G.J. is a abbreviation of my name.\\
Please see Appendix A. We will be there soon.\\
Please see Appendix A\null. We will be there soon.
\end{document}
比如以上这个tex文档,可以这样编译生成pdf:
1.直接生成pdf
pdflatex example1.tex
2.用dvi文件生成生成pdf
latex example1.tex => 生成example1.dvi
dvipdfm[x] example1.dvi => 把example1.dvi 转为example1.pdf
3.用ps文件生成pdf
latex example1.tex => 生成example1.dvi
dvips -Ppdf example1.dvi => 生成example1.ps
ps2pdf example1.ps => 用example1.ps 生成example1.pdf
% example1.tex
\documentclass{report}
\begin{document}
This is my first {\LaTeX} typesetting example.\\
This is my first \LaTeX{} typesetting example.\\
This is my first \LaTeX\ typesetting example.\\
I am Mr. Edward G.J. Lee, G.J. is a abbreviation of my name.\\
I am Mr.\ Edward G.J. Lee, G.J. is a abbreviation of my name.\\
Please see Appendix A. We will be there soon.\\
Please see Appendix A\null. We will be there soon.
\end{document}
比如以上这个tex文档,可以这样编译生成pdf:
1.直接生成pdf
pdflatex example1.tex
2.用dvi文件生成生成pdf
latex example1.tex => 生成example1.dvi
dvipdfm[x] example1.dvi => 把example1.dvi 转为example1.pdf
3.用ps文件生成pdf
latex example1.tex => 生成example1.dvi
dvips -Ppdf example1.dvi => 生成example1.ps
ps2pdf example1.ps => 用example1.ps 生成example1.pdf
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询