1

I try to build an index in two columns at the end of my slides. To do so, I use the definitions from Create index entries in beamer with 2 columns (latex-community.org):

\documentclass{beamer} 
\usepackage{makeidx} 
\makeindex 
\newenvironment{theindex} 
 {\let\item\par %definitions for subitem etc 
 }{} 
\newcommand\indexspace{} 

\begin{document} 

\begin{frame}{test 1} 
\index{Laplace}Laplace transform is... \LaTeXe\ can make you happy! 
\index{Test} 
\end{frame} 

\begin{frame}{test 2} 
\printindex \end{frame} 
\end{document}

However, sometimes the index entry including the page numbers fits in one line, but nevertheless LaTeX makes an empty line after the entry. It looks pretty ugly... What can I do to avoid the empty lines?

closed as too localized by Marco Daniel, egreg, lockstep, Joseph Wright Apr 14 '12 at 22:09

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.