From 38147a40c34416d5dbd87f44d8786e3dd73a132f Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sun, 5 Jun 2016 15:08:07 -0400 Subject: [PATCH] Fix all chktex warnings. --- mjo-arrow.tex | 2 +- mjo-common.tex | 14 +++++++------- mjo-cone.tex | 8 ++++---- mjo-linear_algebra.tex | 22 +++++++++++----------- mjo-proof_by_cases.tex | 4 ++-- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/mjo-arrow.tex b/mjo-arrow.tex index 3ae2daa..6f26207 100644 --- a/mjo-arrow.tex +++ b/mjo-arrow.tex @@ -7,4 +7,4 @@ % The composition of two arrows/functions. For example, the % composition of g with f is \compose{g}{f}\of{x} === g\of{f\of{x}}. -\newcommand*{\compose}[2]{ {#1} \circ {#2} } +\newcommand*{\compose}[2]{ {#1}\circ{#2} } diff --git a/mjo-common.tex b/mjo-common.tex index 26e761b..e19d788 100644 --- a/mjo-common.tex +++ b/mjo-common.tex @@ -3,28 +3,28 @@ % % Place the argument in matching left/right parntheses. -\providecommand*{\of}[1]{ \left( {#1} \right) } +\providecommand*{\of}[1]{ \left({#1}\right) } % Group terms using parentheses. -\providecommand*{\qty}[1]{ \left( {#1} \right) } +\providecommand*{\qty}[1]{ \left({#1}\right) } % Group terms using square brackets. -\providecommand*{\sqty}[1]{ \left[ {#1} \right] } +\providecommand*{\sqty}[1]{ \left[{#1}\right] } % Create a set from the given elements -\providecommand*{\set}[1]{ \left\lbrace {#1} \right\rbrace } +\providecommand*{\set}[1]{\left\lbrace{#1}\right\rbrace} % A set comprehension, where the ``such that...'' bar is added % automatically. The bar was chosen over a colon to avoid ambiguity % with the L : V -> V notation. We can't leverage \set here because \middle % needs \left and \right present. -\providecommand*{\setc}[2]{ \left\lbrace {#1}\ \middle|\ {#2} \right\rbrace } +\providecommand*{\setc}[2]{\left\lbrace{#1}\ \middle|\ {#2} \right\rbrace} % A pair of things. -\providecommand*{\pair}[2]{ \left( {#1}, {#2} \right) } +\providecommand*{\pair}[2]{ \left({#1},{#2}\right) } % The Cartesian product of two things. -\providecommand*{\cartprod}[2]{ {#1} \times {#2} } +\providecommand*{\cartprod}[2]{ {#1}\times{#2} } % The Cartesian product of three things. \providecommand*{\cartprodthree}[3]{ \cartprod{{#1}}{\cartprod{{#2}}{{#3}}} } diff --git a/mjo-cone.tex b/mjo-cone.tex index 443d700..a7507d6 100644 --- a/mjo-cone.tex +++ b/mjo-cone.tex @@ -45,10 +45,10 @@ % % Standard cone inequalities. -\newcommand*{\gek}{ \succcurlyeq } -\newcommand*{\gtk}{ \succ } -\newcommand*{\lek}{ \preccurlyeq } -\newcommand*{\ltk}{ \prec } +\newcommand*{\gek}{\succcurlyeq} +\newcommand*{\gtk}{\succ} +\newcommand*{\lek}{\preccurlyeq} +\newcommand*{\ltk}{\prec} % Starred versions of the cone inequality operators. diff --git a/mjo-linear_algebra.tex b/mjo-linear_algebra.tex index 9e32d21..e11a945 100644 --- a/mjo-linear_algebra.tex +++ b/mjo-linear_algebra.tex @@ -8,43 +8,43 @@ \input{mjo-common} % Absolute value (modulis) of a scalar. -\newcommand*{\abs}[1]{ \left\lvert {#1} \right\rvert } +\newcommand*{\abs}[1]{\left\lvert{#1}\right\rvert} % Norm of a vector. -\newcommand*{\norm}[1]{ \left\lVert {#1} \right\rVert } +\newcommand*{\norm}[1]{\left\lVert{#1}\right\rVert} % The inner product between its two arguments. -\newcommand*{\ip}[2]{ \langle {#1}, {#2} \rangle } +\newcommand*{\ip}[2]{\langle{#1},{#2}\rangle} % The tensor product of its two arguments. -\newcommand*{\tp}[2]{ {#1} \otimes {#2} } +\newcommand*{\tp}[2]{ {#1}\otimes{#2} } % The ``span of'' operator. The name \span is already taken. -\newcommand*{\spanof}[1]{ \operatorname{span} \of{{#1}} } +\newcommand*{\spanof}[1]{ \operatorname{span}\of{{#1}} } % The ``co-dimension of'' operator. \newcommand*{\codim}{ \operatorname{codim} } % The trace of an operator. -\newcommand*{\trace}[1]{ \operatorname{trace} \of{{#1}} } +\newcommand*{\trace}[1]{ \operatorname{trace}\of{{#1}} } % The orthogonal projection of its second argument onto the first. \newcommand*{\proj}[2] { \operatorname{proj}\of{#1, #2} } % The ``Automorphism group of'' operator. -\newcommand*{\Aut}[1]{ \operatorname{Aut} \of{{#1}} } +\newcommand*{\Aut}[1]{ \operatorname{Aut}\of{{#1}} } % The ``Lie algebra of'' operator. -\newcommand*{\Lie}[1]{ \operatorname{Lie} \of{{#1}} } +\newcommand*{\Lie}[1]{ \operatorname{Lie}\of{{#1}} } % The ``write a matrix as a big vector'' operator. -\newcommand*{\vectorize}[1]{ \operatorname{vec} \of{{#1}} } +\newcommand*{\vectorize}[1]{ \operatorname{vec}\of{{#1}} } % The ``write a big vector as a matrix'' operator. -\newcommand*{\matricize}[1]{ \operatorname{mat} \of{{#1}} } +\newcommand*{\matricize}[1]{ \operatorname{mat}\of{{#1}} } % An inline column vector, with parentheses and a transpose operator. -\newcommand*{\colvec}[1]{ \left( {#1} \right)^{T} } +\newcommand*{\colvec}[1]{ \left({#1}\right)^{T} } % Bounded linear operators on some space. The required argument is the % domain of those operators, and the optional argument is the diff --git a/mjo-proof_by_cases.tex b/mjo-proof_by_cases.tex index 7dbe91c..b85daef 100644 --- a/mjo-proof_by_cases.tex +++ b/mjo-proof_by_cases.tex @@ -19,8 +19,8 @@ label=\textbf{Case~\arabic*}~(\protect\thiscase)\textbf{:}, ref=\arabic*, align=left, - leftmargin=\parindent -} + leftmargin=\parindent} + \newcommand{\case}[1][]{ \def\thiscase{#1}% \item -- 2.43.2