feat: Support \Braket, \set, and \Set (#3214)

* feat: Support \Braket, \set, and \Set

* Update screenshots.

* Rewrite to redefine | via macros

* Update screenshot after merge

* Rename \bra@ket@one -> \bra@set

* Fix spacing in \set and \Set to match braket.sty

* Add || and \| support

* Update tests

* Update screenshots

Co-authored-by: Ron Kok <ronkok@comcast.net>
This commit is contained in:
Erik Demaine
2022-05-20 13:26:04 -04:00
committed by GitHub
parent 8319467151
commit 9e3ae4d5a8
10 changed files with 89 additions and 4 deletions

View File

@@ -119,12 +119,12 @@ DeepFontSizing:
nolatex: \Huge inside \dfrac doesn't work, needs an extra {…}
DelimiterSizing: |
\bigl\uparrow\Bigl\downarrow\biggl\updownarrow
\Biggl\Uparrow\Biggr\Downarrow\biggr\langle\Bigr\}\bigr\rfloor \\
\Biggl\Uparrow\Biggr\Downarrow\biggr\langle\Bigr\}\bigr\rfloor\; \Set{ x | x<\frac 1 2 } \\
\begin{pmatrix}
a & b & c\\
a & b & c\\
a & b & c\\
\end{pmatrix}
\end{pmatrix}\; \Braket{ ϕ | \frac{∂^2}{∂ t^2} | ψ } \\
DisplayMode:
tex: \sum_{i=0}^\infty \frac{1}{i}
pre: pre