我正在使用 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}