您知道如何让文本在标题页上居中吗?我的背景是居中的,所以我不明白为什么文本不是(它稍微偏右)。也许是因为我使用了 Berkeley 主题,该主题的侧边栏在左侧。谢谢]1
\documentclass{beamer}
\usepackage{textpos} % package for the positioning
\usepackage{graphicx}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usepackage{transparent}
\addtobeamertemplate{frametitle}{}{%
\begin{textblock*}{100mm}(-2.1cm,-1.6cm)
\includegraphics[height=1.6cm,width=1.6cm,keepaspectratio]{images/logo.jpg}
\end{textblock*}}
\addtobeamertemplate{frametitle}{}{%
\begin{textblock*}{15mm}(9.23cm,-1.62cm)
\textblockcolour{white}
\centering
\includegraphics[height=1.6cm,width=1.6cm,keepaspectratio]{images/sonaca.png}
\end{textblock*}}
\title{\textcolor{beige}{Development and characterization of a gradient structured material elaborated by direct deposition additive manufacturing}}
\author{Corongiu Chiara}
\date{\today}
\institute{University of Liege\\ Faculty of Applied Sciences}
% position the logo
\definecolor{uliege}{RGB}{000,112,127}
\definecolor{beige}{RGB}{230,230,225}
\definecolor{facsa}{RGB}{248,170,000}
\setbeamercolor{structure}{fg=uliege}
\usetheme{Berkeley}
\addtobeamertemplate{frametitle}{}{%
\begin{textblock*}{100mm}(-2.1cm,-1.6cm)
%\includegraphics[height=1.6cm,width=1.6cm,keepaspectratio]{images/logo.jpg}
\end{textblock*}}
\addtobeamertemplate{frametitle}{}{%
\begin{textblock*}{15mm}(9.23cm,-1.62cm)
\textblockcolour{white}
\centering
%\includegraphics[height=1.6cm,width=1.6cm,keepaspectratio]{images/sonaca.png}
\end{textblock*}}
\title{Development and characterization of a gradient structured material elaborated by direct deposition additive manufacturing}
\author{CORONGIU Chiara}
\date{\today}
% position the logo
\definecolor{uliege}{RGB}{000,112,127}
\definecolor{beige}{RGB}{230,230,225}
\definecolor{facsa}{RGB}{248,170,000}
\setbeamercolor{structure}{fg=uliege}
\begin{document}
%{
%\usebackgroundtemplate{{ \begin{picture}(0,250)
% \transparent{0.25} \includegraphics[width=\paperwidth]{images/uliege.jpg} \end{picture}}}
\begin{frame}[plain]
\maketitle
\small
\centering
\begin{tabular}[t]{@{}l@{\hspace{3pt}}p{.32\textwidth}@{}}
Supervisors: & Mertens A. \\
& Maurizi Enrici T. \\
& Marchal Y. \\
\end{tabular}%
\end{frame}
%}
\begin{frame}{The title of the frame}
hello
\end{frame}
\end{document}
答案1
您可以通过以下方式移动标题页的内容.5\beamersidebarwidth
:
\documentclass{beamer}
\usepackage{textpos} % package for the positioning
\usepackage{graphicx}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usepackage{transparent}
\addtobeamertemplate{frametitle}{}{%
\begin{textblock*}{100mm}(-2.1cm,-1.6cm)
\includegraphics[height=1.6cm,width=1.6cm,keepaspectratio]{images/logo.jpg}
\end{textblock*}}
\addtobeamertemplate{frametitle}{}{%
\begin{textblock*}{15mm}(9.23cm,-1.62cm)
\textblockcolour{white}
\centering
\includegraphics[height=1.6cm,width=1.6cm,keepaspectratio]{images/sonaca.png}
\end{textblock*}}
\title{\textcolor{beige}{Development and characterization of a gradient structured material elaborated by direct deposition additive manufacturing}}
\author{Corongiu Chiara}
\date{\today}
\institute{University of Liege\\ Faculty of Applied Sciences}
% position the logo
\definecolor{uliege}{RGB}{000,112,127}
\definecolor{beige}{RGB}{230,230,225}
\definecolor{facsa}{RGB}{248,170,000}
\setbeamercolor{structure}{fg=uliege}
\usetheme{Berkeley}
\addtobeamertemplate{frametitle}{}{%
\begin{textblock*}{100mm}(-2.1cm,-1.6cm)
%\includegraphics[height=1.6cm,width=1.6cm,keepaspectratio]{images/logo.jpg}
\end{textblock*}}
\addtobeamertemplate{frametitle}{}{%
\begin{textblock*}{15mm}(9.23cm,-1.62cm)
\textblockcolour{white}
\centering
%\includegraphics[height=1.6cm,width=1.6cm,keepaspectratio]{images/sonaca.png}
\end{textblock*}}
\title{Development and characterization of a gradient structured material elaborated by direct deposition additive manufacturing}
\author{CORONGIU Chiara}
\date{\today}
% position the logo
\definecolor{uliege}{RGB}{000,112,127}
\definecolor{beige}{RGB}{230,230,225}
\definecolor{facsa}{RGB}{248,170,000}
\setbeamercolor{structure}{fg=uliege}
\begin{document}
%{
%\usebackgroundtemplate{{ \begin{picture}(0,250)
% \transparent{0.25} \includegraphics[width=\paperwidth]{images/uliege.jpg} \end{picture}}}
\begin{frame}[plain]
\hspace*{-.5\beamersidebarwidth}\begin{minipage}{\textwidth}
\maketitle
\small
\centering
\begin{tabular}[t]{@{}l@{\hspace{3pt}}p{.32\textwidth}@{}}
Supervisors: & Mertens A. \\
& Maurizi Enrici T. \\
& Marchal Y. \\
\end{tabular}%
\end{minipage}
\end{frame}
%}
\begin{frame}{The title of the frame}
hello
\end{frame}
\end{document}