如何将此图形转换为 .eps

如何将此图形转换为 .eps

我的代码:

\documentclass[]{article}

%%
\usepackage{forest}
\usetikzlibrary{shadows}
\usepackage{array,multirow,makecell}

\makeatletter
\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
\setcellgapes{1pt}
\makegapedcells
\newenvironment{multicases}[1]
{\let\@ifnextchar\new@ifnextchar
\left\lbrace\def\arraystretch{1.2}%
\array{@{}l*{#1}{@{\quad}l}@{}}}
{\endarray\right.\kern-\nulldelimiterspace}
\makeatother
%%


\begin{document}


\begin{figure*}[!t]
\centering
{\footnotesize
\begin{forest}
/tikz/every node/.append style={font=\footnotesize},
for tree={
if level=0{align=center}{
    align={@{}P{23mm}@{}}
                            },
grow=east,
draw,
font=\footnotesize,
edge path={
    \noexpand\path [draw, \forestoption{edge}] (!u.parent anchor) -- +(3mm,0) |- (.child anchor)\forestoption{edge label};
            },
parent anchor=east,
child anchor=west,
l sep=10mm,
tier/.wrap pgfmath arg={tier #1}{level()},
edge={ultra thick, rounded corners=2pt},
fill=white,
rounded corners=2pt,
drop shadow,
        }
[root
[2, edge+={-stealth}
    [22, edge+={-stealth}
        [223, edge+={-stealth}]
        [222, edge+={-stealth}]
        [221, edge+={-stealth}
            [2211, edge+={-stealth}]
        ]
    ]
    [21, edge+={-stealth}]
]
[1, edge+={-stealth}
    [11, edge+={-stealth}
        [113, edge+={-stealth}]
        [112, edge+={-stealth}]
        [111, edge+={-stealth}]
    ]
]
]
\end{forest}
}
\caption{My Figure}
\label{Fig}
\end{figure*}


\end{document}

我想以 .eps 格式导出并保存该图形。

我正在使用 overleaf 和 TexMaker 软件。

怎么做 ?

谢谢

答案1

我刚刚尝试了在线转换器https://cloudconvert.com/pdf-to-eps。您的 pdf 文件已成功转换为 eps 文件:

在此处输入图片描述

相关内容