我遇到了一个问题。在我的海报中,我使用了一个颜色主题,因此图片标题带有绿色,这很难看出来。
可以改变颜色吗?
\documentclass[final, 12pt]{beamer}
\usepackage[size=custom,width=120,height=120,scale=1.7,orientation=portrait]{beamerposter}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{wrapfig,xcolor,pgf}
\usepackage{array,booktabs,tabularx,amsthm,multirow,amsmath}
\usepackage[absolute,overlay]{textpos}% text under figure
\usepackage{pifont}
\usepackage{pslatex}
\usepackage{ragged2e} %for justify tex
\usepackage{lipsum}
\usepackage{etoolbox}
\apptocmd{\frame}{\justifying}{}{}
\setbeamertemplate{caption}[numbered]
\newenvironment<>{varblock}[2][\textwidth]{%
\setlength{\textwidth}{#1}
\begin{actionenv}#3%
\def\insertblocktitle{ \centering#2\par}%
\par%
\usebeamertemplate{block begin}}
{\par%
\usebeamertemplate{block end}%
\end{actionenv}}
\usecolortheme[RGB={180,250,80}]{structure}
\usetheme[height=0mm]{Rochester}
\begin{document}
\begin{frame}
\begin{textblock}{}(6,3.95)%
\begin{varblock}[42cm]{}
\begin{figure}
\includegraphics{1.jpg}
\caption{ Individual source location A ($\mathrm{L_{A}}$) .}
\label{1}
\end{figure}
\end{varblock}
\end{textblock}
\end{frame}
\end{document}
答案1
您可以设置caption name
颜色:
\setbeamercolor{caption name}{<color>}
例如,你可以使用
\setbeamercolor{caption name}{fg=structure!70!black}