]>
gitweb.michael.orlitzky.com - mjotex.git/blob - mjo-common.tex
edb5428046caad9e17e75fad390f1d56a3f8d819
2 % Only the most commonly-used macros. Needed by everything else.
5 % Place the argument in matching left/right parntheses.
6 \DeclarePairedDelimiter{\of}{ \lparen }{ \rparen }
8 % Group terms using parentheses.
9 \newcommand*
{\qty}[1]{ \left\lparen {#1} \right\rparen }
11 % Create a set from the given elements
12 \DeclarePairedDelimiter{\set}{ \lbrace }{ \rbrace }
14 % A set comprehension, where the ``such that...'' bar is added
15 % automatically. The bar was chosen over a colon to avoid ambiguity
16 % with the L : V -> V notation. We can't leverage \set here because \middle
17 % needs \left and \right present.
18 \newcommand*
{\setc}[2]{ \left\lbrace {#1}\
\middle|\
{#2} \right\rbrace }
21 \DeclarePairedDelimiterX{\pair}[2]{ \lparen }{ \rparen}{ {#1},
{#2} }