对于我的论文,我需要一个表示阉割雄性(兽医学)的符号,即一个叠加了反斜杠的火星符号。根据我找到的描述,它不适用于我的文档。我使用的scrartcl
是文档类,由于我的参考文献风格,我无法更改它。
答案1
由于从原始问题的描述中看不出反斜杠的位置,因此我使用 TikZ 提供了三个选项(最后一个建议芭芭拉·比顿在评论中):
\documentclass{scrartcl}
\usepackage{tikz}
\def\Nmale{%
\tikz{\node[draw,circle,scale=0.5] (a) {};\draw[->] (a.45) -- +(45:4pt);\draw +(a.north west) -- +(a.south east);}}
\def\Nemale{%
\tikz{\node[draw,circle,scale=0.5] (a) {};\draw[->] (a.45) -- +(45:4pt);\draw +([xshift=-1.5pt,yshift=1.5pt]a.north west) -- +([xshift=1.5pt,yshift=-1.5pt]a.south east);}}
\def\Neumale{%
\tikz{\node[draw,circle,scale=0.5] (a) {};\draw[->] (a.45) -- +(45:4pt);\draw +([xshift=-0.5pt,yshift=2.5pt]a.45) -- +([xshift=2.5pt,yshift=-0.5pt]a.45);}}
\begin{document}
\Nmale
\Nemale
\Neumale
\end{document}
我现在几乎确信反斜杠应该只穿过箭头,因此这里有一些针对男性和女性的选项:
\documentclass{scrartcl}
\usepackage{tikz}
\def\Neumale{%
\tikz{\node[draw,circle,scale=0.5] (a) {};\draw[->] (a.45) -- +(45:4pt);\draw[very thin] +([xshift=-0.5pt,yshift=2.2pt]a.45) -- +([xshift=2.2pt,yshift=-0.5pt]a.45);}}
\def\Neufemale{%
\tikz{\node[draw,circle,scale=0.5] (a) {};\draw[->] (a.270) -- +(270:4pt);\draw[very thin] +([xshift=-1.9pt,yshift=-1pt]a.270) -- +([xshift=1.9pt,yshift=-1pt]a.270);}}
\begin{document}
\Neumale
\Neufemale
\end{document}
答案2
由于您没有明确说明符号的外观,因此这里有一些示例(带有和不带有 TikZ)。对于符号,\Neumale
存在一个 Unicode 字符:U+26A6
代码
\documentclass{scrartcl}
\usepackage[nointegrals]{wasysym}
\usepackage{graphicx}
\usepackage{tikz}\usetikzlibrary{calc}
\def\notmaleanymore{\leavevmode\kern.07em\raise.1ex\hbox{\scalebox{.7}{\bfseries\textbackslash}}\kern-.47em\male}
\def\neumale{\tikz{\node[inner sep=0pt] (male) {\male};\draw ($(male.south west)!.65!(male.center)$) +(135:.19em) -- + (-45:.2em);}}
\def\Neumale{\tikz{\node[inner sep=0pt] (male) {\male};\draw ($(male.south west)!1.20!(male.center)$) +(135:.15em) -- + (-45:.15em);}}
\def\neufemale{\tikz[baseline=-0.4ex]{\node[inner sep=0pt] (female) {\female};\draw (female.center)++(-.01em,.17em) +(135:.19em) -- + (-45:.2em);}}
\usepackage{fontspec} % needs XeLaTeX
\begin{document}
\noindent \male \notmaleanymore \neumale \Neumale \female \neufemale\\
\fontspec{LinLibertine_R.otf} % needs XeLaTeX
\char"2642 % needs XeLaTeX
\char"2640 % needs XeLaTeX
\char"26A6 % needs XeLaTeX
\end{document}