
내 .tex는 이것입니다
\documentclass[12pt,xcolor={usenames}]{beamer}
\setbeamercovered{transparent}
\setbeamertemplate{caption}[numbered]
\usepackage[spanish,es-tabla,es-nodecimaldot]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\normalfont
\usepackage{beamerfoils}
\usepackage{tikz}
\usepackage{graphicx}
\usepackage{courier}
\usefonttheme{serif}
\definecolor{darkturquoise}{rgb}{0.0, 0.81, 0.82}
\beamertemplatetheoremsnumbered
\setbeamerfont{institute}{size=\small}
\title{{\bf\LARGE\color{white}Title Slide}\newline{\bf\color{white}Faculty}\newline{\bf\Large\color{white}Course}}
\author{\bf\color{white}Lecturer
\newline{\scriptsize\href{mailto:[email protected]}{[email protected]}}}
%\titlegraphic{\includegraphics[scale=0.3]{UW_logo}}
\date{}
\setbeamercovered{invisible}
\begin{document}
{\setbeamercolor{background canvas}{bg=darkturquoise}
\maketitle}
\foilhead{Second slide}
No color here
\foilhead{Third slide}
{\setbeamercolor{background canvas}{bg=darkturquoise}
Color here}
\foilhead{Fourth Slide}
\begin{center}
{\Large opaque image here, bluish if possible}
\end{center}
\endfoil
\end{document}
세 번째 슬라이드에 첫 번째 슬라이드와 동일한 배경색(어두운 청록색)을 지정하려고 하는데 그럴 수 없습니다. 또한 네 번째 슬라이드에 배경(전체 슬라이드)으로 일부 이미지를 넣고 싶습니다. 또한 동시에 푸르스름한(어두운 청록색) 색조를 주는 것도 가능한가요?
아마도 이 이미지는 다음과 같습니다.
몇 가지 해결책을 보았지만 foilhead
환경에 적용할 수 없는 것 같습니다.
답변1
꼭 사용해야 하나요 beamerfoils
? 왜 표준을 사용하지 않습니까 frame
? 그러면 상황이 훨씬 더 잘 문서화됩니다.
\documentclass[12pt,xcolor={usenames}]{beamer}
\setbeamercovered{transparent}
\setbeamertemplate{caption}[numbered]
\usepackage{tikz}
\definecolor{darkturquoise}{rgb}{0.0, 0.81, 0.82}
\beamertemplatetheoremsnumbered
\setbeamerfont{institute}{size=\small}
\title{\texorpdfstring{
\textbf{\LARGE\color{white}Title Slide}\newline
\textbf{\color{white}Faculty}\newline
\textbf{\Large\color{white}Course}
}{Title Slide -- Faculty -- Course}
}
\author{\texorpdfstring{
\textbf{\color{white}Lecturer\newline
\scriptsize\href{mailto:[email protected]}{[email protected]}}
}{Lecturer: [email protected]}
}
\date{}
\setbeamercovered{invisible}
\begin{document}
{\setbeamercolor{background canvas}{bg=darkturquoise}
\maketitle}
\begin{frame}{Second slide}
No color here
\end{frame}
{\setbeamercolor{background canvas}{bg=darkturquoise}
\begin{frame}{Third slide}
Color here
\end{frame}}
{\usebackgroundtemplate{
\begin{tikzpicture}[remember picture, overlay]
\node[at=(current page.center)] {
\includegraphics[keepaspectratio,
width=\paperwidth,
height=\paperheight]{example-image-a}
};
\fill[darkturquoise!25, blend mode=multiply] (current page.north east) rectangle (current page.south west);
\end{tikzpicture}
}
\begin{frame}{Fourth slide}
{\Large opaque image here, bluish if possible}
\end{frame}}
\end{document}
몇 가지 참고사항:
- 을 사용하지 마십시오
\bf
. 이 매크로는 더 이상 사용되지 않습니다. 대신 사용하세요\textbf
. - 제목과 작성자에 대한 대체 PDF 문자열을 제공하여 PDF의 메타데이터에서 합리적인 방식으로 인쇄되도록 하는 것이 좋습니다.
- 일반적으로 프레임을 시작하기 전에 배경색 설정을 명시해야 합니다. 따라서
{}
. - 마지막으로 Ti를 사용하여 이미지를 배치하고 색조를 적용할 수 있습니다.케이
\usebackgroundtemplate
위의 예에 표시된 것과 같이 Z를 조합합니다 .
여전히 고수하고 싶다면 beamerfoils
배경색 설정에는 범위 지정이 포함되므로 명시적으로 매크로를 사용 \endfoil
하거나 \frame
매크로를 사용하여 관련 프레임을 종료해야 합니다. 따라서 다음과 같이 작동합니다.
{\setbeamercolor{background canvas}{bg=darkturquoise}
\foilhead{Third slide}
Color here
\endfoil
}
그리고 또한:
{\setbeamercolor{background canvas}{bg=darkturquoise}\frame{
\foilhead{Third slide}
Color here
}}
마찬가지로 다음을 수행할 수 있습니다.
{\usebackgroundtemplate{
\begin{tikzpicture}[remember picture, overlay]
\node[at=(current page.center)] {
\includegraphics[keepaspectratio,
width=\paperwidth,
height=\paperheight]{example-image-a}
};
\fill[darkturquoise!25, blend mode=multiply] (current page.north east) rectangle (current page.south west);
\end{tikzpicture}
}
\foilhead{Third slide}
{\Large opaque image here, bluish if possible}
\endfoil
}