Описание элемента метки выходит за пределы блока

Описание элемента метки выходит за пределы блока
\documentclass{beamer}
\usetheme{Copenhagen}
\begin{document}
\begin{frame}{Proton Pump Inhibitor use and the Risk of Chronic Kidney Disease }
\framesubtitle{Benjamin Lazarus et al, in JAMA Intern Med. 2016;176(2)  }
\begin{block}{Result}
    \begin{description}
        \item [Hazard ratio {\textit{unadjusted analysis}}:]1.45 95\% CI: (1.11-1.90)
        \item [Hazard ratio \textit{adjusted} analysis for demographic, socioeconomic, and clinical variables:]1.5 95\% CI : (1.14-1.96)
        \item [Hazard ratio for PPI verses H2RA:] 1.35 95\% CI : 1.01-1.91  
    \end{description}
\end{block}
\end{frame}
\end{document}

Пункт 2 переполняет блок. Я пытался использовать \\его, чтобы разбить на две строки, но это заканчивается ошибкой. Пожалуйста, помогите.

решение1

Окончательным решением было бы сократить этикетку. «Коэффициент опасности» — избыточная информация на каждой этикетке, почему бы не перенести ее, например, в заголовок блока?


Я думаю, в этом случае проще всего было бы просто не использовать descriptionсреду, а сделать разрыв линии вручную.

\documentclass{beamer}
\usetheme{Copenhagen}
\begin{document}
\begin{frame}{Proton Pump Inhibitor use and the Risk of Chronic Kidney Disease }
\framesubtitle{Benjamin Lazarus et al, in JAMA Intern Med. 2016;176(2)  }
\begin{block}{Result}
    {\usebeamercolor[fg]{item} Hazard ratio {\textit{unadjusted analysis}}:} 1.45 95\% CI: (1.11-1.90)\\[0.2cm]
    {\usebeamercolor[fg]{item} Hazard ratio \textit{adjusted} analysis for demographic, socioeconomic, and clinical variables:} 1.5 95\% CI: (1.14-1.96)\\[0.2cm]
    {\usebeamercolor[fg]{item} Hazard ratio for PPI verses H2RA:} 1.35 95\% CI: 1.01-1.91
\end{block}
\end{frame}
\end{document}

введите описание изображения здесь

решение2

Вы могли бы просто написать здесь вторую строку:

% arara: pdflatex

\documentclass{beamer}
\usetheme{Copenhagen}
\usepackage{siunitx}
\sisetup{range-phrase=--}

\begin{document}
\begin{frame}{Proton Pump Inhibitor use and the Risk of Chronic Kidney Disease }
\framesubtitle{Benjamin Lazarus et al, in JAMA Intern Med. 2016;176(2)}
\begin{block}{Result}
    \begin{description}
        \item [Hazard ratio \emph{unadjusted analysis}:]1.45 \SI{95}{\percent} CI: (\numrange{1.11}{1.90})
        \item [Hazard ratio \emph{adjusted} analysis for demographic, socioeconomic,]
        \item [and clinical variables:]1.5 \SI{95}{\percent} CI: (\numrange{1.14}{1.96})
        \item [Hazard ratio for PPI verses H2RA:] 1.35 \SI{95}{\percent} CI: (\numrange{1.01}{1.91})
    \end{description}
\end{block}
\end{frame}
\end{document}

Связанный контент