悠闲数学娱乐论坛(第2版)'s Archiver

abababa 发表于 2017-10-4 17:48

行间公式中det的平方,怎么能让平方和普通的符号一样?

如下公式:
\[\det^2(P), x^2\]
那个det平方的平方就跑到正上方去了,怎么才能像$x^2$那样的位置?

kuing 发表于 2017-10-4 17:51

{\det}^2(P), x^2

abababa 发表于 2017-10-4 17:57

[b]回复 [url=http://kuing.orzweb.net/redirect.php?goto=findpost&pid=23146&ptid=4910]2#[/url] [i]kuing[/i] [/b]
这个和$\sin^2$怎么就不一样呢?都是符号,难道是行列式的就是要这样写才对吗?

kuing 发表于 2017-10-4 18:22

[b]回复 [url=http://kuing.orzweb.net/redirect.php?goto=findpost&pid=23147&ptid=4910]3#[/url] [i]abababa[/i] [/b]

俺不懂行列式什么的,不过 tex 这样定义应该会有它的用意吧,会不会经常有正下方的下标?

kuing 发表于 2017-10-4 19:03

关于这些函数的定义,可以看 amsopn.sty ,摘录部分代码如下:[code]\def\arccos{\qopname\relax o{arccos}}
\def\arcsin{\qopname\relax o{arcsin}}
\def\arctan{\qopname\relax o{arctan}}
\def\arg{\qopname\relax o{arg}}
\def\cos{\qopname\relax o{cos}}
\def\cosh{\qopname\relax o{cosh}}
\def\cot{\qopname\relax o{cot}}
\def\coth{\qopname\relax o{coth}}
\def\csc{\qopname\relax o{csc}}
\def\deg{\qopname\relax o{deg}}
\def\det{\qopname\relax m{det}}
\def\dim{\qopname\relax o{dim}}
\def\exp{\qopname\relax o{exp}}
\def\gcd{\qopname\relax m{gcd}}
\def\hom{\qopname\relax o{hom}}
\def\inf{\qopname\relax m{inf}}
\def\injlim{\qopname\relax m{inj\,lim}}
\def\ker{\qopname\relax o{ker}}
\def\lg{\qopname\relax o{lg}}
\def\lim{\qopname\relax m{lim}}
\def\liminf{\qopname\relax m{lim\,inf}}
\def\limsup{\qopname\relax m{lim\,sup}}
\def\ln{\qopname\relax o{ln}}
\def\log{\qopname\relax o{log}}
\def\max{\qopname\relax m{max}}
\def\min{\qopname\relax m{min}}
\def\Pr{\qopname\relax m{Pr}}
\def\projlim{\qopname\relax m{proj\,lim}}
\def\sec{\qopname\relax o{sec}}
\def\sin{\qopname\relax o{sin}}
\def\sinh{\qopname\relax o{sinh}}
\def\sup{\qopname\relax m{sup}}
\def\tan{\qopname\relax o{tan}}
\def\tanh{\qopname\relax o{tanh}}[/code]o 的就是和 sin 的一样
m 的就和 lim 的一样

abababa 发表于 2017-10-4 19:07

[b]回复 [url=http://kuing.orzweb.net/redirect.php?goto=findpost&pid=23151&ptid=4910]5#[/url] [i]kuing[/i] [/b]

看这个,貌似m的都是不能带指数的那些,像sup,min,max之类的,都是不应该带指数的。

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.