最小工作示例如下:
\documentclass{article}
\usepackage{amsfonts,lipsum}
\begin{document}
$\langle 1,2,a,b\rangle$
\end{document}
问题:如何创建虚线的\langle
和变体?另外,我希望新符号的大小能够与字体大小相匹配,并且可以与和命令一起使用。\rangle
\left
\right
欢迎任何帮助!谢谢!
答案1
说到用 Tikz 伪造它......
\documentclass{article}
\usepackage{amsfonts,lipsum}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
$\displaystyle x \tikz[baseline=(A.base)]{\node[anchor=base, inner sep=1pt] (A) {$\displaystyle \frac{1}{2}$};
\draw[dashed] (A.south west) -- ($(A.west)+(-.5em,0)$) -- (A.north west);
\draw[dashed] (A.south east) -- ($(A.east)+(0.5em,0)$) -- (A.north east);
\path (current bounding box.west)++(-2pt,0) (current bounding box.east)++(2pt,0);}
$
\end{document}