fixed missing linewidths
This commit is contained in:
parent
dc0eae61dc
commit
8307eed6a7
@ -71,7 +71,7 @@
|
|||||||
% arguments: name of color theme, width of line
|
% arguments: name of color theme, width of line
|
||||||
\newcommand{\beamer@horizontal@line@top}[2]{%
|
\newcommand{\beamer@horizontal@line@top}[2]{%
|
||||||
\ifbeamercolorempty[fg]{#1}{}{%
|
\ifbeamercolorempty[fg]{#1}{}{%
|
||||||
\begin{beamercolorbox}[vmode]{#1}
|
\begin{beamercolorbox}[vmode,wd=\linewidth]{#1}
|
||||||
\rule{\linewidth}{#2}
|
\rule{\linewidth}{#2}
|
||||||
\end{beamercolorbox}%
|
\end{beamercolorbox}%
|
||||||
\par\nointerlineskip}%
|
\par\nointerlineskip}%
|
||||||
@ -82,7 +82,7 @@
|
|||||||
\newcommand{\beamer@horizontal@line@bottom}[2]{%
|
\newcommand{\beamer@horizontal@line@bottom}[2]{%
|
||||||
\ifbeamercolorempty[fg]{#1}{}{%
|
\ifbeamercolorempty[fg]{#1}{}{%
|
||||||
\par\nointerlineskip%
|
\par\nointerlineskip%
|
||||||
\begin{beamercolorbox}[vmode]{#1}
|
\begin{beamercolorbox}[vmode,wd=\linewidth]{#1}
|
||||||
\rule{\linewidth}{#2}
|
\rule{\linewidth}{#2}
|
||||||
\end{beamercolorbox}}%
|
\end{beamercolorbox}}%
|
||||||
}
|
}
|
||||||
@ -478,7 +478,7 @@
|
|||||||
\setbeamertemplate{message symbol}[circle]
|
\setbeamertemplate{message symbol}[circle]
|
||||||
|
|
||||||
\newcommand{\message@box@body}{
|
\newcommand{\message@box@body}{
|
||||||
\begin{beamercolorbox}[vmode,colsep=1mm,leftskip=1mm,rightskip=1mm]{message}
|
\begin{beamercolorbox}[vmode,wd=\linewidth,colsep=1mm,leftskip=1mm,rightskip=1mm]{message}
|
||||||
\setbox0=\hbox{\usebeamertemplate{message symbol}\unskip}%
|
\setbox0=\hbox{\usebeamertemplate{message symbol}\unskip}%
|
||||||
\ifdim\wd0=0pt%
|
\ifdim\wd0=0pt%
|
||||||
\strut\insertmessage
|
\strut\insertmessage
|
||||||
@ -584,11 +584,14 @@
|
|||||||
\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]
|
\setbeamertemplate{quotation end}[lines][0.5pt]
|
||||||
|
|
||||||
|
\newlength{\beamer@quotation@tmp}
|
||||||
|
|
||||||
% see definition in /usr/share/texmf/tex/latex/beamer/base/beamerbaselocalstructure.sty
|
% see definition in /usr/share/texmf/tex/latex/beamer/base/beamerbaselocalstructure.sty
|
||||||
\renewenvironment<>{quotation}[1][]
|
\renewenvironment<>{quotation}[1][]
|
||||||
{ \def\insertquoteauthor{#1}
|
{ \def\insertquoteauthor{#1}
|
||||||
\actionenv#2%
|
\actionenv#2%
|
||||||
\beamercolorbox[vmode]{quotation}
|
\setlength{\beamer@quotation@tmp}{\linewidth}
|
||||||
|
\beamercolorbox[vmode,wd=\linewidth]{quotation}
|
||||||
\usebeamertemplate{quotation begin}
|
\usebeamertemplate{quotation begin}
|
||||||
\usebeamerfont*{quotation}%
|
\usebeamerfont*{quotation}%
|
||||||
\usebeamercolor{quotation}%
|
\usebeamercolor{quotation}%
|
||||||
@ -618,6 +621,7 @@
|
|||||||
{%
|
{%
|
||||||
\usebeamertemplate{quotation author}
|
\usebeamertemplate{quotation author}
|
||||||
\endlist
|
\endlist
|
||||||
|
\setlength{\linewidth}{\beamer@quotation@tmp}
|
||||||
\usebeamertemplate{quotation end}
|
\usebeamertemplate{quotation end}
|
||||||
\endbeamercolorbox
|
\endbeamercolorbox
|
||||||
\endactionenv%
|
\endactionenv%
|
||||||
@ -653,7 +657,8 @@
|
|||||||
\renewenvironment<>{quote}[1][]
|
\renewenvironment<>{quote}[1][]
|
||||||
{ \def\insertquoteauthor{#1}
|
{ \def\insertquoteauthor{#1}
|
||||||
\actionenv#2%
|
\actionenv#2%
|
||||||
\beamercolorbox[vmode]{quote}%
|
\setlength{\beamer@quotation@tmp}{\linewidth}
|
||||||
|
\beamercolorbox[vmode,wd=\linewidth]{quote}%
|
||||||
\usebeamertemplate{quote begin}%
|
\usebeamertemplate{quote begin}%
|
||||||
\usebeamerfont*{quote}%
|
\usebeamerfont*{quote}%
|
||||||
\usebeamercolor{quote}%
|
\usebeamercolor{quote}%
|
||||||
@ -678,6 +683,7 @@
|
|||||||
{%
|
{%
|
||||||
\usebeamertemplate{quote author}
|
\usebeamertemplate{quote author}
|
||||||
\endlist
|
\endlist
|
||||||
|
\setlength{\linewidth}{\beamer@quotation@tmp}
|
||||||
\usebeamertemplate{quote end}
|
\usebeamertemplate{quote end}
|
||||||
\endbeamercolorbox%
|
\endbeamercolorbox%
|
||||||
\endactionenv%
|
\endactionenv%
|
||||||
@ -695,7 +701,8 @@
|
|||||||
|
|
||||||
\renewenvironment<>{verse}
|
\renewenvironment<>{verse}
|
||||||
{ \actionenv#1%
|
{ \actionenv#1%
|
||||||
\beamercolorbox[vmode]{verse}
|
\setlength{\beamer@quotation@tmp}{\linewidth}
|
||||||
|
\beamercolorbox[vmode,wd=\linewidth]{verse}
|
||||||
\usebeamertemplate{verse begin}
|
\usebeamertemplate{verse begin}
|
||||||
\usebeamerfont*{verse}%
|
\usebeamerfont*{verse}%
|
||||||
\usebeamercolor{verse}%
|
\usebeamercolor{verse}%
|
||||||
@ -708,6 +715,7 @@
|
|||||||
}
|
}
|
||||||
{%
|
{%
|
||||||
\endlist
|
\endlist
|
||||||
|
\setlength{\linewidth}{\beamer@quotation@tmp}
|
||||||
\usebeamertemplate{verse end}
|
\usebeamertemplate{verse end}
|
||||||
\endbeamercolorbox
|
\endbeamercolorbox
|
||||||
\endactionenv%
|
\endactionenv%
|
||||||
@ -774,13 +782,13 @@
|
|||||||
\fi%
|
\fi%
|
||||||
\vfill\vfill\vfill
|
\vfill\vfill\vfill
|
||||||
% title:
|
% title:
|
||||||
\begin{beamercolorbox}{title}
|
\begin{beamercolorbox}[wd=\linewidth]{title}
|
||||||
\usebeamerfont{title}\inserttitle\par%
|
\usebeamerfont{title}\inserttitle\par%
|
||||||
\end{beamercolorbox}%
|
\end{beamercolorbox}%
|
||||||
% subtitle:
|
% subtitle:
|
||||||
\ifx\insertsubtitle\@empty\else%
|
\ifx\insertsubtitle\@empty\else%
|
||||||
\vspace{1ex}
|
\vspace{1ex}
|
||||||
\begin{beamercolorbox}{subtitle}
|
\begin{beamercolorbox}[wd=\linewidth]{subtitle}
|
||||||
\usebeamerfont{subtitle}\insertsubtitle\par%
|
\usebeamerfont{subtitle}\insertsubtitle\par%
|
||||||
\end{beamercolorbox}%
|
\end{beamercolorbox}%
|
||||||
\fi%
|
\fi%
|
||||||
@ -788,13 +796,13 @@
|
|||||||
\usebeamertemplate{title page title line}%
|
\usebeamertemplate{title page title line}%
|
||||||
\vfill
|
\vfill
|
||||||
% author:
|
% author:
|
||||||
\begin{beamercolorbox}{author}
|
\begin{beamercolorbox}[wd=\linewidth]{author}
|
||||||
\usebeamertemplate{title page author and}%
|
\usebeamertemplate{title page author and}%
|
||||||
\usebeamerfont{author}\insertauthor
|
\usebeamerfont{author}\insertauthor
|
||||||
\end{beamercolorbox}
|
\end{beamercolorbox}
|
||||||
\vfill
|
\vfill
|
||||||
% institute and date:
|
% institute and date:
|
||||||
\begin{beamercolorbox}{institute}
|
\begin{beamercolorbox}[wd=\linewidth]{institute}
|
||||||
\usebeamertemplate{title page institute and}%
|
\usebeamertemplate{title page institute and}%
|
||||||
\usebeamerfont{institute}\insertinstitute
|
\usebeamerfont{institute}\insertinstitute
|
||||||
\hfill
|
\hfill
|
||||||
@ -826,13 +834,13 @@
|
|||||||
\fi%
|
\fi%
|
||||||
\vfill\vfill\vfill
|
\vfill\vfill\vfill
|
||||||
% title:
|
% title:
|
||||||
\begin{beamercolorbox}[center]{title}
|
\begin{beamercolorbox}[wd=\linewidth,center]{title}
|
||||||
\usebeamerfont{title}\inserttitle\par%
|
\usebeamerfont{title}\inserttitle\par%
|
||||||
\end{beamercolorbox}%
|
\end{beamercolorbox}%
|
||||||
% subtitle:
|
% subtitle:
|
||||||
\ifx\insertsubtitle\@empty\else%
|
\ifx\insertsubtitle\@empty\else%
|
||||||
\vspace{1ex}
|
\vspace{1ex}
|
||||||
\begin{beamercolorbox}[center]{subtitle}
|
\begin{beamercolorbox}[wd=\linewidth,center]{subtitle}
|
||||||
\usebeamerfont{subtitle}\insertsubtitle\par%
|
\usebeamerfont{subtitle}\insertsubtitle\par%
|
||||||
\end{beamercolorbox}%
|
\end{beamercolorbox}%
|
||||||
\fi%
|
\fi%
|
||||||
@ -840,13 +848,13 @@
|
|||||||
\usebeamertemplate{title page title line}%
|
\usebeamertemplate{title page title line}%
|
||||||
\vfill
|
\vfill
|
||||||
% author:
|
% author:
|
||||||
\begin{beamercolorbox}[center]{author}
|
\begin{beamercolorbox}[wd=\linewidth,center]{author}
|
||||||
\usebeamertemplate{title page author and}%
|
\usebeamertemplate{title page author and}%
|
||||||
\usebeamerfont{author}\insertauthor
|
\usebeamerfont{author}\insertauthor
|
||||||
\end{beamercolorbox}
|
\end{beamercolorbox}
|
||||||
\vfill
|
\vfill
|
||||||
% institute and date:
|
% institute and date:
|
||||||
\begin{beamercolorbox}[center]{institute}
|
\begin{beamercolorbox}[wd=\linewidth,center]{institute}
|
||||||
\usebeamertemplate{title page institute and}%
|
\usebeamertemplate{title page institute and}%
|
||||||
\usebeamerfont{institute}\insertinstitute
|
\usebeamerfont{institute}\insertinstitute
|
||||||
\hfill
|
\hfill
|
||||||
|
Loading…
Reference in New Issue
Block a user