
아래는 내 MWE이며 비머 프리젠테이션에서 긴 방정식을 정렬하고 싶지만 방정식의 뒷부분은 슬라이드에 표시되지 않습니다. 어떤 도움이라도 주시면 감사하겠습니다.
\documentclass{beamer}
\mode<presentation>
\usepackage{beamerthemesplit,graphics,graphicx,amssymb,amsmath,pgf,comment,hyperref}
\usepackage{breqn}
\usepackage[xcolor=pst]{pstricks}
\usepackage{pgfshade}
\usepackage[round]{natbib}
\usetheme{Warsaw}
\usefonttheme[onlylarge]{structuresmallcapsserif}
\setbeamercovered{highly dynamic}
\setbeamertemplate{background canvas}[vertical shading][bottom=red!10,top=blue!10]
\setbeamertemplate{footline}{%
\begin{beamercolorbox}{section in head/foot}
\vskip2pt\centerline{\textcolor[rgb]{0.45,0.45,0.45}{\insertshorttitle}}\vskip2pt
\end{beamercolorbox}%
}
\renewcommand{\bibsection}{\subsubsection*{\bibname } }
\begin{document}
\begin{frame}
\frametitle{Expected utility comparision at renewal}
%\vspace{-0.3cm}
The expected utility of retaining the LTCI policy is written as:
%\begin{equation}
%\begin{align*}
\begin{dmath}
EU_{i}^R= \sum_{t=0}^{T} \beta \left[u_{i}\left\{W_{i}-\sum_{s=1}^5 Q_{t,s}\times P_{s}\right\}+\sum_{s=1}^5 Q_{t,s} \left\{u_{i}\left.(W_{i}-max\left.(X_{t,s}-B_{t,s},0\right)\right)\right\}\right]
%\end{align*}
%\end{equation}
\end{dmath}
\end{frame}
\end{document}
답변1
두 가지 선택이 있습니다:
- 방정식의 글꼴 크기를 크게 줄입니다(권장되지 않음).
- 방정식을 두 줄로 나눕니다.
\documentclass{beamer}
\mode<presentation>
\usepackage{beamerthemesplit,graphics,graphicx,amssymb,amsmath,pgf,comment,hyperref}
\usepackage{breqn}
\usepackage[xcolor=pst]{pstricks}
\usepackage{pgfshade}
\usepackage[round]{natbib}
\usetheme{Warsaw}
\usefonttheme[onlylarge]{structuresmallcapsserif}
\setbeamercovered{highly dynamic}
\setbeamertemplate{background canvas}[vertical shading][bottom=red!10,top=blue!10]
\setbeamertemplate{footline}{%
\begin{beamercolorbox}{section in head/foot}
\vskip2pt\centerline{\textcolor[rgb]{0.45,0.45,0.45}{\insertshorttitle}}\vskip2pt
\end{beamercolorbox}%
}
\begin{document}
\begin{frame}
\frametitle{Expected utility comparision at renewal}
%\vspace{-0.3cm}
%\setlength{\noindent}
The expected utility of retaining the LTCI policy is written as:
\begin{multline*}
EU_{i}^R
= \sum_{t=0}^{T} \beta \left[u_{i}\left\{W_{i} -\sum_{s=1}^5 Q_{t,s}\times P_{s}\right\}\right. \\
+\left.\sum_{s=1}^5 Q_{t,s} \Bigl\{u_{i}\left(W_{i} - \max\left(X_{t,s}-B_{t,s},0\right)\right)\Bigr\}\right]
\end{multline*}
\end{frame}
\end{document}
편집하다:
방정식의 단어와 관련하여 max
: 연산자이므로 올바른 사용법은 다음과 같습니다.\max
교정기에 관하여:
- 중괄호 쌍
\left{
또는\right}
에는 앰퍼샌드나 파선이 포함되어서는 안 됩니다left[
.\right]
이러한 경우에 예를 들어 사용할 수 있지만\left[ ....\right. \\
다음 줄의 유사한 구성이 동일한 높이 중괄호를 가질 것이라는 보장은 없습니다(내부 내용에 따라 다르기 때문). - 쌍의 높이
\left...
, \right...`는 쌍 사이의 내용에 따라 달라집니다. 또한 앞/뒤에 작은 수평 공간을 추가합니다. - 괄호 사이의 내용과 관계없이 괄호의 높이는 , 등을 사용하여 수동으로 결정할 수 있습니다.
\big
문자\Big
(\bigg
)가 추가된 곳에l
괄호\bigl
는 왼쪽에 있고r
(\bigr)
는 오른쪽에 있음을 나타냅니다.
위의 MWE에서는 두 번째 방정식 줄의 중괄호 크기를 변경했습니다. 그러나 선택한 높이를 원하는 대로 변경할 수 있습니다.