MakeIndex, Nomenclature, Glossaries and Acronyms ⇒ Create index entries in beamer with 2 columns
Create index entries in beamer with 2 columns
the following code generates index entries for latex beamer.
\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}
QUESTION:
How do I need to modify this code such that the index entries are in two columns in the end of the beamer presentation?
Thanks
Marcus
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Create index entries in beamer with 2 columns
Code: Select all
\documentclass{beamer}
\usepackage{multicol}
\usepackage{makeidx}
\newenvironment{theindex}{%
\let\item\par % definitions for subitem etc
\begin{multicols}{2}
}{\end{multicols}}
\newcommand\indexspace{}
\makeindex
\begin{document}
\begin{frame}{test 1}
\index{Laplace}Laplace transform is... \LaTeXe\ can make you happy!
\index{Test}
\index{A}\index{B}\index{C}\index{D}\index{E}\index{F}
\end{frame}
\begin{frame}{test 2}
\printindex
\end{frame}
\end{document}
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Create index entries in beamer with 2 columns
I also checked my initial request as "solved".
Marcus