html怎么显示公式,如何在网页中显示数学公式与化学公式的方法

Syntax

Operation symbols

TypeSee

+

+

-

*

**

***

?

//

/

\\

\

xx

×

-:

÷

@

°

o+

ox

o.

sum

prod

^^

^^^

?

vv

vvv

?

nn

nnn

?

uu

uuu

?

Miscellaneous symbols

TypeSee

int

oint

del

grad

+-

±

O/

oo

aleph

/_

:.

|...|

|...|

|cdots|

|?|

vdots

?

ddots

?

|\ |

||

|quad|

||

diamond

?

square

|__

__|

|~

~|

CC

C

NN

N

QQ

Q

RR

R

ZZ

Z

Relation symbols

TypeSee

=

=

!=

<

<

>

>

<=

>=

-<

?

>-

?

in

!in

sub

sup

sube

supe

-=

~=

~~

prop

Greek Letters

TypeSeeTypeSee

alpha

α

beta

β

chi

χ

delta

δ

Delta

Δ

epsilon

ε

varepsilon

?

eta

η

gamma

γ

Gamma

Γ

iota

ι

kappa

κ

lambda

λ

Lambda

Λ

mu

μ

nu

ν

omega

ω

Omega

Ω

phi

?

Phi

Φ

varphi

φ

pi

π

Pi

Π

psi

ψ

Psi

Ψ

rho

ρ

sigma

σ

Sigma

Σ

tau

τ

theta

θ

Theta

Θ

vartheta

ϑ

upsilon

υ

xi

ξ

Xi

Ξ

zeta

ζ

Logical symbols

TypeSee

and

and

or

or

not

¬

=>

if

if

iff

AA

EE

_|_

TT

?

|--

?

|==

?

Grouping brackets

TypeSee

(

(

)

)

[

[

]

]

{

{

}

}

(:

?

:)

?

{:

:}

:}

Arrows

TypeSee

uarr

darr

rarr

->

|->

?

larr

harr

rArr

lArr

hArr

Accents

TypeSee

hat x

bar x

ul x

x−

vec x

x→

dot x

x.

ddot x

x..

Font commands

TypeSee

bb "AaBbCc"

AaBbCc

bbb "AaBbCc"

AaBbCc

cc "AaBbCc"

AaBbCc

tt "AaBbCc"

AaBbCc

fr "AaBbCc"

AaBbCc

sf "AaBbCc"

AaBbCc

Special Cases

Matrices: [[a,b],[c,d]] yields to [acbd]

Column vectors: ((a,b),(c,d)) yields to (acbd)

Complex subscripts: lim_(x->oo) yields to limx→∞

Subscripts must come before superscripts: int_0^1 f(x)dx yields to ∫10f(x)dx

Attention: Always try to surround the > and 

Standard Functions

sin, cos, tan, csc, sec, cot, sinh, cosh, tanh, log, ln, det, dim, lim, mod, gcd, lcm, min, max

The Grammar

Here is a definition of the grammar used to parse AsciiMath expressions. In the Backus-Naur form given below, the letter on the left of the ::= represents a category of symbols that could be one of the possible sequences of symbols listed on the right. The vertical bar | separates the alternatives.

c ::= [A-z] | numbers | greek letters | other constant symbols (see below)

u ::= ‘sqrt‘ | ‘text‘ | ‘bb‘ | other unary symbols for font commands

b ::= ‘frac‘ | ‘root‘ | ‘stackrel‘ binary symbols

l ::= ( | [ | { | (: | {: left brackets

r ::= ) | ] | } | :) | :} right brackets

S ::= c | lEr | uS | bSS | "any" simple expression

E ::= SE | S/S | S_S | S^S | S_S^S expression (fraction, sub-, super-, subsuperscript)

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值