修复了首页主标题和副标题在同一行的问题

This commit is contained in:
laoyang
2022-05-13 16:35:03 +08:00
parent e37418815c
commit 3fb345984c
2 changed files with 7 additions and 2 deletions
BIN
View File
Binary file not shown.
+7 -2
View File
@@ -75,7 +75,7 @@
\defbeamertemplate{title page}{text}{%
\begin{center} %所有文字居中
\vspace{2.5cm} %标题距离banner的距离
\usebeamercolor[white]{title}\usebeamerfont*{title}\strut{}\texorpdfstring{\inserttitle}\par%字体颜色为白色
\usebeamercolor[white]{title}\usebeamerfont*{title}\strut{}\inserttitle\par%字体颜色为白色
\vspace{0.5cm}%副标题到主标题的距离
\usebeamercolor[white]{subtitle}\usebeamerfont{subtitle}\strut{}\insertsubtitle\par%字体为白色
\vspace{1.6cm}%作者到副标题的距离
@@ -102,7 +102,7 @@
%普通页面左下角信息,原模板代码
\setbeamertemplate{footline}{%
\hspace{0.8cm}
\usebeamercolor[fg]{title}\insertauthor\enspace\vrule width0.3pt\enspace\texorpdfstring{\inserttitle}%左下角作者信息和标题信息
\usebeamercolor[fg]{title}\insertauthor\enspace\vrule width0.3pt\enspace\inserttitle%左下角作者信息和标题信息
\vspace{0.04cm} %页脚到底部的距离
}
@@ -127,6 +127,11 @@
\footerlogo %右下角logo
}
\defbeamertemplate{headline}{empty}{
}%默认标题为空
%普通页面标题设置
\defbeamertemplate{frametitle}{frame}{%
\vspace{10pt}%