
我正在乳膠中尋找合適的符號來連接兩個集合
謝謝,
我想要下圖這樣的符號
答案1
此類問題的一個很好的資源是不透明的命名解毒, 在http://detexify.kirelabs.org/classify.html。您用滑鼠繪製一個形狀,它會列出與其相似的 TeX 符號,以及套件和模式資訊。它很好地完成了我對符號的非常笨拙的渲染,找到了與egreg和LaRiFaRi提出的相同符號匹配的頂部:
答案2
你的符號看起來\smallfrown
來自amssymb
,但是是抬起來的。
\documentclass{article}
\usepackage{amsmath,amssymb}
\newcommand{\tieconcat}{%
\mathbin{\mathpalette\dotieconcat\relax}%
}
\newcommand{\dotieconcat}[2]{% auxiliary macro, don't use it directly
\text{\raisebox{.8ex}{$\smallfrown$}}%
}
\begin{document}
$A\tieconcat B$
$A\sqcup B$
\end{document}
不過,我更喜歡的符號是\sqcup
我在底部顯示的。
答案3
如果您能夠使用 Lua- 或 XeLaTeX,您可以只使用該符號的 Unicode,即U+2040。會有相當多的您系統上支援此符號的字體。您可以選擇一個,載入套件fontspec
並執行以下操作\newcommand*{\concat}{\fontspec{your-font-name}\mathbin{\text{\symbol{"2040}}}}
:
\tieconcat
但是,使用套件中的命令會更容易unicode-math
。 XITS 和 Asana 字體確實提供了該符號。這可能如下所示:
% arara: lualatex
\documentclass{article}
\usepackage{unicode-math}
\begin{document}
\setmathfont{XITS Math}
\[
A\tieconcat B
\]
\setmathfont{Asana Math}
\[
A\tieconcat B
\]
\end{document}
如果您想使用 PDFLaTeX,則必須使用\frown
frommathtools
或or 來表示from 的MnSymbol
較窄版本。\smallfrown
amssymb
您可以將符號稍微抬起來重現您的符號。只要適應0.9ex
直到你覺得滿意為止。
% arara: pdflatex
\documentclass{article}
\usepackage{amssymb}
\usepackage{mathtools}
\newcommand*{\upFrown}{\mathbin{\raisebox{0.9ex}{$\frown$}}}
\newcommand*{\upSmallFrown}{\mathbin{\raisebox{0.9ex}{$\smallfrown$}}}
\begin{document}
$A\upFrown B \upSmallFrown C$
\end{document}