Skip to content

Commit

Permalink
document beamerouterthemedefault.sty
Browse files Browse the repository at this point in the history
  • Loading branch information
zohooo committed May 16, 2015
1 parent 69dcdc3 commit d5d8e98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions beamer/themes/outer/beamerouterthemedefault.sty
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
%% % -*- coding: utf-8 -*-
% Copyright 2007 by Till Tantau
%
% This file may be distributed and/or modified
Expand Down Expand Up @@ -148,6 +149,8 @@

% Frame title: default

%% 在 \sty{beamerbaseframe} 的 \env{beamer@frameslide} 环境的定义中,在插入 |frametitle| 模板前有个空白 |\vbox{}|。
%% 因此 |frametitle| 上面会有行间距空白。在背景颜色非空时很难看,所以要用 \cs{nointerlineskip} 去掉这个多余空白。
\defbeamertemplate*{frametitle}{default}[1][left]
{
\ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}%
Expand Down
2 changes: 1 addition & 1 deletion beamercode.tex
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,5 @@
\addstyle[/themes/font]{fontthemedefault}
\addstyle[/themes/color]{colorthemedefault}
\addstyle[/themes/inner]{innerthemedefault}
\addstyle[/themes/outer]{outerthemedefault}
\addmdstyle[/themes/outer]{outerthemedefault}
\end{document}

0 comments on commit d5d8e98

Please sign in to comment.