English 中文(简体)
Tex Commands Reference

Symbols

A

B

页: 1

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

Selected Reading

DeclareMathOperator
  • 时间:2024-12-24

DeclareMathOperator - Tex Command


Previous Page Next Page  

NAME

DeclareMathOperator - allows you to define your own operator names.

SYNOPSIS

{ DeclareMathOperator #1 #2  }

OPTIONS

InputDescription
#1operator name, including the preceding backslash; only letters a–z and A–Z are allowed; in particular, no numbers are allowed in operator names
#2Replacement text for the operator name.

DESCRIPTION

DeclareMathOperator command allows you to define your own operator names; they are subsequently typeset using the proper font and spacing.

EXAMPLE

    myOp(x)
    $ myOp(x) $

    	ext{myOp}(x)
    $ ext{myOp}(x) $

    DeclareMathOperator {myOp}{myOp}
    myOp(x)
    
    $ DeclareMathOperator {myOp}{myOp} myOp(x) $

    myOp_a^b(x)
    $ myOp_a^b(x) $

Advertisements