Latex笔记

Posted by Liang Chen on November 25, 2020

Reference: 一份不太简短的 LATEX 2ε 介绍

  1. 多行公式如何左对齐?

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    
     $$
     \begin{align*}
     & i_t = \sigma (W_{xi}x_t + W_{hi}h_{t-1} + W_{ci}c_{t-1} +b_i)\\
     & f_t = \sigma (W_{xf}x_t + W_{hf}h_{t-1} + W_{cf}c_{t-1} +b_f)\\
     & \bar{c_t} = tanh(W_{xc}x_t + W_{hc}h_{t-1} + b_c)\\
     & c_t = f_t \circ c_{t-1} + i_t \circ \bar{c_t}\\
     & o_t = \sigma ( W_{xo}x_t + W_{ho}h_{t-1} + W_{co}c_{t} +b_o )\\
     & h_t = o_t \circ tanh(c_t)
     \end{align*}
     $$