비머 블록 스타일 사용자 정의

비머 블록 스타일 사용자 정의

비머로 테마를 사용하고 있는데 Montpellier블록 스타일에는 기본 배경 등이 없습니다. 의 스타일처럼 보이도록 몇 가지 방법을 시도했지만 Boadilla충분히 재현할 수 없습니다.

여기에 이미지 설명을 입력하세요

비머를 처음 접했기 때문에 검색을 통해 으로 사용자 정의할 수 있게 되었지만 setbeamercolor그 방식으로 색상을 정확히 지정하는 방법에 대해서는 잘 모르겠습니다 Boadilla. 도울 수 있니?

\documentclass[c,compress]{beamer}
\usetheme{Montpellier}
\usecolortheme{beaver}
\useinnertheme[shadow]{rounded}

%\setbeamercolor{block title}{use=structure,fg=white,bg=blue!75!black}

\title{My title}

\begin{document}

\section{First Section}

\begin{frame}
    \frametitle{A Test}
    \begin{block}{definition}
        a test for block
    \end{block}
\end{frame}

\end{document}

답변1

내용을 확인해보면 beamerthemeBoadilla.sty다음과 같습니다.

\usecolortheme{rose}
\useinnertheme[shadow]{rounded}
\usecolortheme{dolphin}
\useoutertheme{infolines}

따라서 내부 테마에는 색상 테마를 Boadilla사용 하고 외부 테마에는 색상 테마를 사용합니다. 코드에는 내부 테마이기도 한 이 있습니다. 간단히 으로 변경할 수 있으며 , 유사하지만 다른 것을 원할 경우 의 내용에 따라 색상을 사용자 정의할 수 있습니다 .rosedolphin\usecolortheme{beaver}beaverroserosebeamercolorthemerose.sty

관련 정보