Can anybody help in writing the following formula… I am having trouble. LHS I can write, but not the RHS.
[Tex/LaTex] How to write a formula using box product
math-modemath-operators
math-modemath-operators
Can anybody help in writing the following formula… I am having trouble. LHS I can write, but not the RHS.
Best Answer
You can use
\DeclareMathOperator*
fromamsmath
to declare an operator accepting "limits" in super/sub script positions:As egreg comments, perhaps one could use
\vcenter
instead of an explicit dimension in the definition of\MyS
; in this way, the square will be vertically centered with respect to the equal sign:Notice also the use of
\mathbin
in the definition of\Osq
to have the proper spacing for a binary operator.