![Проектор: проблема с вертикальным выравниванием, элементы не отцентрированы](https://rvso.com/image/348630/%D0%9F%D1%80%D0%BE%D0%B5%D0%BA%D1%82%D0%BE%D1%80%3A%20%D0%BF%D1%80%D0%BE%D0%B1%D0%BB%D0%B5%D0%BC%D0%B0%20%D1%81%20%D0%B2%D0%B5%D1%80%D1%82%D0%B8%D0%BA%D0%B0%D0%BB%D1%8C%D0%BD%D1%8B%D0%BC%20%D0%B2%D1%8B%D1%80%D0%B0%D0%B2%D0%BD%D0%B8%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5%D0%BC%2C%20%D1%8D%D0%BB%D0%B5%D0%BC%D0%B5%D0%BD%D1%82%D1%8B%20%D0%BD%D0%B5%20%D0%BE%D1%82%D1%86%D0%B5%D0%BD%D1%82%D1%80%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D1%8B.png)
У меня макет, похожий на тот, что представлен ниже в MWE, и меня смущает пространство, оставленное содержимым рамки вверху, и пространство, оставленное внизу... Есть ли возможность расположить содержимое по центру?
МВЭ:
\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{positioning,calc}
\setbeamertemplate{navigation symbols}{}
\mode<presentation> {
\usetheme{Dresden}
}
\begin{document}
\section{some section}
\begin{frame}[c]
\begin{tikzpicture}[remember picture, every node/.style={inner sep=0,outer sep=0,align=left}]
\node[anchor=west] (A) at (0,0) {\includegraphics[width=2.5cm, height=1cm]{example-image}};
\node[right=0.75cm of A.east, anchor=west] (B) {{\Large \textbf{\alert{2007}}}};
\node [right=0.75cm of B.east, anchor=west] (C) {Some text here in\\a couple of lines};
\node [below=0.25cm of A.south, anchor=north] (D) {\includegraphics[width=2.5cm, height=1cm]{example-image}};
\node [right=0.75cm of D.east, anchor=west, text width=6.5cm] (E) {More and more text here\\also in a couple of lines};
\end{tikzpicture}
\begin{center}
\includegraphics[width=.6\linewidth, height=4.75cm]{example-image}
\end{center}
\end{frame}
\end{document}
Производство:
решение1
Окружение center
добавляет вертикальное пространство в конце, используйте \centering
вместо этого.
\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{positioning,calc}
\setbeamertemplate{navigation symbols}{}
\mode<presentation> {
\usetheme{Dresden}
}
\begin{document}
\section{some section}
\begin{frame}[c]
\begin{tikzpicture}[remember picture, every node/.style={inner sep=0,outer sep=0,align=left}]
\node[anchor=west] (A) at (0,0) {\includegraphics[width=2.5cm, height=1cm]{example-image}};
\node[right=0.75cm of A.east, anchor=west] (B) {{\Large \textbf{\alert{2007}}}};
\node [right=0.75cm of B.east, anchor=west] (C) {Some text here in\\a couple of lines};
\node [below=0.25cm of A.south, anchor=north] (D) {\includegraphics[width=2.5cm, height=1cm]{example-image}};
\node [right=0.75cm of D.east, anchor=west, text width=6.5cm] (E) {More and more text here\\also in a couple of lines};
\end{tikzpicture}
\bigskip
\centering
\includegraphics[width=.6\linewidth, height=4.75cm]{example-image}
\end{frame}
\end{document}