我如何控制左右分隔方程部分的高度?

我如何控制左右分隔方程部分的高度?

我有一个简单的等式,很像下面(我使用包braket):

\begin{equation}
\mathcal{Y} = \Set{ x \in \mathcal{G} | \Vert x \Vert > d }
\end{equation}

我对此等式的渲染不满之处在于 | 和 || 彼此接近且高度完全相同 - 我希望 | 栏更大一些以使符号更加清晰。实现此目的的一种方法是使整个Set或左右环境更高一些。我该怎么做?我可以插入一个不可见的字符以使整个东西更大吗?我应该手动插入更高的 | 栏吗?

答案1

在(或任何位置,以便可扩展分隔符受到影响)\strut之前插入:\Vert

在此处输入图片描述

\documentclass{article}
\usepackage{braket}% http://ctan.org/pkg/braket
\begin{document}
\noindent Original:
\begin{equation}
\mathcal{Y} = \Set{ x \in \mathcal{G} | \Vert x \Vert > d }
\end{equation}
\verb|\strut|-ed:
\begin{equation}
\mathcal{Y} = \Set{ x \in \mathcal{G} | \strut\Vert x \Vert > d }
\end{equation}
\end{document}

相关内容