我想使用曲线来改变和$\rightsquigarrow$
中的项目符号的尖箭头(以及这两个的倒数,其中点位于左侧)。是否可以定义这样的符号?$\multimap$
$\multimapdot$
答案1
像这样的东西?它们看起来真的很有趣……
\documentclass{article}
\usepackage{txfonts}
\usepackage{trimclip}
\makeatletter
\DeclareRobustCommand*{\squigmultimap}{%
\mathrel{%
\mathpalette\@squigmultimap{}%
}%
}
\newcommand*{\@squigmultimap}[2]{%
\vcenter{\hbox{\clipbox{0 {.25\height} {.22\width} {.15\height}}{$#1\rightsquigarrow\m@th$}}}%
\clipbox{{.55\width} 0 0 0}{$#1\multimap\m@th$}%
}
\DeclareRobustCommand*{\squigmultimapdot}{%
\mathrel{%
\mathpalette\@squigmultimapdot{}%
}%
}
\newcommand*{\@squigmultimapdot}[2]{%
\vcenter{\hbox{\clipbox{0 {.25\height} {.22\width} {.15\height}}{$#1\rightsquigarrow\m@th$}}}%
\clipbox{{.55\width} 0 0 0}{$#1\multimapdot\m@th$}%
}
\DeclareRobustCommand*{\squigmultimapinv}{%
\mathrel{%
\mathpalette\@squigmultimapinv{}%
}%
}
\newcommand*{\@squigmultimapinv}[2]{%
\clipbox{0 0 {.55\width} 0}{$#1\multimapinv\m@th$}%
\vcenter{\hbox{\clipbox{{.22\width} {.25\height} 0 {.15\height}}{$#1\leftsquigarrow\m@th$}}}%
}
\DeclareRobustCommand*{\squigmultimapdotinv}{%
\mathrel{%
\mathpalette\@squigmultimapdotinv{}%
}%
}
\newcommand*{\@squigmultimapdotinv}[2]{%
\clipbox{0 0 {.55\width} 0}{$#1\multimapdotinv\m@th$}%
\vcenter{\hbox{\clipbox{{.22\width} {.25\height} 0 {.15\height}}{$#1\leftsquigarrow\m@th$}}}%
}
\makeatother
\begin{document}
\centering
$A \multimap B$
$A \squigmultimap B$
$C \squigmultimapdotinv D$
\bigskip
$n_{A \squigmultimapdotinv B} + x^{C \squigmultimap D}$
\bigskip
$\frac{A \squigmultimapdot B}{C \squigmultimapinv D}$
\end{document}