我正在使用 IguanaTex 和 Powerpoint 来演示我的论文,但我无法引用方程式。谢谢。
\documentclass{article}
\usepackage{empheq,amsmath}
\usepackage[brazil]{babel}
\usepackage{bm}
\usepackage{xcolor}
\pagestyle{empty}
\begin{document}
\color{yellow}
\begin{equation} \label{T1}
l = \log \int f_{\bm{Y}|\textbf{b}}(\bm{y}|\textbf{b})f_U({b})db = \log f_{\bm{Y}}(\bm{y}).
\end{equation}
Desta forma,
\begin{eqnarray} \label{EqVero}
\begin{aligned}
\frac{\partial l}{\partial \beta} &=\frac{\partial}{\partial \beta} \int f_{\mathbf{Y} \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b}) f_{U}(\mathbf{b}) d_\mathbf{b} / f_{\mathbf{Y}}(\mathbf{y}) \\
&=\int\left[\frac{\partial}{\partial \beta} f_{Y \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b})\right] f_{\mathbf{U}}(\mathbf{b}) d_\mathbf{b} / f_{\mathbf{Y}}(\mathbf{y}),
\end{aligned}
\end{eqnarray}
porque $f_U(\bm{b})$ não envolve $\bm{\beta}$. Porém,
\begin{equation*}
\begin{aligned}
\frac{\partial}{\partial \boldsymbol{\beta}} f_{\mathbf{Y} \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b}) &=\left(\frac{1}{f_{\mathbf{Y} \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b})} \frac{\partial f_{\mathbf{Y} \mid \mathbf{b}}\left(\mathbf{y} \mid \mathbf{b}\right)}{\partial \boldsymbol{\beta}}\right) f_{\mathbf{Y} \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b})
\vspace{17cm}\\
&=\frac{\partial \log f_{\mathbf{Y} \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b})}{\partial \boldsymbol{\beta}} f_{\mathbf{Y} \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b}),
\end{aligned}
\end{equation*}
\noindent então, podemos reescrever \eqref{EqVero} e \eqref{T1}
\begin{eqnarray*}
\begin{aligned}
\frac{\partial l}{\partial \beta} &=\int \frac{\partial \log f_{\mathbf{Y} \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b})}{\partial \boldsymbol{\beta}} f_{\mathbf{Y} \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b}) f_{\mathbf{U}}(\mathbf{b}) d_\mathbf{b} / f_{\mathbf{Y}}(\mathbf{y}) \\
&=\int \frac{\partial \log f_{\mathbf{Y} \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b})}{\partial \boldsymbol{\beta}} f_{\mathbf{U} \mid \mathbf{y}}(\mathbf{b} \mid \mathbf{y}) d_\mathbf{b}.
\end{aligned}
\end{eqnarray*}
\end{document}
答案1
我刚刚尝试了你的代码,它运行得很好。为了清楚地看到结果,我注释掉了将页面颜色设为黄色的行:
\documentclass{article}
\usepackage{empheq,amsmath}
\usepackage[brazil]{babel}
\usepackage{bm}
\usepackage{xcolor}
\pagestyle{empty}
\begin{document}
%\color{yellow}
\begin{equation} \label{T1}
l = \log \int f_{\bm{Y}|\textbf{b}}(\bm{y}|\textbf{b})f_U({b})db = \log f_{\bm{Y}}(\bm{y}).
\end{equation}
Desta forma,
\begin{eqnarray} \label{EqVero}
\begin{aligned}
\frac{\partial l}{\partial \beta} &=\frac{\partial}{\partial \beta} \int f_{\mathbf{Y} \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b}) f_{U}(\mathbf{b}) d_\mathbf{b} / f_{\mathbf{Y}}(\mathbf{y}) \\
&=\int\left[\frac{\partial}{\partial \beta} f_{Y \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b})\right] f_{\mathbf{U}}(\mathbf{b}) d_\mathbf{b} / f_{\mathbf{Y}}(\mathbf{y}),
\end{aligned}
\end{eqnarray}
porque $f_U(\bm{b})$ não envolve $\bm{\beta}$. Porém,
\begin{equation*}
\begin{aligned}
\frac{\partial}{\partial \boldsymbol{\beta}} f_{\mathbf{Y} \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b}) &=\left(\frac{1}{f_{\mathbf{Y} \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b})} \frac{\partial f_{\mathbf{Y} \mid \mathbf{b}}\left(\mathbf{y} \mid \mathbf{b}\right)}{\partial \boldsymbol{\beta}}\right) f_{\mathbf{Y} \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b})
\vspace{17cm}\\
&=\frac{\partial \log f_{\mathbf{Y} \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b})}{\partial \boldsymbol{\beta}} f_{\mathbf{Y} \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b}),
\end{aligned}
\end{equation*}
\noindent então, podemos reescrever \eqref{EqVero} e \eqref{T1}
\begin{eqnarray*}
\begin{aligned}
\frac{\partial l}{\partial \beta} &=\int \frac{\partial \log f_{\mathbf{Y} \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b})}{\partial \boldsymbol{\beta}} f_{\mathbf{Y} \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b}) f_{\mathbf{U}}(\mathbf{b}) d_\mathbf{b} / f_{\mathbf{Y}}(\mathbf{y}) \\
&=\int \frac{\partial \log f_{\mathbf{Y} \mid \mathbf{b}}(\mathbf{y} \mid \mathbf{b})}{\partial \boldsymbol{\beta}} f_{\mathbf{U} \mid \mathbf{y}}(\mathbf{b} \mid \mathbf{y}) d_\mathbf{b}.
\end{aligned}
\end{eqnarray*}
\end{document}