答案1
制作起来非常简单。其中一种实现方法是使用带有 的节点样式path picture
。
\documentclass[border=5mm]{standalone}
\usepackage{tikz}
\tikzset{
pump/.style={
circle,
draw,
thick,
minimum size=1cm,
path picture={
\draw [thick] (path picture bounding box.north) --
(path picture bounding box.east) --
(path picture bounding box.south);
},
node contents={}
}
}
\begin{document}
\begin{tikzpicture}
\node[pump];
\end{tikzpicture}
\end{document}
答案2
另一种方法是TikZ
。
\documentclass[12pt]{article}
\usepackage{pgf,tikz}
\newcommand{\cirtri}[1]{%
\begin{tikzpicture}[#1]
\draw [line width=.5pt] (0.,0.) circle (2.cm);
\draw [line width=.5pt] (0.,2.)-- (2.,0.);
\draw [line width=.5pt] (2.,0.)-- (0.,-2.);
\end{tikzpicture}%
}
\begin{document}
It is \cirtri{scale=.03mm} a new symbol.
\end{document}