]>
gitweb.michael.orlitzky.com - mjotex.git/blob - mjo-common.tex
88bdc1d65b4a3f8f5962c697f075c0268f1735df
2 % Only the most commonly-used macros. Needed by everything else.
5 % Place the argument in matching left/right parntheses.
6 \providecommand*
{\of}[1]{ \left(
{#1} \right)
}
8 % Group terms using parentheses.
9 \providecommand*
{\qty}[1]{ \left(
{#1} \right)
}
11 % Group terms using square brackets.
12 \providecommand*
{\sqty}[1]{ \left[ {#1} \right] }
14 % Create a set from the given elements
15 \providecommand*
{\set}[1]{ \left\lbrace {#1} \right\rbrace }
17 % A set comprehension, where the ``such that...'' bar is added
18 % automatically. The bar was chosen over a colon to avoid ambiguity
19 % with the L : V -> V notation. We can't leverage \set here because \middle
20 % needs \left and \right present.
21 \providecommand*
{\setc}[2]{ \left\lbrace {#1}\
\middle|\
{#2} \right\rbrace }
24 \providecommand*
{\pair}[2]{ \left(
{#1},
{#2} \right)
}
26 % The integral n-space, Z x Z x Z x ... x Z.
27 \providecommand*
{\Zn}[1][n
]{ \mathbb{Z
}^
{{#1}} }
29 % The rational n-space, Q x Q x Q x ... x Q.
30 \providecommand*
{\Qn}[1][n
]{ \mathbb{Q
}^
{{#1}} }
32 % The real n-space, R x R x R x ... x R.
33 \providecommand*
{\Rn}[1][n
]{ \mathbb{R
}^
{{#1}} }
35 % The complex n-space, C x C x C x ... x C.
36 \providecommand*
{\Cn}[1][n
]{ \mathbb{C
}^
{{#1}} }