\documentclass{article}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{setspace}
\usepackage{color}
\usepackage[hmarginratio=2:2]{geometry}
\usepackage{epstopdf}
\usepackage{afterpage}
\usepackage{ upgreek }
\usepackage{mathtools}
\begin{document}
\begin{equation}
\frac{\lim_{\Updelta t\to0} P\bigg[\splitfrac{
\text{an individual fails in the interval} (t, t+\Updelta t),}{\text{given the individual has survived to t} }\bigg]}
{\Updelta t}
\end{equation}
\end{document}
答案1
我不明白为什么不在等式中使用表格:
\documentclass{article}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{setspace}
\usepackage{color}
\usepackage[hmarginratio=2:2]{geometry}
\usepackage{epstopdf}
\usepackage{afterpage}
\usepackage{ upgreek }
\usepackage{mathtools}
\begin{document}
\begin{equation}
\frac{\lim_{\Delta t\to 0} P\biggl[
\begin{tabular}{c}
an individual fails in the interval $(t, t+\Delta t)$,\\
given the individual has survived to t
\end{tabular}
\biggr]}
{\Delta t}
\end{equation}
\end{document}
输出:
请随时让我删除...(我不知道分子和分裂分数是什么)
答案2
宏\substack
有帮助,文本自动居中,尺寸也更小。括号的大小由\left
和自动选择\right
。
\documentclass{article}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage{upgreek}
\begin{document}
\begin{equation}
\frac{%
\lim_{\Updelta t\to0}
P\left[
\substack{%
\text{an individual fails in the interval} (t, t+\Updelta t),\\
\text{given the individual has survived to t}
}
\right]
}
{\Updelta t}
\end{equation}
\end{document}