解决方法 1:

解决方法 1:

在我完成演示布局之前,这是我(希望)最后一个难题:

在此处输入图片描述

一切看起来都很棒,除了我的列环境错过了上面有东西并且没有那么多空间(没有 tikz 图片)的备忘录之外,它将所有内容完美地集中在幻灯片上,但现在它假设它也已经占用了上面的空间。

我尝试了一个小时,表格环境和小页面环境也未能完成这项任务。一个选项是让 itemize 从顶部开始,然后对图像进行硬编码,但这不是我的首选。

梅威瑟:

\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}

答案1

在本例中\textheight等于标题和页脚之间的空间:

在此处输入图片描述

您的框架标题或其他内容所需的空间是不是纳入计算\textheight

解决方法 1:

作为leandriis 已在评论中提出建议,您可以缩小图片的尺寸。这将使第一列中的文本与图片垂直居中:

\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}

解决方法 2:

如果您不介意图片的部分被截断,则列的顶部对齐可以稍微改善结果:

\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}

解决方法 3:

使用其他布局。在当前形式中,标题和 tikz 图表占据了幻灯片的大约一半,其余内容看起来挤在了剩余的一点空间中。

我的建议(快速而粗略的模型):

在此处输入图片描述

如果你只从以下网址获取标题,此布局可能会有效TikZ 节点中的顶部对齐文本。@marmot 非常友善地实现了这一点https://chat.stackexchange.com/transcript/message/45382224#45382224

相关内容