Latex 如何在flalign中的\intertext中\label\subsection?(乳胶)

Latex 如何在flalign中的\intertext中\label\subsection?(乳胶),latex,Latex,我有一个flalign环境,所以列在整个页面上的对齐方式是相同的。我需要\subsections在flalign中,所以我使用了\intertext。我需要\label这些\subsections。这就是我失败的地方。它是\label在\subsection之后的第一个等式,但不是\subsection本身,否则会发生错误 图片: 当我尝试使用更多的flalign环境并在它们之间放置子部分时,它们没有以相同的方式对齐,而且看起来很容易识别 谢谢你的帮助 \begin{flalign} &\te

我有一个
flalign
环境,所以列在整个页面上的对齐方式是相同的。我需要
\subsection
s在
flalign
中,所以我使用了
\intertext
。我需要
\label
这些
\subsection
s。这就是我失败的地方。它是
\label
\subsection
之后的第一个等式,但不是
\subsection
本身,否则会发生错误

图片:

当我尝试使用更多的
flalign
环境并在它们之间放置子部分时,它们没有以相同的方式对齐,而且看起来很容易识别

谢谢你的帮助

\begin{flalign}
&\text{Značení:}&&X\sim\text{Exp($\lambda$)}&&
\\
&\文本{Parametry:}&&\lambda>0&&
\\
&\文本{Nosič:}&&X\in(0\infty)&&
\\
&\文本{Hustota:}&&f(x)=
\开始{cases}
\lambda e^{-\lambda x}&x>0
\\
0&x\leq 0
\结束{cases}
\\
&\文本{Distribučnífunkce:}&&F(x)=
\开始{cases}
1-e^{-\lambda x}&x>0
\\
0&x\leq 0
\结束{cases}&&
\\
&\文本{Středníhodnota:}&\ex=\frac{1}{\lambda}&&
\\
&\文本{Rozptyl:}&&\var X=\frac{1}{\lambda^2}&&
\\
\互文{\小节{Weibullovo rozdělení}}\标签{priloha:weibdist}
&\text{Značení:}&&X\sim\text{Weib($\alpha$,$\beta$)}&&
\\
&\text{Parametry:}&&\text{$\alpha$,$\beta>0$}&&
\\
&\文本{Nosič:}&&X\in\langle 0\infty)&&
\\
&\文本{Hustota:}&&f(x)=
\开始{cases}
\alpha\beta^\alpha x^{\alpha-1}e^{-(\beta x)^\alpha}&x\geq 0
\\
0&x<0
\结束{cases}&&
\\
&\文本{Distribučnífunkce:}&&F(x)=
\开始{cases}
1-e^{-(\beta x)^\alpha}&x\geq 0
\\
0&x<0
\结束{cases}
\\
&\文本{Středníhodnota:}&&E X=\frac{1}{\beta}\Gamma\左(1+\frac{1}{\alpha}\右)
\\
&\text{Rozptyl:}&\var X=\frac{1}{\beta^2}\left\lbrace\Gamma\left(1+\frac{2}{\alpha}\right)-\left[\Gamma\left(1+\frac{1}{\alpha}\right)\right]^2\right\rbrace
\\
\互文{\小节{Gama rozdělení}}}\标签{priloha:gammadist}
&\文本{Značení:}&&X\sim\Gamma(\alpha,\;\beta)&&
\\
&\文本{Parametry:}&\alpha,\\β>0
\\
&\文本{Nosič:}&&X\in(0\infty)
\\
&\文本{Hustota:}&&f(x)=
\开始{cases}
\frac{\alpha^\beta}{\Gamma(\beta)}x^{\beta-1}e^{-\alpha x}&x>0
\\
0&x\leq 0
\结束{cases}
\\
&\文本{Středníhodnota:}&\ex=\frac{\beta}{\alpha}
\\
&\文本{Rozptyl:}&&\var X=\frac{\beta}{\alpha^2}
\结束{flalign}

根据您展示的图像,我建议使用固定宽度的表格。这将允许您中断以下内容:

\documentclass[12pt,fleqn]{article}
\usepackage{amsmath}
\usepackage{array}
\begin{document}
\subsection{First part}

\noindent%
{%
\abovedisplayskip=-\baselineskip
\belowdisplayskip=-.5\baselineskip
\begin{tabular}{@{}p{.3\textwidth}@{}p{.7\textwidth}@{}}
First equation: & \begin{equation} a+b+c=d \end{equation}\\
Second equation: & \begin{equation} a+b+c=d \end{equation}\\
\end{tabular}
}

\subsection{Second part}
\label{sub:1}

\noindent%
{%
\abovedisplayskip=-\baselineskip
\belowdisplayskip=-.5\baselineskip
\begin{tabular}{@{}m{.3\textwidth}@{}m{.7\textwidth}@{}}
Next equation: & \begin{equation} a+b+c+45867+ddlk=d \end{equation}\\
Another equation: & \begin{equation} a+b+c+sdfsdf+565=d \end{equation}\\
\end{tabular}
}

Here alignment is working, but labeling not. Second part is \ref{sub:1}. It referes to 3th equation instead of subsection.
\end{document}

根据您展示的图像,我建议使用固定宽度的表格。这将允许您中断以下内容:

\documentclass[12pt,fleqn]{article}
\usepackage{amsmath}
\usepackage{array}
\begin{document}
\subsection{First part}

\noindent%
{%
\abovedisplayskip=-\baselineskip
\belowdisplayskip=-.5\baselineskip
\begin{tabular}{@{}p{.3\textwidth}@{}p{.7\textwidth}@{}}
First equation: & \begin{equation} a+b+c=d \end{equation}\\
Second equation: & \begin{equation} a+b+c=d \end{equation}\\
\end{tabular}
}

\subsection{Second part}
\label{sub:1}

\noindent%
{%
\abovedisplayskip=-\baselineskip
\belowdisplayskip=-.5\baselineskip
\begin{tabular}{@{}m{.3\textwidth}@{}m{.7\textwidth}@{}}
Next equation: & \begin{equation} a+b+c+45867+ddlk=d \end{equation}\\
Another equation: & \begin{equation} a+b+c+sdfsdf+565=d \end{equation}\\
\end{tabular}
}

Here alignment is working, but labeling not. Second part is \ref{sub:1}. It referes to 3th equation instead of subsection.
\end{document}

你能做一个吗?我会在我的问题下尝试。你能做一个吗?我会在我的问题下尝试。非常感谢。我试着使用表格,但它总是把我的表格放在页面的中间,而不是左边。不知怎么的,它在左边,所以很好。非常感谢。我试着使用表格,但它总是把我的表格放在页面的中间,而不是左边。这个在左边,所以它很好。