File tree Expand file tree Collapse file tree 1 file changed +26
-18
lines changed Expand file tree Collapse file tree 1 file changed +26
-18
lines changed Original file line number Diff line number Diff line change @@ -34,23 +34,6 @@ \subsection{一类离散时间复值Hopf\/ield神经网络的分析与综合}
3434\right .
3535\end {equation }
3636
37- 如果需要对公式的子公式进行编号,则使用\lstinline {subnumcases}环境:
38- \ begin{lstlisting}
39- \begin{subnumcases}{\label{w} w\equiv}
40- 0 & $c = d = 0$\label{wzero}\\
41- \sqrt{|c|}\,\sqrt{\frac{1 + \sqrt{1+(d/c)^2}}{2}} & $|c| \geq |d|$ \\
42- \sqrt{|d|}\,\sqrt{\frac{|c/d| + \sqrt{1+(c/d)^2}}{2}} & $|c| < |d|$
43- \end{subnumcases}
44- \end {lstlisting }
45- 上述代码输出如下:
46- \begin {subnumcases }{\label {w } w\equiv }
47- 0 & $ c = d = 0 $ \label {wzero }\\
48- \sqrt {|c|}\, \sqrt {\frac {1 + \sqrt {1+(d/c)^2}}{2}} & $ |c| \geq |d|$ \\
49- \sqrt {|d|}\, \sqrt {\frac {|c/d| + \sqrt {1+(c/d)^2}}{2}} & $ |c| < |d|$
50- \end {subnumcases }
51-
52- \equref {w }中,\lstinline {label:w}为整个公式的编号,\lstinline {label:wzero}为子公式的编号。
53-
5437% 条标题
5538\subsection {一类连续复值 Hopf\/ ield 神经网络 }
5639
@@ -316,4 +299,29 @@ \section{表格绘制示例}
316299% 证明环境
317300\begin {proof }
318301以下是一段无意义文字:\lipsum [5]
319- \end {proof }
302+ \end {proof }
303+
304+ 如果需要对公式的子公式进行编号,则使用\lstinline {subeqnarray}环境:
305+ \ begin{lstlisting}
306+ \begin{subeqnarray}
307+ \label{eqw}
308+ \slabel{eq0}
309+ x & = & a \times b \\
310+ \slabel{eq1}
311+ & = & z + t\\
312+ \slabel{eq2}
313+ & = & z + t
314+ \end{subeqnarray}
315+ \end {lstlisting }
316+ 上述代码输出如下:
317+ \begin {subeqnarray }
318+ \label {eqw }
319+ \slabel {eq0}
320+ x & = & a \times b \\
321+ \slabel {eq1}
322+ & = & z + t\\
323+ \slabel {eq2}
324+ & = & z + t
325+ \end {subeqnarray }
326+
327+ \equref {eqw }中,\lstinline {eqw}为整个公式的标签,\lstinline {slabel}为子公式的标签。
You can’t perform that action at this time.
0 commit comments