From: Michael Orlitzky Date: Mon, 17 Jun 2019 00:02:48 +0000 (-0400) Subject: mjo-complex.tex: new file with a \compconj (complex conjugate) command. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=7321e6c665f3b9797bb7a76618e6419a33357e6c;p=mjotex.git mjo-complex.tex: new file with a \compconj (complex conjugate) command. --- diff --git a/GNUmakefile b/GNUmakefile index f3352b6..8f9fc6b 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -17,9 +17,9 @@ PN = examples # A space-separated list of the mjotex files that you use. The path to # mjotex must be contain in your $TEXINPUTS environment variable. -MJOTEX = mjo-algorithm.tex mjo-arrow.tex mjo-common.tex mjo-cone.tex -MJOTEX += mjo-convex.tex mjo-font.tex mjo-linear_algebra.tex mjo-listing.tex -MJOTEX += mjo-misc.tex mjo-proof_by_cases.tex mjo-theorem.tex +MJOTEX = mjo-algorithm.tex mjo-arrow.tex mjo-common.tex mjo-complex.tex +MJOTEX += mjo-cone.tex mjo-convex.tex mjo-font.tex mjo-linear_algebra.tex +MJOTEX += mjo-listing.tex mjo-misc.tex mjo-proof_by_cases.tex mjo-theorem.tex MJOTEX += mjo-theorem-star.tex mjo-topology.tex mjo.bst # Use kpsewhich (from the kpathsea suite) to find the absolute paths diff --git a/examples.tex b/examples.tex index 897396c..a202da7 100644 --- a/examples.tex +++ b/examples.tex @@ -80,6 +80,11 @@ \end{align*} \end{section} + \begin{section}{Complex} + We sometimes want to conjugate complex numbers like + $\compconj{a+bi} = a - bi$. + \end{section} + \begin{section}{Cone} The dual cone of $K$ is $\dual{K}$. Some familiar symmetric cones are $\Rnplus$, $\Lnplus$, $\Snplus$, and $\Hnplus$. If cones diff --git a/mjo-complex.tex b/mjo-complex.tex new file mode 100644 index 0000000..23d440f --- /dev/null +++ b/mjo-complex.tex @@ -0,0 +1,4 @@ +% Operations used when dealing with complex numbers. + +% The complex conjugate of its argument. +\providecommand*{\compconj}[1]{ \overline{#1} } diff --git a/mjotex.sty b/mjotex.sty index 039738b..0c5cd76 100644 --- a/mjotex.sty +++ b/mjotex.sty @@ -1,6 +1,7 @@ \input{mjo-algorithm} \input{mjo-arrow} \input{mjo-common} +\input{mjo-complex} \input{mjo-cone} \input{mjo-convex} \input{mjo-font}