Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I do not know what is wrong but the top alignment of the itemize environments in the two columns are different. I could not find a reason for this.

\documentclass[10pt,fleqn,t]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{kpfonts}
\begin{document}
\begin{frame}{titre}
\begin{columns}%
\begin{column}[t]{0.45\textwidth}%
text text text
\begin{itemize}
\item 1
\item 2
\end{itemize}
\end{column}
\begin{column}[t]{0.45\textwidth}%
text text text
\begin{itemize}
\item 1
\item 2
\end{itemize}
\end{column}
\end{columns}
\end{frame}
\end{document}
share|improve this question
1  
possible duplicate of Beamer: Top-aligning columns within a top-aligned frame –  lockstep Jul 12 '11 at 23:56
    
Although the linked solution is surely not ideal (although it works.) It seems there's something wrong with beamer here. –  Alan Munn Jul 13 '11 at 0:04
    
I've added an answer to linked solution with a possible fix for this problem. I repported it to beamer's developers some month ago and they proposed a still 'on hold' solution. –  Ignasi Jul 13 '11 at 9:20
    
@Ignasi the solution you give to the other question doesn't actually work for this problem. So maybe this question isn't a duplicate after all. –  Alan Munn Jul 13 '11 at 15:49
    
@Alan, please look at my answer here. I think it works. I'm using beamer-development version with miktex 2.9. –  Ignasi Jul 14 '11 at 7:20

1 Answer 1

up vote 2 down vote accepted

Similar behaviour was reported as Issue #78 in Beamer's development repository and also in question Beamer: Top-aligning columns within a top-aligned frame. The temporary solution proposed at former is equivalent to include some lines into your preamble

\documentclass[10pt,fleqn,t]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{kpfonts}

\makeatletter
\define@key{beamerframe}{t}[true]{% top
  \beamer@frametopskip=.2cm plus .5\paperheight\relax%
  \beamer@framebottomskip=0pt plus 1fill\relax%
  \beamer@frametopskipautobreak=\beamer@frametopskip\relax%
  \beamer@framebottomskipautobreak=\beamer@framebottomskip\relax%
% \def\beamer@initfirstlineunskip{%
%   \def\beamer@firstlineitemizeunskip{%
%     \vskip-\partopsep\vskip-\topsep\vskip-\parskip%
%     \global\let\beamer@firstlineitemizeunskip=\relax}%
%   \everypar{\global\let\beamer@firstlineitemizeunskip=\relax}}
  \def\beamer@initfirstlineunskip{}%
}
\makeatother

\begin{document}
\begin{frame}{titre}
  \begin{columns}%
    \begin{column}[t]{0.45\textwidth}%
      text text text
      \begin{itemize}
        \item 1
        \item 2
      \end{itemize}
    \end{column}
    \begin{column}[t]{0.45\textwidth}%
      text text text
      \begin{itemize}
        \item 1
        \item 2
      \end{itemize}
    \end{column}
  \end{columns}
\end{frame}
\end{document}

The result is:

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.