feat: support `\thanks` in title page (#45)
This commit is contained in:
parent
be0d8f23c7
commit
de3db5e517
|
@ -130,6 +130,8 @@
|
||||||
\setbeamercolor{institute}{%
|
\setbeamercolor{institute}{%
|
||||||
use=normal text, fg=normal text.fg!80!normal text.bg}
|
use=normal text, fg=normal text.fg!80!normal text.bg}
|
||||||
\setbeamercolor{structure}{use=normal text, fg=normal text.fg}
|
\setbeamercolor{structure}{use=normal text, fg=normal text.fg}
|
||||||
|
\setbeamercolor{thanks}{%
|
||||||
|
use=normal text,fg=normal text.fg!80!normal text.bg}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
% The “primary” palette should be used for the most important navigational
|
% The “primary” palette should be used for the most important navigational
|
||||||
|
|
|
@ -164,7 +164,6 @@
|
||||||
% space on the title slide.
|
% space on the title slide.
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\setbeamertemplate{title page}{
|
\setbeamertemplate{title page}{
|
||||||
\begin{minipage}[c][\textheight]{\textwidth}
|
|
||||||
\null%
|
\null%
|
||||||
\vspace{0pt plus 1.618fil}%
|
\vspace{0pt plus 1.618fil}%
|
||||||
\vfil%
|
\vfil%
|
||||||
|
@ -179,15 +178,14 @@
|
||||||
\ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
|
\ifx\insertdate\@empty\else\usebeamertemplate*{date}\fi
|
||||||
\vspace{0pt plus 1fil}%
|
\vspace{0pt plus 1fil}%
|
||||||
\null
|
\null
|
||||||
\end{minipage}%
|
|
||||||
}
|
}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
% \end{macro}%
|
% \end{macro}%
|
||||||
%
|
%
|
||||||
% Normal people should use |\maketitle| or |\titlepage| instead of using the
|
% Normal people should use |\maketitle| or |\titlepage| instead of using the
|
||||||
% |title page| beamer template directly. Beamer already defines these macros,
|
% |title page| beamer template directly. Beamer already defines these macros,
|
||||||
% but we patch them here to make the title page |[plain]| by default, remove
|
% but we patch them here to make the title page |[plain]| by default
|
||||||
% |\@thanks|, and ensure the title frame number doesn't count.
|
% and ensure the title frame number doesn't count.
|
||||||
%
|
%
|
||||||
% \begin{macro}{\maketitle}
|
% \begin{macro}{\maketitle}
|
||||||
% \begin{macro}{\titlepage}
|
% \begin{macro}{\titlepage}
|
||||||
|
@ -200,11 +198,20 @@
|
||||||
\ifbeamer@inframe
|
\ifbeamer@inframe
|
||||||
\titlepage
|
\titlepage
|
||||||
\else
|
\else
|
||||||
|
\begingroup
|
||||||
|
\renewcommand\footnoterule{}%
|
||||||
\frame[plain,noframenumbering]{\titlepage}
|
\frame[plain,noframenumbering]{\titlepage}
|
||||||
|
\endgroup
|
||||||
\fi
|
\fi
|
||||||
}
|
}
|
||||||
\def\titlepage{%
|
\def\titlepage{%
|
||||||
\usebeamertemplate{title page}
|
% Apply title-page specific footnote settings
|
||||||
|
\renewcommand{\@makefntext}[1]{%
|
||||||
|
{\par\usebeamercolor[fg]{thanks}\usebeamerfont{thanks}$^{\@thefnmark}$##1\medskip}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Process the title page
|
||||||
|
\usebeamertemplate{title page}\@thanks
|
||||||
}
|
}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
% \end{macro}
|
% \end{macro}
|
||||||
|
|
|
@ -2,6 +2,23 @@ This is a generated file for the l3build validation system.
|
||||||
Don't change this file in any respect.
|
Don't change this file in any respect.
|
||||||
[2
|
[2
|
||||||
]
|
]
|
||||||
|
LaTeX Font Info: Trying to load font information for OML+lmm on input line ....
|
||||||
|
LaTeX Font Info: Trying to load font information for OMS+lmsy on input line ....
|
||||||
|
LaTeX Font Info: Trying to load font information for OMX+lmex on input line ....
|
||||||
|
LaTeX Font Info: External font `lmex10' loaded for size
|
||||||
|
(Font) <10.95> on input line ....
|
||||||
|
LaTeX Font Info: External font `lmex10' loaded for size
|
||||||
|
(Font) <8> on input line ....
|
||||||
|
LaTeX Font Info: External font `lmex10' loaded for size
|
||||||
|
(Font) <6> on input line ....
|
||||||
|
LaTeX Font Info: Trying to load font information for U+msa on input line ....
|
||||||
|
LaTeX Font Info: Trying to load font information for U+msb on input line ....
|
||||||
|
LaTeX Font Info: Font shape `OT1/lmss/m/it' in size <10.95> not available
|
||||||
|
(Font) Font shape `OT1/lmss/m/sl' tried instead on input line ....
|
||||||
|
LaTeX Font Info: Font shape `OT1/lmss/m/it' in size <8> not available
|
||||||
|
(Font) Font shape `OT1/lmss/m/sl' tried instead on input line ....
|
||||||
|
LaTeX Font Info: Font shape `OT1/lmss/m/it' in size <6> not available
|
||||||
|
(Font) Font shape `OT1/lmss/m/sl' tried instead on input line ....
|
||||||
[3
|
[3
|
||||||
]
|
]
|
||||||
[4
|
[4
|
||||||
|
|
Loading…
Reference in New Issue