\newcommand{\fullpageimage}[1]{
\setbeamertemplate{background canvas}{\centering\includegraphics[width=
\paperwidth,height=\paperheight,keepaspectratio]{{#1}}}
\begin{frame}[plain]{}\end{frame}
}
But the centering does not work here, and so the image is not
centered.
Well, I've managed to answer my own question somewhat, with a family
of commands for display of a graphic that takes up the whole screen,
or the whole screen but respecting Beamer's margins, or the whole
screen except for the title and margins, without messing up the aspect
ratio of the image.
The calls just look like:
\plainFrameImage{anImage.jpeg} % respect margins
\maxFrameImage{anImage.jpeg} % don't respect margins: use entire
screen
\titledFrameImage{My frame's title}{anImage.jpeg} % respect
margins, and include a title
and the definitions, in my cpblRef.sty file, are:
\newenvironment{changemargin}[2]{%
\begin{list}{}{%
\setlength{\topsep}{0pt}%
\setlength{\leftmargin}{#1}%
\setlength{\rightmargin}{#2}%
\setlength{\listparindent}{\parindent}%
\setlength{\itemindent}{\parindent}%
\setlength{\parsep}{\parskip}%
}%
\item[]}{\end{list}}
% Make one image take up the entire slide content area in beamer,.:
% centered/centred full-screen image, with title:
% This uses the whole screen except for the 1cm border around it
% all. 128x96mm
\newcommand{\titledFrameImage}[2]{
\begin{frame}{#1}
%\begin{changemargin}{-1cm}{-1cm}
\begin{center}
\includegraphics[width=108mm,height=\textheight,keepaspectratio]{#2}
\end{center}
%\end{changemargin}
\end{frame}
}
% Make one image take up the entire slide content area in beamer.:
% centered/centred full-screen image, no title:
% This uses the whole screen except for the 1cm border around it
% all. 128x96mm
\newcommand{\plainFrameImage}[1]{
\begin{frame}[plain]
%\begin{changemargin}{-1cm}{-1cm}
\begin{center}
\includegraphics[width=108mm,height=76mm,keepaspectratio]{#1}
\end{center}
%\end{changemargin}
\end{frame}
}
% Make one image take up the entire slide area, including borders, in
beamer.:
% centered/centred full-screen image, no title:
% This uses the entire whole screen
\newcommand{\maxFrameImage}[1]{
\begin{frame}[plain]
\begin{changemargin}{-1cm}{-1cm}
\begin{center}
\includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]
{#1}
\end{center}
\end{changemargin}
\end{frame}
}
I use a very long numbered bibliography list with beamer by the
following snippet codes:
\begin{frame}
\frametitle{Bibliography}
\bibliographystyle{unsrt}
\bibliography{mybib}
\end{frame}
Due to the bibliography list is too long to be put in one frame, I'll
only get some entries of the beginning of the bibliography list. In
addition, if I put all of the contents of the bbl file generated by
bibtex into serveral frames, the \begin{thebibliography} and
\end{thebibliography} will not work. How can I solve this issue?
Regards,
--
Hongyi Zhao <hongy...@gmail.com>
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences
GnuPG DSA: 0xD108493
-- Posted on news://freenews.netfront.net - Complaints to ne...@netfront.net --
On Nov 23, 10:37 am, Hongyi Zhao <hongyi.z...@gmail.com> wrote:
> Hi all,
>
> I use a very long numbered bibliography list with beamer by the
> following snippet codes:
[...]
> Due to the bibliography list is too long to be put in one frame, I'll
> only get some entries of the beginning of the bibliography list. In
> addition, if I put all of the contents of the bbl file generated by
> bibtex into serveral frames, the \begin{thebibliography} and
> \end{thebibliography} will not work. How can I solve this issue?
\begin{frame}[allowframebreaks] will do the job. See the beamer manual
for details and fine-tuning.
HTH,
Pavel