큰 수학 방정식이 차지하는 공간 줄이기

큰 수학 방정식이 차지하는 공간 줄이기

내 파일에는 몇 가지 큰 방정식이 있는데 공간을 많이 차지합니다. 크기를 줄이는 데 도움을 주세요. 이미 \declaremathsizes를 사용해 보았지만 수학 글꼴 크기만 줄어듭니다. 필요한 공간은 여기에 나와 있습니다.

\documentclass[12pt,twocolumn,headings=normal]{article}
\usepackage{fullpage}
\usepackage{amsmath}
%\DeclareMathSizes{12}{1}{1}{1}
\begin{document}
this is the problem equation..
\begin{equation}
P^{bb}_{g}(n,p)=\begin{cases}
0, & \text{if $n=0$}.\\
0, & \text{if $n=1$}.\\
p*P^{bb}_{g}(n-1,p)+\\
(1-p)^2+p*(1-p) \\
*P^{bb}_{g}(n-2,p) , & \text{if $n \geq 2$}.\nonumber
\end{cases}
\end{equation}

i have many like this and it eats lot of space.

\end{document}

답변1

가능한 해결책 중 하나.

여기에 이미지 설명을 입력하세요

암호

\documentclass[12pt,twocolumn,headings=normal]{article}
\usepackage{fullpage}
\usepackage{amsmath}
%\DeclareMathSizes{12}{1}{1}{1}
\begin{document}

\begin{equation*}
P^{bb}_{g}(n,p)=\begin{cases}
0, & \text{if $n=0~\&~1$}.\\
p*P^{bb}_{g}(n-1,p) +(1-p)^2 &\\ 
{}+p*(1-p) *P^{bb}_{g}(n-2,p) , & \text{if $n \geq 2$}.
\end{cases}
\end{equation*}

\end{document}

답변2

여기에 이미지 설명을 입력하세요

\documentclass[12pt,twocolumn,headings=normal]{article}
\usepackage{fullpage}
\usepackage{amsmath}
%\DeclareMathSizes{12}{1}{1}{1}
\begin{document}
this is the problem equation..

If $n \geq 2$ then
\begin{multline*}
P^{bb}_{g}(n,p)=*P^{bb}_{g}(n-1,p)+{}\\
(1-p)^2+p*(1-p) 
*P^{bb}_{g}(n-2,p)
\end{multline*}
Otherwise $P^{bb}_{g}(n,p)=0$

i have many like this and it eats lot of space.



\end{document}

관련 정보