[texhax] Amstex problem: sideset or operatorname

Aditya Mahajan adityam at umich.edu
Mon Jul 2 02:38:59 CEST 2007


On Sun, 1 Jul 2007, Zbigniew Nitecki wrote:

> I am trying to use the \sideset option to create a macro which prints one 
> argument (say v) inside brackets, with a "subscript", on the left of the left 
> bracket.  The code for the macro is
> **********************************************************************************
> \newcommand{\matrepvec}[2]{\ensuremath{\sideset{_{#1}}{}{\operatorname{\lbrack 
> #2\rbrack}}}}
> *************************************************************************************

Replace \operatorname with \mathop. \operatorname shifts to text font, 
and this confuses \vec.

Aditya


More information about the texhax mailing list