
수정된 IMSAloquium 템플릿을 사용하고 있습니다. 다음은 내 코드입니다
\documentclass[final]{beamer}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{nicematrix}
\usepackage{xcolor}
\usepackage{utopia} %font utopia imported
\usepackage{setspace} % <---
\setstretch{1.3}
\bibliographystyle{alpha}
\usepackage[absolute,overlay]{textpos}
\usepackage{tikz}
\usepackage{tikz-feynman}
\tikzfeynmanset{vanilla/.style=}
\usetikzlibrary{shapes.geometric, arrows}
\tikzstyle{startstop} = [rectangle, rounded corners, minimum width=3cm, minimum height=0.5cm,text centered, draw=cyan, fill=cyan!20]
\tikzstyle{arrow} = [thick,->,>=stealth]
\usetikzlibrary{positioning}
\usetheme{imsa}
\usecolortheme{imsa}
\usefonttheme[onlymath]{serif}
\usepackage[most]{tcolorbox}
\usepackage{colortbl}
\usepackage{wrapfig}
\usepackage[labelformat=empty]{caption}
\setbeamertemplate{background}
{\includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{pointbackground.png}}
%------------------------------------------------------------
%Mergin selection%
\setbeamersize
{
text margin left=0.7cm,
text margin right=0.7cm
}
%This block of code defines the information to appear in the
%Title page
\setbeamertemplate{frametitle}{%
\begin{tcolorbox}[colframe=blue,boxrule=0.5pt,top=0.7mm,bottom=0.7mm,grow to left by=5.8mm, grow to right by=5.9mm, before skip=0.07cm,
interior style={left color=blue, right color=white}]
\usebeamerfont{frametitle}\usebeamercolor[fg]{frametitle}\insertframetitle
\end{tcolorbox}
}
\begin{document}
% Title Page
\frame{
\titlepage
}
\AtBeginSection[]
{
{
\setbeamertemplate{background}
{\includegraphics[width = \the\paperwidth, height = \the\paperheight]{toc.png}}
\begin{frame}
\frametitle{Table of Contents}
\tableofcontents[currentsection]
\end{frame}
}
}
\setbeamertemplate{background}
{\includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{pointbackground.png}}
\small
\begin{frame}{Cross section}
\end{frame}
%Bibilographies
\begin{frame}[allowframebreaks]{Bibilography}
\bibliography{bibitems}
\end{frame}
\end{document}
프레임 제목 상자에는 매뉴얼대로 그라데이션 색상을 넣어야 하는데 그렇지 않습니다. 왜?
답변1
tcolorbox
옵션을 추가하세요 enhanced
.
패키지 매뉴얼(v6.2.0, 2024-01-10) 에서 tcolorbox
초. 10.1 "스타일 옵션 키" (p. 172)
이 옵션 [
/tcb/interior style
]은/tcb/interior titled engine
→P. 157 또는/tcb/interior engine
→P. 158path
은 ,pathfirst
,pathmiddle
또는 으로 설정됩니다pathlast
. 에서는 사용할 수 없습니다standard
."
처음에는 /tcb/interior engine
입니다 standard
. 따라서 interior style
효과적인 최소 설정은 입니다 interior engine=path
.
편리한 옵션은 , 모든 도면 엔진( 포함 ) 등을 설정하는 enhanced
약어입니다 .skin=enhanced
/tcb/graphical environment=tikzpicture
/tcb/interior engine
path