避免在Beamer/latex中透明标题
我正在尝试插入一个数字,但其标题在当前页面中是透明的。如何防止这种情况?非常感谢。
\documentclass{beamer}
\usetheme{Ilmenau}
\setbeamercovered{transparent}
\setbeamercolor*{item}{fg=blue}
\usepackage{caption}
\captionsetup{font=scriptsize,labelfont=scriptsize}
\usepackage{hyperref}
\hypersetup{urlcolor=blue}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\title{DNA - Computing}
\author{Aleyna Acikyol \& Alina Grahic
}
\begin{document}
\begin{frame}[plain]
\maketitle
\end{frame}
%5 FOTO
\begin{frame}{Probleme heutiger Computer (3)}
%\begin{enumerate}
% \item \textcolor{blue}{Transistoren:}
\begin{itemize}
\item \textcolor{blue}{Transistoren:}
\begin{itemize}
\item kleiner geht nicht
\item Ausgleich mit Multicores /Multiprozessorsysteme
\end{itemize}
\end{itemize}
\pause
\begin{figure}
%\begin{itemize}
\begin{columns}
\column{0.50\linewidth}
\centering
\includegraphics[height=3cm, width=3cm]{./5.jpg}\caption{diverse Datenträger im Privatgebrauch}
\column{0.50\linewidth}
\centering
\includegraphics[height=3cm, width=3cm]{./5.2.jpg}\caption{Data Centre, Cloud}
\end{columns}
%\end{itemize}
\end{figure}
%\end{enumerate}
\end{frame}
\end{document}
I am trying to insert a figure but its caption is transparent in the current page. how to prevent this? many thanks in advance.
\documentclass{beamer}
\usetheme{Ilmenau}
\setbeamercovered{transparent}
\setbeamercolor*{item}{fg=blue}
\usepackage{caption}
\captionsetup{font=scriptsize,labelfont=scriptsize}
\usepackage{hyperref}
\hypersetup{urlcolor=blue}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\title{DNA - Computing}
\author{Aleyna Acikyol \& Alina Grahic
}
\begin{document}
\begin{frame}[plain]
\maketitle
\end{frame}
%5 FOTO
\begin{frame}{Probleme heutiger Computer (3)}
%\begin{enumerate}
% \item \textcolor{blue}{Transistoren:}
\begin{itemize}
\item \textcolor{blue}{Transistoren:}
\begin{itemize}
\item kleiner geht nicht
\item Ausgleich mit Multicores /Multiprozessorsysteme
\end{itemize}
\end{itemize}
\pause
\begin{figure}
%\begin{itemize}
\begin{columns}
\column{0.50\linewidth}
\centering
\includegraphics[height=3cm, width=3cm]{./5.jpg}\caption{diverse Datenträger im Privatgebrauch}
\column{0.50\linewidth}
\centering
\includegraphics[height=3cm, width=3cm]{./5.2.jpg}\caption{Data Centre, Cloud}
\end{columns}
%\end{itemize}
\end{figure}
%\end{enumerate}
\end{frame}
\end{document}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
标题是透明的,因为您使用的是
\ setBeamercovered {透明}
。您有两个选项可以避免透明标题:立即通过避免在它们前面的
\ pause
来显示图像和标题切换到
\ setBeamerCovered {Invisible}
临时或为整个演示延迟图像,以延迟图像和下一个覆盖的字幕:其他一些注释:
您不需要
\ code> \ usepackage { HyperRef}
,Beamer已经加载了我要警惕使用
\ hypersetup {urlcolor = blue}
with beamer,可以导致与精心构造的Beamer颜色主题的奇怪交替,在人们永远不会期望的地方分发在过去5年左右的时间内进行了更新,您不需要
\ usepackage [utf8] {inputenc}
,现在是默认值,如果您只想更改字体标题的大小,您实际上不需要
字幕
软件包,Beamer有自己的机制来控制字幕的大小而不是
\ \ \开始{frame} {...}
我将使用\ frametitle {...}
。这更加灵活,强大keeppectratio
选项以避免此以避免手动重复相同的帧标题几次(“问题heutiger Computer(3)”)您可以使用覆盖层并将幻灯片添加到框架计数器中到Frametitle
The caption is transparent because you are using
\setbeamercovered{transparent}
. You have two options to avoid the transparent caption:immediately show the images and caption by avoid the
\pause
in front of themswitching to
\setbeamercovered{invisible}
either temporarily or for the whole presentation to delay the images and caption to the next overlay:Some other comments:
you don't need
\usepackage{hyperref}
, beamer already loads itI'd be wary to use
\hypersetup{urlcolor=blue}
with beamer, this can lead to strange alternations to the carefully constructed colour themes of beamer in places one would never expectIf your tex distribution was updated within the last 5 years or so, you don't need
\usepackage[utf8]{inputenc}
, that's now the defaultIf you just want to change the font size of the caption, you don't actually need the
caption
package, beamer has its own mechanism to control the size of captionsInstead of
\begin{frame}{...}
I would use\frametitle{...}
. That's much more flexible and powerfulIf you specify both the width and height of your images, they will end up distorted. Please consider adding the
keepaspectratio
option to avoid thisto avoid manually repeating the same frame title several times ("Probleme heutiger Computer (3)") you could use overlays and add the slide in frame counter to the frametitle