I am using stix fonts to type a formula containing bra-ket notations from quantum mechanics. I observe that the size of a vertical bar is either too small:
\big\}\lvert\psi\rangle
,
or too large:
\big\}\big\lvert\psi\big\rangle
.
I would like to make the \lvert
and the \rangle
symbols be of the same height as \big\}
. Is it possible to achieve this somehow? For a reference I posting the full source:
\documentclass[11pt,a4paper,onecolumn,openright,final]{memoir}
%===============================================
\settrims{0.cm}{0.cm}
\setbinding{1cm} % space for binding
\setlrmarginsandblock{*}{3cm}{1} % spine = edge. Edge=3cm
\setulmarginsandblock{3cm}{*}{1} % upper=lower. Upper=3cm
\checkandfixthelayout
\pagestyle{empty}
%===============================================
\usepackage[]{stix,amsmath}
%===============================================
\begin{document}
Compare different height of vertical bars here
\begin{subequations}
\begin{eqnarray}
g(t-t')&=&-i\langle\psi\lvert T \bigl\{\hat c(t)\,\hat c^\dagger(t')\bigr\}\lvert\psi\rangle,\\
g(t-t')&=&-i\langle\psi| T \bigl\{\hat c(t)\,\hat c^\dagger(t')\bigr\} |\psi\rangle;
\end{eqnarray}
\end{subequations}
and here
\begin{subequations}
\begin{eqnarray}
g(t-t')&=&-i\bigl\langle\psi\bigr\rvert T \bigl\{\hat c(t)\,\hat c^\dagger(t')\bigr\}\bigl\lvert\psi\bigr\rangle,\\
g(t-t')&=&-i\bigl\langle\psi\bigr| T \bigl\{\hat c(t)\,\hat c^\dagger(t')\bigr\}\bigl|\psi\bigr\rangle.
\end{eqnarray}
\end{subequations}
and here $\big\}\big|\psi\big\rangle$.
\end{document}
and the full output:
Any help is much appreciated!
eqnarray
. – egreg Feb 10 '15 at 15:41\usepackage[]{stix}\def\lvert{|}\def\rvert{|}\def\subequations{}
I see @egreg has just posted with a workaround. – David Carlisle Feb 10 '15 at 15:47