열의 미니페이지에 항목별 문제가 있습니다.

열의 미니페이지에 항목별 문제가 있습니다.

프레젠테이션 에 두 개의 칼럼을 만들려고 했는데 beamer분명히 에 문제가 있는 것 같습니다 itemize. 어떤 이유로 기둥이 같은 높이에서 시작하지 않는지 이해할 수 없습니다.

코드는 다음과 같습니다.

\documentclass[%
  hyperref={colorlinks=true,urlcolor=blue},%
  t,%
  aspectratio=169%
]{beamer}
\begin{document}
\begin{frame}
\frametitle{Introduction}
 \fbox{\begin{minipage}[t]{.5\textwidth}
  \begin{itemize}
   \item hallo  
  \end{itemize}
 \end{minipage}}%
 \fbox{\begin{minipage}[t]{.5\textwidth}
  hallo
 \end{minipage}}
\end{frame}
\end{document}

그리고 그 결과

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

그렇다면 문제는 어떻게 그들이 같은 높이에서 출발하도록 강제할 수 있느냐는 것입니다.

답변1

빠른 수정; 대신 T에 옵션 을 사용하십시오 minipage.

\documentclass[%
  hyperref={colorlinks=true,urlcolor=blue},%
  t,%
  aspectratio=169%
]{beamer}
\begin{document}
\begin{frame}
\frametitle{Introduction}
 \fbox{\begin{minipage}[T]{.5\textwidth}
  \begin{itemize}
   \item hallo  
  \end{itemize}
 \end{minipage}}%
 \fbox{\begin{minipage}[T]{.5\textwidth}
  hallo
 \end{minipage}}
\end{frame}
\end{document}

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

편집하다:

그리고 비머 솔루션은 다음을 사용합니다 columns.

\documentclass[%
  hyperref={colorlinks=true,urlcolor=blue},%
  t,%
  aspectratio=169%
]{beamer}
\begin{document}

\begin{frame}{Introduction}

\begin{columns}
\begin{column}[T]{0.5\textwidth}
\fbox{\begin{minipage}{\textwidth}%
  \begin{itemize}
   \item hallo
   \item hallo  
  \end{itemize}
\end{minipage}}%
\end{column}
\begin{column}[T]{0.5\textwidth}
\fbox{\begin{minipage}{\textwidth}
  hallo
\end{minipage}}
\end{column}
\end{columns}

\end{frame}

\end{document}

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

답변2

tabularx약간의 수동 조정이 필요합니까 ?

\documentclass[ hyperref={colorlinks=true,urlcolor=blue},%
                t,%
                aspectratio=169%
]{beamer}
\usepackage{tabularx}
\makeatletter
\newcommand*{\compress}{\@minipagetrue}
\makeatother
\newcolumntype{I}{ >{\compress\itemize}X<{\enditemize}}

\begin{document}
\begin{frame}
\frametitle{Introduction}
 \begin{tabularx}{\linewidth}{|I|X|}
 \hline
   \item hallo
   \item hallo
 &  \vspace*{-2pt}
  hallo    \\
  \hline
 \end{tabularx}
\end{frame}
\end{document}

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

관련 정보