From: Michael Orlitzky Date: Thu, 22 Sep 2016 19:21:46 +0000 (-0400) Subject: Add my work-in-progress \directsumperp. X-Git-Tag: posZ-submitted-laa~7 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=7a60af0c2fa38f05aecd84b530d3c5b87eaf3de7;p=mjotex.git Add my work-in-progress \directsumperp. --- diff --git a/examples.tex b/examples.tex index a491bd8..fbbe860 100644 --- a/examples.tex +++ b/examples.tex @@ -103,6 +103,29 @@ The set of all bounded linear operators from $V$ to $W$ is $\boundedops[W]{V}$. If $W = V$, then we write $\boundedops{V}$ instead. + + The direct sum of $V$ and $W$ is $\directsum{V}{W}$, of course, + but what if $W = V^{\perp}$? Then we wish to indicate that fact by + writing $\directsumperp{V}{W}$. That operator should survive a + display equation, too: + % + \begin{align*} + Z = \directsumperp{V}{W}\\ + \oplus\oplusperp\oplus\oplusperp + \end{align*} + % + Its form should also survive in different font sizes... + \Large + \begin{align*} + Z = \directsumperp{V}{W}\\ + \oplus\oplusperp\oplus\oplusperp + \end{align*} + \Huge + \begin{align*} + Z = \directsumperp{V}{W}\\ + \oplus\oplusperp\oplus\oplusperp + \end{align*} + \normalsize \end{section} \begin{section}{Listing} diff --git a/mjo-linear_algebra.tex b/mjo-linear_algebra.tex index ebf4acd..5fce75a 100644 --- a/mjo-linear_algebra.tex +++ b/mjo-linear_algebra.tex @@ -71,3 +71,19 @@ \fi } } + + +% +% Orthogonal direct sum. +% +% Wasysym contains the \ocircle that we use in \directsumperp. +\usepackage{wasysym} +\usepackage{scalerel} +\DeclareMathOperator{\oplusperp}{\mathbin{ + \ooalign{ + $\ocircle$\cr + \raisebox{\noexpand{0.65\height}}{${\vstretch{0.5}{\perp}}$}\cr + } +}} + +\newcommand*{\directsumperp}[2]{ {#1}\oplusperp{#2} }