fixed redefinition of default template for verse begin, etc

This commit is contained in:
Jan Benda 2021-03-07 21:39:31 +01:00
parent d1bd88ef92
commit d009a765a8
2 changed files with 53 additions and 4 deletions

View File

@ -87,6 +87,10 @@
\setbeamercolor{quote environments}{use=normal text, fg=normal text.fg, bg=normal text.fg!15} \setbeamercolor{quote environments}{use=normal text, fg=normal text.fg, bg=normal text.fg!15}
\setbeamercolor{verse}{parent=quote environments}
\setbeamercolor{verse line top}{fg=}
\setbeamercolor{verse line bottom}{fg=}
\setbeamercolor{quote}{parent=quote environments} \setbeamercolor{quote}{parent=quote environments}
\setbeamercolor{quote symbol}{parent=alerted text} \setbeamercolor{quote symbol}{parent=alerted text}
\setbeamercolor{quote source}{} \setbeamercolor{quote source}{}
@ -99,10 +103,6 @@
\setbeamercolor{quotation line top}{fg=} \setbeamercolor{quotation line top}{fg=}
\setbeamercolor{quotation line bottom}{fg=} \setbeamercolor{quotation line bottom}{fg=}
\setbeamercolor{verse}{parent=quote environments}
\setbeamercolor{verse line top}{fg=}
\setbeamercolor{verse line bottom}{fg=}
\setbeamercolor{section in toc}{parent=normal text} \setbeamercolor{section in toc}{parent=normal text}
\setbeamercolor{subsection in toc}{parent=normal text} \setbeamercolor{subsection in toc}{parent=normal text}

View File

@ -146,6 +146,8 @@
\setbeamertemplate{footline separator}[text][0.5pt] \setbeamertemplate{footline separator}[text][0.5pt]
\setbeamercolor{footline separator}{parent=footline}
%%%%% footline: linesleft %%%%% footline: linesleft
@ -249,6 +251,8 @@
\setbeamertemplate{footline}[linesleft] \setbeamertemplate{footline}[linesleft]
\setbeamercolor{footline line}{parent=footline}
%%%%% frametitle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%% frametitle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -410,6 +414,10 @@
\setbeamertemplate{block begin}[lines]{0.5pt}{0.5pt} \setbeamertemplate{block begin}[lines]{0.5pt}{0.5pt}
\setbeamertemplate{block end}[lines]{0.5pt} \setbeamertemplate{block end}[lines]{0.5pt}
\setbeamercolor{block line top}{fg=}
\setbeamercolor{block line middle}{fg=}
\setbeamercolor{block line bottom}{fg=}
%%%%% block alerted environment: %%%%% block alerted environment:
@ -419,6 +427,10 @@
\setbeamertemplate{block alerted begin}[lines]{0.5pt}{0.5pt} \setbeamertemplate{block alerted begin}[lines]{0.5pt}{0.5pt}
\setbeamertemplate{block alerted end}[lines]{0.5pt} \setbeamertemplate{block alerted end}[lines]{0.5pt}
\setbeamercolor{block line alerted top}{fg=}
\setbeamercolor{block line alerted middle}{fg=}
\setbeamercolor{block line alerted bottom}{fg=}
%%%%% block example environment: %%%%% block example environment:
@ -428,6 +440,10 @@
\setbeamertemplate{block example begin}[lines]{0.5pt}{0.5pt} \setbeamertemplate{block example begin}[lines]{0.5pt}{0.5pt}
\setbeamertemplate{block example end}[lines]{0.5pt} \setbeamertemplate{block example end}[lines]{0.5pt}
\setbeamercolor{block line example top}{fg=}
\setbeamercolor{block line example middle}{fg=}
\setbeamercolor{block line example bottom}{fg=}
%%%%% theorem environments (theorem, corollary, fact, lemma, definition, example): %%%%% theorem environments (theorem, corollary, fact, lemma, definition, example):
@ -449,6 +465,10 @@
\setbeamertemplate{block theorem begin}[lines]{0.5pt}{0.5pt} \setbeamertemplate{block theorem begin}[lines]{0.5pt}{0.5pt}
\setbeamertemplate{block theorem end}[lines]{0.5pt} \setbeamertemplate{block theorem end}[lines]{0.5pt}
\setbeamercolor{theorem line top}{fg=}
\setbeamercolor{theorem line middle}{fg=}
\setbeamercolor{theorem line bottom}{fg=}
%%%%% new message box command: %%%%% new message box command:
@ -501,13 +521,22 @@
\usebeamertemplate*{message}} \usebeamertemplate*{message}}
} }
\setbeamercolor{message}{parent=block title alerted}
\setbeamercolor{message line top}{fg=}
\setbeamercolor{message line bottom}{fg=}
\setbeamercolor{message symbol}{fg=}
\setbeamercolor{message item}{use=alerted text, fg=alerted text.fg}
\setbeamercolor{message item symbol}{use=alerted text, fg=alerted text.fg}
% verse environment: % verse environment:
\expandafter\let\csname beamer@@tmpop@verse begin@default\endcsname\relax % remove old template
\defbeamertemplate{verse begin}{default}{} \defbeamertemplate{verse begin}{default}{}
\defbeamertemplate{verse begin}{lines}[1][1pt]{\beamer@horizontal@line@top{verse line top}{#1}\vskip1ex} \defbeamertemplate{verse begin}{lines}[1][1pt]{\beamer@horizontal@line@top{verse line top}{#1}\vskip1ex}
\setbeamertemplate{verse begin}[lines][0.5pt] % default, lines \setbeamertemplate{verse begin}[lines][0.5pt] % default, lines
\expandafter\let\csname beamer@@tmpop@verse end@default\endcsname\relax % remove old template
\defbeamertemplate{verse end}{default}{} \defbeamertemplate{verse end}{default}{}
\defbeamertemplate{verse end}{lines}[1][1pt]{\beamer@horizontal@line@bottom{verse line bottom}{#1}} \defbeamertemplate{verse end}{lines}[1][1pt]{\beamer@horizontal@line@bottom{verse line bottom}{#1}}
\setbeamertemplate{verse end}[lines][0.5pt] % default, lines \setbeamertemplate{verse end}[lines][0.5pt] % default, lines
@ -533,6 +562,10 @@
\endactionenv% \endactionenv%
} }
\setbeamercolor{verse line top}{fg=}
\setbeamercolor{verse line bottom}{fg=}
%%%%% quotation, quote: %%%%% quotation, quote:
% font selection % font selection
@ -599,10 +632,12 @@
% rightline, rightlinebrackets, dashrightline, tilderightline: % rightline, rightlinebrackets, dashrightline, tilderightline:
\setbeamertemplate{quotation source}[dashrightline] \setbeamertemplate{quotation source}[dashrightline]
\expandafter\let\csname beamer@@tmpop@quotation begin@default\endcsname\relax % remove old template
\defbeamertemplate{quotation begin}{default}{} \defbeamertemplate{quotation begin}{default}{}
\defbeamertemplate{quotation begin}{lines}[1][1pt]{\beamer@horizontal@line@top{quotation line top}{#1}\vskip1ex} \defbeamertemplate{quotation begin}{lines}[1][1pt]{\beamer@horizontal@line@top{quotation line top}{#1}\vskip1ex}
\setbeamertemplate{quotation begin}[lines][0.5pt] % default, lines \setbeamertemplate{quotation begin}[lines][0.5pt] % default, lines
\expandafter\let\csname beamer@@tmpop@quotation end@default\endcsname\relax % remove old template
\defbeamertemplate{quotation end}{default}{} \defbeamertemplate{quotation end}{default}{}
\defbeamertemplate{quotation end}{lines}[1][1pt]{\beamer@horizontal@line@bottom{quotation line bottom}{#1}} \defbeamertemplate{quotation end}{lines}[1][1pt]{\beamer@horizontal@line@bottom{quotation line bottom}{#1}}
\setbeamertemplate{quotation end}[lines][0.5pt] % default, lines \setbeamertemplate{quotation end}[lines][0.5pt] % default, lines
@ -649,6 +684,12 @@
\endactionenv% \endactionenv%
} }
\setbeamercolor{quotation symbol}{parent=structure}
\setbeamercolor{quotation source}{}
\setbeamercolor{quotation line top}{fg=}
\setbeamercolor{quotation line bottom}{fg=}
% quote environment: % quote environment:
\defbeamertemplate{quote symbol}{default}{} \defbeamertemplate{quote symbol}{default}{}
@ -673,10 +714,12 @@
% rightline, rightlinebrackets, dashrightline, tilderightline: % rightline, rightlinebrackets, dashrightline, tilderightline:
\setbeamertemplate{quote source}[dashrightline] \setbeamertemplate{quote source}[dashrightline]
\expandafter\let\csname beamer@@tmpop@quote begin@default\endcsname\relax % remove old template
\defbeamertemplate{quote begin}{default}{} \defbeamertemplate{quote begin}{default}{}
\defbeamertemplate{quote begin}{lines}[1][1pt]{\beamer@horizontal@line@top{quote line top}{#1}\vskip1ex} \defbeamertemplate{quote begin}{lines}[1][1pt]{\beamer@horizontal@line@top{quote line top}{#1}\vskip1ex}
\setbeamertemplate{quote begin}[lines][0.5pt] % default, lines \setbeamertemplate{quote begin}[lines][0.5pt] % default, lines
\expandafter\let\csname beamer@@tmpop@quote end@default\endcsname\relax % remove old template
\defbeamertemplate{quote end}{default}{} \defbeamertemplate{quote end}{default}{}
\defbeamertemplate{quote end}{lines}[1][1pt]{\beamer@horizontal@line@bottom{quote line bottom}{#1}} \defbeamertemplate{quote end}{lines}[1][1pt]{\beamer@horizontal@line@bottom{quote line bottom}{#1}}
\setbeamertemplate{quote end}[lines][0.5pt] % default, lines \setbeamertemplate{quote end}[lines][0.5pt] % default, lines
@ -715,6 +758,12 @@
\endactionenv% \endactionenv%
} }
\setbeamercolor{quote symbol}{parent=structure}
\setbeamercolor{quote source}{}
\setbeamercolor{quote line top}{fg=}
\setbeamercolor{quote line bottom}{fg=}
%%%%% title page %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%% title page %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% title page graphic line: %%%%% title page graphic line: