
我正在使用 Andrew Stacey 的套件來繪製座標(看到這個問題),我有兩個問題。
首先,如何才能實現如下圖的繪圖?準確地說,我將如何創建一個胖的共邊,其中一些傳入和傳出缺少邊界塊,即未繪製但由垂直點暗示?
第二,如何去除反面褲子下方的多餘空間?它影響括號
\documentclass{article}
\usepackage{tikz}
\usepackage{tqft}
\begin{document}
\[
S_M\left(\quad
\begin{tikzpicture}[tqft/flow=east]
\node[draw, tqft, reverse pair of pants, boundary lower style={draw,dashed}] (A) {};
\node[tqft boundary circle,draw] at (A.outgoing boundary 1) {};
\end{tikzpicture}
\quad\right)=\bullet
\]
\end{document}
答案1
足夠接近...
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{tqft}
\begin{document}
\[
p\left\{\vphantom{\vrule height80pt}\right.
\begin{tikzpicture}[baseline=57pt,ultra thick,red]
\pic[
tqft,rotate=90,
cobordism height=70pt,boundary separation=30pt,
cobordism edge/.style={draw},
incoming boundary 2/.style={dotted},
incoming upper boundary component 2/.style={dotted},
incoming lower boundary component 2/.style={dotted},
incoming boundary 3/.style={dotted},
between outgoing 2 and 3/.style={dotted},
outgoing upper boundary component 2/.style={dotted},
outgoing lower boundary component 2/.style={dotted},
between outgoing 1 and 2/.style={dotted},
incoming boundary components=5,
outgoing boundary components=4,offset=.5,
every upper boundary component/.style={draw},
every lower boundary component/.style={draw,thin},
genus=3,
hole 1/.style={rotate=-90,shift={(0pt,130pt)}},
hole 2/.style={rotate=-90,shift={(-20pt,100pt)}},
hole 3/.style={rotate=-90,shift={(-60pt,60pt)}},]{};
\end{tikzpicture}
\left.\vphantom{\vrule height60pt}\right\}q
\]
\end{document}