为什么长腿n后面的单词出现在下一行?
梅威瑟:
\documentclass[12pt]{beamer}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage[T1]{tipa}
\usepackage{tipx}
\usetheme{Frankfurt}
\usefonttheme{serif}
\usecolortheme{dolphin}
\newcommand{\mathnrleg}{\textnormal{\textnrleg}}
\begin{document}
\begin{frame}
\textcolor{blue}{\underline {Likelihood Ratio Method}}
\begin{itemize}
\item For a scalar parameter of interest $\theta$, the likelihood ratio statistic for testing the null hypothesis, $\text{H}_0$: $\theta$= $\theta_0$ versus $\text{H}_1$: $\theta$ $\neq$ $\theta_0$ is given as,\\
\vspace{-3mm}
\[
\Psi=2[l(\hat{\theta},\hat{\mathnrleg})-l(\theta_0, \tilde{\mathnrleg})]
\]\\
{where $l$ is the log likelihood function,\\
\mathnrleg is the vector of nuisance parameters,\\
($\hat{\theta}$,$\hat{\mathnrleg}$) is the maximum likelihood estimator of($\theta$,$\mathnrleg$),\\
$\tilde{\mathnrleg}$ is the restricted maximum likelihood estimator of $\mathnrleg$ under $\text {H}_0.$}
\end{itemize}
\end{frame}
\end{document}
答案1
我会这样做:
\documentclass[12pt]{beamer}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage[T1]{tipa}
\usepackage{tipx}
\usetheme{Frankfurt}
\usefonttheme{serif}
\usecolortheme{dolphin}
\newcommand{\mathnrleg}{\text{\textnrleg}}
\begin{document}
\begin{frame}{}{}
\begin{block}{Likelihood Ratio Method}
For a scalar parameter of interest $\theta$, the likelihood ratio
statistic for testing the null hypothesis,
$\text{H}_0\colon\theta=\theta_0$ versus
$\text{H}_1\colon\theta\neq\theta_0$ is given as,
\[
\Psi=2[l(\hat{\theta},\hat{\mathnrleg})-l(\theta_0,\tilde{\mathnrleg})]
\]
where
\begin{itemize}
\item $l$ is the log likelihood function,
\item $\mathnrleg$ is the vector of nuisance parameters,
\item $(\hat{\theta},\hat{\mathnrleg})$ is the maximum likelihood
estimator of $(\theta,\mathnrleg)$,
\item $\tilde{\mathnrleg}$ is the restricted maximum likelihood estimator
of $\mathnrleg$ under $\text{H}_0$.
\end{itemize}
\end{block}
\end{frame}
\end{document}