zoukankan      html  css  js  c++  java
  • Markdown公式(二)

    参考资料https://gavin_nicholas.coding.me/archives/

    1. 如何输入括号和分隔符

    ()[]| 表示自己, {} 表示 {} 。当要显示大号的括号或分隔符时,要用 left ight 命令。

    例子:$$f(x,y,z) = 3y^2z left( 3+frac{7x+5}{1+y^2} ight)$$ ,显示:

    [f(x,y,z) = 3y^2z left( 3+frac{7x+5}{1+y^2} ight) ]

    有时候要用left. ight.进行匹配而不显示本身。

    例子:$$left. frac{ { m d}u}{ { m d}x} ight| _{x=0}$$,显示:

    [left. frac{ { m d}u}{ { m d}x} ight| _{x=0} ]

    1.1 偏导

    $$frac{partial^{2}y}{partial x^{2}}$$

    [frac{partial^{2}y}{partial x^{2}} ]

    2. 运算符:

    关系运算符 markdown语言 集合运算符 markdown语言
    (pm) $pm$ (emptyset) $emptyset$
    ( imes) $ imes$ (in) $in$
    (div) $div$ ( otin) $ otin$
    (mid) $mid$ (subset) $subset$
    ( mid) $ mid$ (supset) $supset$
    (cdot) $cdot$ (subseteq) $subseteq$
    (circ) $circ$ (supseteq) $supseteq$
    (ast) $ast$ (igcap) $igcap$
    (igodot) $igodot$ (igcup) $igcup$
    (igotimes) $igotimes$ (igvee) $igvee$
    (igoplus) $igoplus$ (igvee) $igvee$
    (leq) $leq$ (igwedge) $igwedge$
    (geq) $geq$ (iguplus) $iguplus$
    ( eq) $ eq$ (igsqcup) $igsqcup$
    (approx) $approx$
    (equiv) $equiv$ (ll) $ll$
    (sum) $sum$
    (prod) $prod$ (sim) $sim$
    (coprod) $coprod$ (acksim) $acksim$
    (prec) (preceq) (succ) (succeq) $prec$ $preceq$ $succ$ $succeq$
    对数运算符 markdown语言 戴帽符号 markdown语言 连线符号 markdown语言
    (log) $log$ (hat{y}) $hat{y}$ (overline{a+b+c+d}) $overline{a+b+c+d}$
    (lg) $lg$ (check{y}) $check{y}$ (underline{a+b+c+d}) $underline{a+b+c+d}$
    (ln) $ln$ (reve{y}) $reve{y}$ (overbrace{a+underbrace{b+c}{1.0}+d}^{2.0}) $overbrace{a+underbrace{b+c}{1.0}+d}^{2.0}$

    三角运算符 markdown语言 微积分运算符 markdown语言 逻辑运算符 markdown语言
    (ot) $ot$ (prime) $prime$ (ecause) $ecause$
    (angle) $angle$ (int) $int$ ( herefore) $ herefore$
    (30^circ) $30^circ$ (iint) $iint$ (forall) $forall$
    (sin) $sin$ (iiint) $iiint$ (exists) $exists$
    (cos) $cos$ (iiiint) $iiiint$ ( ot=) $ ot=$
    ( an) $ an$ (oint) $oint$ ( ot>) $ ot>$
    (cot) $cot$ (lim) $lim$ ( otsubset) $ otsubset$
    (sec) $sec$ (infty) $infty$
    (csc) $csc$ ( abla) $ abla$
    箭头符号 markdown语言
    (uparrow) $uparrow$
    (downarrow) $downarrow$
    (Uparrow) $Uparrow$
    (Downarrow) $Downarrow$
    ( ightarrow) $ ightarrow$
    (leftarrow) $leftarrow$
    (Rightarrow) $Rightarrow$
    (Leftarrow) $Leftarrow$
    (longrightarrow) $longrightarrow$
    (longleftarrow) $longleftarrow$
    (Longrightarrow) $Longrightarrow$
    (Longleftarrow) $Longleftarrow$
    (f: {mathbf x_t} mapsto {mathbf y_t}) $f: {mathbf x_t} mapsto {mathbf y_t}$
    (Longleftrightarrow) Longleftrightarrow

    更多关于箭头的符号见:MathJax 支持的 Latex 符号总结(各种箭头符号)


    特殊符号

    • (oldsymbol{hat y} = oldsymbol{W} oldsymbol{x}) 的输入
      代码:
    $oldsymbol{hat y} = oldsymbol{W} oldsymbol{x}$
    
    • (ell_p) 范数: $ell_p$

    对于一些特殊的数学符号可以使用 operatorname{} 或者 ext{} 来进行转换,如:$ ext{cov}$$operatorname{s.t.}$ 便显示为:( ext{cov})(operatorname{s.t.})

    还有:

    $A xrightarrow{f} B ; a ; ot b ; overset{def}{=}$ 
    

    (A xrightarrow{f} B ; a ; ot b ; overset{def}{=})

    $$
     underset{xin Ssubseteq X}{operatorname{arg\,max}}\, f(x) := {x mid xin S wedge forall y in S : f(y) le f(x)}.   
    $$
    

    [ underset{xin Ssubseteq X}{operatorname{arg\,max}}\, f(x) := {x mid xin S wedge forall y in S : f(y) le f(x)}. ]

    $$
    operatorname*{argmax}_{xin Ssubseteq X}\, f(x) := {x mid xin S wedge forall y in S : f(y) le f(x)}.   
    $$
    

    [operatorname*{argmax}_{x in S subseteq X}\, f(x) := {x mid xin S wedge forall y in S : f(y) le f(x)}. ]

    对齐多行公式

    $$
    egin{aligned}
    a  &= b^2 + c^2\
    &= w^3 + b
    end{aligned}
    $$
    

    显示:

    [egin{aligned} a &= b^2 + c^2\ &= w^3 + b end{aligned} ]

    关于矩阵的语法

    $$
    egin{Bmatrix}
    	1&2&3\
    	4&5&6\
    	7&8&9
    end{Bmatrix}
     	ag{7}
    $$
    

    显示:

    [egin{Bmatrix} 1&2&3\ 4&5&6\ 7&8&9 end{Bmatrix} ag{7} ]

    更多矩阵设计:

    $$
    egin{vmatrix}
    	1&2&3\
    	4&5&6\
    	7&8&9
    end{vmatrix}
     	ag{8}
    $$
    
    $$
    egin{Vmatrix}
    1&2&3\
    4&5&6\
    7&8&9
    end{Vmatrix}
     	ag{9}
    $$
    
    $$
    igl(
    	egin{smallmatrix} 
    		... 
    	end{smallmatrix}
    igr)
    $$
    
    $$ 
    left[
        egin{array}{cc|c}
          1 & 2 & 3 \
          4 & 5 & 6
        end{array}
    
    ight] 	ag{12}
    $$
    

    显示:

    [egin{vmatrix} 1&2&3\ 4&5&6\ 7&8&9 end{vmatrix} ag{8} ]

    [egin{Vmatrix} 1&2&3\ 4&5&6\ 7&8&9 end{Vmatrix} ag{9} ]

    [igl( egin{smallmatrix} ... end{smallmatrix} igr) ]

    [left[ egin{array}{cc|c} 1 & 2 & 3 \ 4 & 5 & 6 end{array} ight] ag{12} ]

  • 相关阅读:
    HDU 2878 Great World of Goo
    HDU 4295 4 substrings problem
    UVALive 4975 Casting Spells
    UVA 10572 Black & White
    POJ 3133 Manhattan Wiring
    HDU 4267 A Simple Problem with Integers
    SPOJ 7258 Lexicographical Substring Search
    UVALive 4978 Fields and Farmers
    ssh连接aix问题与解决
    MDRT_<>$表
  • 原文地址:https://www.cnblogs.com/q735613050/p/7474449.html
Copyright © 2011-2022 走看看