Latex插入Visio绘制的流程图

都知道Visio是画流程图的利器,但插入Latex可能会变得模糊,下面是本人认为最好的清晰。

第一步:绘制好Visio图后保存为Pdf,文件-->页面设置-->页面尺寸选择调整大小以适应绘图,然后发布为Pdf,比如PR1_Visio.pdf

第二步:

*如果要插入到浮动窗口,可以直接利用

\begin{figure} 
\centering 
\includegraphics[width=\textwidth]{PR1_Visio.pdf}\\ 
\caption{fit}\label{} 
\end{figure}


*如果要插入到非浮动区域,可以采用以下办法,为了可以在figure外使用\caption,可在导言部分加入:

\makeatletter
\newcommand\figcaption{\def\@captype{figure}\caption}
\newcommand\tabcaption{\def\@captype{table}\caption}
\makeatother

然后直接用下面的命令即可

\begin{center}
\includegraphics[width=4cm,height=8cm]{PR1_Visio.pdf}
\figcaption{系统聚类算法流程图}\label{}
\end{center}

 

posted @ 2013-04-05 21:53  javawebsoa  Views(2307)  Comments(0Edit  收藏  举报