1. 非数学符号如max/min将下标放到正下方,这个问题折腾了很久, 下标不在正下方会带俩两个问题,一是有时候不够美观,二是会使得数学公式过长越界,需要换行.
解决方案:将符号转换为数学符号, \mathop{符号}
\[ \mathop{min}_G \mathop{max}_D V (D,G) = E_{x\sim P_{data}}[logD(x)] + E_{x\sim p_x(z)}[log(1 - D(G(z)))] \]
效果:
\[
\mathop{min}_G \mathop{max}_D V (D,G) = E_{x\sim P_{data}}[logD(x)] + E_{x\sim p_x(z)}[log(1 - D(G(z)))]
\]
2. 公式过长,需要换行,然而换行会带来不美观的问题:符号之间加入 \!
\[ \mathop{min}_G \! \mathop{max}_D \! V\! (D,\! G) \! = \! E_{x\sim \! P_{data}}[logD(x)] \! + \! E_{x\sim p_x(z)}[log(1 \! - \!D(G(z)))] \]
效果:
\[
\mathop{min}_G \! \mathop{max}_D \! V\! (D,\! G) \! = \! E_{x\sim \! P_{data}}[logD(x)] \! + \! E_{x\sim p_x(z)}[log(1 \! - \!D(G(z)))]
\]