1

My (hopefully) last problem until I get that presentation layout done:

enter image description here

It's all looking great apart from the fact that my column-environment missed the memo that there's something above it and that it doesn't have as much space (without the tikz picture), it centres everything perfectly on the slide, but now it's assuming it got the already occupied space above as well.

I have tried the past hour, and a tabular environment and a minipage environment fails as well at this task. One option is to tell itemize to start at the top and hard code the image, but that's not my preferred option.

MWE:

\documentclass{beamer}

\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{svg}
%\usepackage{gensymb}
%\usepackage{siunitx}

%\sisetup {
    %locale = DE,
    %per-mode = symbol
%}

% THEME AND COLOR SETUP
\usetheme{CambridgeUS}
\usecolortheme[RGB={205,0,0}]{structure}
\setbeamertemplate{items}[default]
\setbeamertemplate{sections/subsections in toc}[square]

\newcommand{\quoted}[1]{
    \glqq#1\grqq
}
\date{02. Juli 2018}

\usepackage{tikz}
\usetikzlibrary{chains, positioning, shapes.symbols}
\usepackage{etoolbox}

\tikzset{start/.style = {signal, draw=#1, fill=#1!30,
             text width=23mm, text=black, minimum height=23mm, font=\tiny, text depth=20mm,text height=5mm,
             signal pointer angle=150, on chain},
         cont/.style = {start=#1, signal from=west, text=black}
        }


\mode<presentation>{}

\begin{document}
\beamertemplatenavigationsymbolsempty
\begin{frame}
\frametitle{Wilhelm Schick}
\begin{tikzpicture}[
        node distance = 2mm,
         start chain = going right,
         %start/.style = {signal, draw=[1]{#1}, fill=[1]{#1}!30,
         %    text width=23mm, minimum height=23mm, font=\tiny,
          %   signal pointer angle=150, on chain},
          %cont/.style = {start=[1]{#1}, signal from=west}
             ]

        \node[start=darkred!80!black] {\bfseries
                 Meldebogen\\
                 \normalfont
                };
        \node[cont=gray!60!white] {\bfseries
                 Anklage\\ 
             };
        \node[cont=gray!60!white] {\bfseries
            Beweisaufnahme\\
            \normalfont
             };
        \node[cont=gray!60!white] {\bfseries
                 Urteil\\
                  \normalfont
                  };
        \end{tikzpicture}
        \begin{columns}
            \begin{column}{.4\textwidth}
                \begin{itemize}[<+->]
            \item Ortsgruppenamtsleiter der NSDAP 
            \item Kreisabschnittsverwalter des NSLB
            \item Bef\"{o}rderung zum Rektor des Goethe-Gymnasiums
        \end{itemize} 
        \end{column}
        \begin{column}{.6\textwidth}
        \includegraphics[height=\textheight]{test.jpg}\\
    \end{column}
\end{columns}
\end{frame}

\end{document}
5
  • 2
    If you chose a smaller height for the image, such as 0.45\textheight, the image could fit onto the remaining part of the slide. The text will be vertically centered with respect to the image and thus also fit. You could then also make the image column narrower and the text column wider.
    – leandriis
    Commented Jun 28, 2018 at 15:37
  • I don't understand which layout you want to get. Commented Jun 28, 2018 at 15:42
  • \begin{columns}[T]? Commented Jun 28, 2018 at 16:25
  • @UlrikeFischer I always though that \textheight referred to the actual text height within the container/environment. This can't be though, because it just flows out of the boundary of the column (or the column boundaries aren't adjusted to the actual bottom of the slide)
    – Narusan
    Commented Jun 28, 2018 at 16:28
  • 2
    @Narusan \textheight is the space between the headline and the footline. It does not take into account the frametitle nor other elements on the frame like your tikz diagram. Commented Jun 28, 2018 at 19:24

1 Answer 1

4

In the present case \textheight equals to the space between the headline and the footline:

enter image description here

The space required by the frametitle or other content of your from is not included in the calculation of \textheight.

Workaround 1:

As leandriis already suggested in comment, you could reduce the size of your image. This will vertically centre the text in your first column with your image:

\documentclass{beamer}

\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{svg}
%\usepackage{gensymb}
%\usepackage{siunitx}

%\sisetup {
    %locale = DE,
    %per-mode = symbol
%}

% THEME AND COLOR SETUP
\usetheme{CambridgeUS}
\usecolortheme[RGB={205,0,0}]{structure}
\setbeamertemplate{items}[default]
\setbeamertemplate{sections/subsections in toc}[square]

\newcommand{\quoted}[1]{
    \glqq#1\grqq
}
\date{02. Juli 2018}

\usepackage{tikz}
\usetikzlibrary{chains, positioning, shapes.symbols}
\usepackage{etoolbox}

\tikzset{start/.style = {signal, draw=#1, fill=#1!30,
             text width=23mm, text=black, minimum height=23mm, font=\tiny, text depth=20mm,text height=5mm,
             signal pointer angle=150, on chain},
         cont/.style = {start=#1, signal from=west, text=black}
        }


\mode<presentation>{}

\begin{document}
\beamertemplatenavigationsymbolsempty
\begin{frame}
\frametitle{Wilhelm Schick}
\begin{tikzpicture}[
        node distance = 2mm,
         start chain = going right,
         %start/.style = {signal, draw=[1]{#1}, fill=[1]{#1}!30,
         %    text width=23mm, minimum height=23mm, font=\tiny,
          %   signal pointer angle=150, on chain},
          %cont/.style = {start=[1]{#1}, signal from=west}
             ]

        \node[start=darkred!80!black] {\bfseries
                 Meldebogen\\
                 \normalfont
                };
        \node[cont=gray!60!white] {\bfseries
                 Anklage\\ 
             };
        \node[cont=gray!60!white] {\bfseries
            Beweisaufnahme\\
            \normalfont
             };
        \node[cont=gray!60!white] {\bfseries
                 Urteil\\
                  \normalfont
                  };
        \end{tikzpicture}
        \begin{columns}
            \begin{column}{.4\textwidth}
                \begin{itemize}[<+->]
            \item Ortsgruppenamtsleiter der NSDAP 
            \item Kreisabschnittsverwalter des NSLB
            \item Bef\"{o}rderung zum Rektor des Goethe-Gymnasiums
        \end{itemize} 
        \end{column}
        \begin{column}{.25\textwidth}
        \includegraphics[width=\textwidth]{example-image-10x16}\\
    \end{column}
\end{columns}
\end{frame}

\end{document}

Workaround 2:

If you are OK with parts of the picture cut off, a top alignment of the columns could improve the result a little:

\documentclass{beamer}

\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{svg}
%\usepackage{gensymb}
%\usepackage{siunitx}

%\sisetup {
    %locale = DE,
    %per-mode = symbol
%}

% THEME AND COLOR SETUP
\usetheme{CambridgeUS}
\usecolortheme[RGB={205,0,0}]{structure}
\setbeamertemplate{items}[default]
\setbeamertemplate{sections/subsections in toc}[square]

\newcommand{\quoted}[1]{
    \glqq#1\grqq
}
\date{02. Juli 2018}

\usepackage{tikz}
\usetikzlibrary{chains, positioning, shapes.symbols}
\usepackage{etoolbox}

\tikzset{start/.style = {signal, draw=#1, fill=#1!30,
             text width=23mm, text=black, minimum height=23mm, font=\tiny, text depth=20mm,text height=5mm,
             signal pointer angle=150, on chain},
         cont/.style = {start=#1, signal from=west, text=black}
        }


\mode<presentation>{}

\begin{document}
\beamertemplatenavigationsymbolsempty
\begin{frame}
\frametitle{Wilhelm Schick}
\begin{tikzpicture}[
        node distance = 2mm,
         start chain = going right,
         %start/.style = {signal, draw=[1]{#1}, fill=[1]{#1}!30,
         %    text width=23mm, minimum height=23mm, font=\tiny,
          %   signal pointer angle=150, on chain},
          %cont/.style = {start=[1]{#1}, signal from=west}
             ]

        \node[start=darkred!80!black] {\bfseries
                 Meldebogen\\
                 \normalfont
                };
        \node[cont=gray!60!white] {\bfseries
                 Anklage\\ 
             };
        \node[cont=gray!60!white] {\bfseries
            Beweisaufnahme\\
            \normalfont
             };
        \node[cont=gray!60!white] {\bfseries
                 Urteil\\
                  \normalfont
                  };
        \end{tikzpicture}
        \begin{columns}[T]
            \begin{column}{.4\textwidth}
                \begin{itemize}[<+->]
            \item Ortsgruppenamtsleiter der NSDAP 
            \item Kreisabschnittsverwalter des NSLB
            \item Bef\"{o}rderung zum Rektor des Goethe-Gymnasiums
        \end{itemize} 
        \end{column}
        \begin{column}{.55\textwidth}
        \includegraphics[height=\textheight]{example-image}\\
    \end{column}
\end{columns}
\end{frame}

\end{document}

Workaround 3:

Use another layout. In the present form, the headline and tikz diagram occupy about half of the slide and the rest of the content looks squeezed into the little remaining space.

My suggestion (quick and dirty mockup):

enter image description here

This layout could work if you just take the headlines from Top-Align Text in TikZ Node. @marmot was so kind to implement this in https://chat.stackexchange.com/transcript/message/45382224#45382224

2
  • According to this question tex.stackexchange.com/questions/438390/… I would assume that they will be more text in the arrows - and I would make two slides and not press everything into one. Commented Jun 28, 2018 at 16:08
  • @UlrikeFischer Oh, thanks for the link! OK, so much text text will never fit, but maybe the just the headline could work.. Commented Jun 28, 2018 at 16:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .