
У меня есть изображение в этой рамке, и я хочу показать его без каких-либо других элементов. Как и ниже.
И мой MWE - это
\documentclass[14pt]{beamer}% http://ctan.org/pkg/beamer
\let\Tiny\tiny% http://tex.stackexchange.com/q/58087/5764
\usetheme{Berkeley}
\makeatletter
\beamer@headheight=1.5\baselineskip
\makeatother
\setbeamercolor{normal text}{bg=black!10}
\title[Title]{My title}
\subtitle{Subtitle}
\author{Author}
\institute[Institute]{My institute}
\date[Date]{My date}
\logo{\color{blue!50}\scalebox{2}{\TeX}} % you can % it
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\section{A section}
\subsection{A subsection}
\begin{frame}
\frametitle{Frame title}
\framesubtitle{frame subtitle}
Some text
\end{frame}
\begin{frame}
Some more text
\end{frame}
\section{Another section}
\subsection{Another subsection}
\begin{frame}
picture
\end{frame}
\end{document}
решение1
Используйте plain
опцию для рамки:
\begin{frame}[plain]
picture
\end{frame}
Полный пример:
\documentclass[14pt]{beamer}% http://ctan.org/pkg/beamer
\let\Tiny\tiny% http://tex.stackexchange.com/q/58087/5764
\usetheme{Berkeley}
\makeatletter
\beamer@headheight=1.5\baselineskip
\makeatother
\setbeamercolor{normal text}{bg=black!10}
\title[Title]{My title}
\subtitle{Subtitle}
\author{Author}
\institute[Institute]{My institute}
\date[Date]{My date}
\logo{\color{blue!50}\scalebox{2}{\TeX}} % you can % it
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\section{A section}
\subsection{A subsection}
\begin{frame}
\frametitle{Frame title}
\framesubtitle{frame subtitle}
Some text
\end{frame}
\begin{frame}
Some more text
\end{frame}
\section{Another section}
\subsection{Another subsection}
\begin{frame}[plain]
picture
\end{frame}
\end{document}
Как вы можете видеть на изображении выше, это уничтожает декоративные элементы, но ширина боковой панели по-прежнему сохраняется, поэтому вам понадобится отрицательное значение \hspace
:
\documentclass[14pt]{beamer}% http://ctan.org/pkg/beamer
\let\Tiny\tiny% http://tex.stackexchange.com/q/58087/5764
\usetheme{Berkeley}
\makeatletter
\beamer@headheight=1.5\baselineskip
\makeatother
\setbeamercolor{normal text}{bg=black!10}
\title[Title]{My title}
\subtitle{Subtitle}
\author{Author}
\institute[Institute]{My institute}
\date[Date]{My date}
\logo{\color{blue!50}\scalebox{2}{\TeX}} % you can % it
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\section{A section}
\subsection{A subsection}
\begin{frame}
\frametitle{Frame title}
\framesubtitle{frame subtitle}
Some text
\end{frame}
\begin{frame}
Some more text
\end{frame}
\section{Another section}
\subsection{Another subsection}
\setbeamertemplate{sidebar}{}
\begin{frame}[plain]
\hspace*{-2.7cm}\includegraphics[height=\paperheight,width=\paperwidth]{ctanlion}
\end{frame}
\end{document}
Рисунок льва CTAN, автор Дуэйн Бибби.