change color of itemize item
This commit is contained in:
parent
3f8a36f6ed
commit
12e68e7963
@ -26,13 +26,34 @@
|
|||||||
\RequirePackage{shortcuts}
|
\RequirePackage{shortcuts}
|
||||||
% autres
|
% autres
|
||||||
\RequirePackage{media9}
|
\RequirePackage{media9}
|
||||||
|
\RequirePackage{xkeyval}
|
||||||
%--%
|
%--%
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%-- definitions
|
%-- definitions
|
||||||
|
% firstcolor
|
||||||
|
% option de classe
|
||||||
|
% couleur générale du beamer
|
||||||
|
\def\firstcolor{lapislazuli}%
|
||||||
|
\define@key{cours_beamer.cls}{firstcolor}[lapislazuli]{%
|
||||||
|
\def\firstcolor{#1}%
|
||||||
|
}
|
||||||
|
|
||||||
|
\def\secondcolor{-\firstcolor}%
|
||||||
|
\define@key{cours_beamer.cls}{secondcolor}[-\firstcolor]{%
|
||||||
|
\def\secondcolor{#1}%
|
||||||
|
}
|
||||||
%--%
|
%--%
|
||||||
|
|
||||||
|
|
||||||
|
%-- options
|
||||||
|
\ExecuteOptionsX{firstcolor, secondcolor}
|
||||||
|
\ProcessOptionsX
|
||||||
|
%--%
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%-- paramètrages
|
%-- paramètrages
|
||||||
\graphicspath{{images/}}
|
\graphicspath{{images/}}
|
||||||
\addmediapath{{videos/}}
|
\addmediapath{{videos/}}
|
||||||
@ -42,7 +63,7 @@
|
|||||||
\useinnertheme{circles}
|
\useinnertheme{circles}
|
||||||
\useoutertheme{default}
|
\useoutertheme{default}
|
||||||
\usefonttheme[onlymath]{serif}
|
\usefonttheme[onlymath]{serif}
|
||||||
\usecolortheme[named=lapislazuli]{structure}
|
\usecolortheme[named=\firstcolor]{structure}
|
||||||
|
|
||||||
% enumerate
|
% enumerate
|
||||||
\setbeamerfont{enumerate item}{family=\rmfamily}
|
\setbeamerfont{enumerate item}{family=\rmfamily}
|
||||||
@ -50,8 +71,8 @@
|
|||||||
\setbeamertemplate{enumerate item}{\textbf{\insertenumlabel.}}
|
\setbeamertemplate{enumerate item}{\textbf{\insertenumlabel.}}
|
||||||
|
|
||||||
% itemize
|
% itemize
|
||||||
% \setbeamertemplate{itemize item}[triangle]
|
|
||||||
\setbeamertemplate{itemize item}[circle]
|
\setbeamertemplate{itemize item}[circle]
|
||||||
|
\setbeamercolor{itemize item}{fg=\secondcolor}
|
||||||
\setbeamertemplate{itemize subitem}{\textendash}
|
\setbeamertemplate{itemize subitem}{\textendash}
|
||||||
|
|
||||||
% navigation
|
% navigation
|
||||||
@ -94,7 +115,7 @@
|
|||||||
\mdfdefinestyle{partie}{
|
\mdfdefinestyle{partie}{
|
||||||
outerlinewidth=1em, outerlinecolor=white,%
|
outerlinewidth=1em, outerlinecolor=white,%
|
||||||
% leftmargin=-1em, rightmargin=-1em,%
|
% leftmargin=-1em, rightmargin=-1em,%
|
||||||
middlelinewidth=1.2pt, linecolor=red,roundcorner=5pt,%
|
middlelinewidth=1.2pt, linecolor={\secondcolor},roundcorner=5pt,%
|
||||||
apptotikzsetting={
|
apptotikzsetting={
|
||||||
\tikzset{
|
\tikzset{
|
||||||
mdfbackground/.append style={
|
mdfbackground/.append style={
|
||||||
@ -107,7 +128,7 @@
|
|||||||
\mdfdefinestyle{sspartie}{
|
\mdfdefinestyle{sspartie}{
|
||||||
outerlinewidth=1em, outerlinecolor=white,%
|
outerlinewidth=1em, outerlinecolor=white,%
|
||||||
% leftmargin=-1em, rightmargin=-1em,%
|
% leftmargin=-1em, rightmargin=-1em,%
|
||||||
middlelinewidth=1.2pt, linecolor=lapislazuli,roundcorner=5pt,%
|
middlelinewidth=1.2pt, linecolor=\firstcolor,roundcorner=5pt,%
|
||||||
apptotikzsetting={
|
apptotikzsetting={
|
||||||
\tikzset{
|
\tikzset{
|
||||||
mdfbackground/.append style={
|
mdfbackground/.append style={
|
||||||
@ -164,7 +185,7 @@
|
|||||||
\begin{frame}
|
\begin{frame}
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\begin{mdframed}[style=partie]
|
\begin{mdframed}[style=partie]
|
||||||
\centering \textcolor{red}{\textbf{ \cType{partiecounter}. #1}}
|
\centering \textcolor{\secondcolor}{\textbf{ \cType{partiecounter}. #1}}
|
||||||
\end{mdframed}
|
\end{mdframed}
|
||||||
\end{center}
|
\end{center}
|
||||||
\end{frame}
|
\end{frame}
|
||||||
@ -177,7 +198,7 @@
|
|||||||
\begin{frame}
|
\begin{frame}
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\begin{mdframed}[style=sspartie]
|
\begin{mdframed}[style=sspartie]
|
||||||
\centering \textcolor{lapislazuli}{\textbf{ \cType{sspartiecounter}) #1}}
|
\centering \textcolor{\firstcolor}{\textbf{ \cType{sspartiecounter}) #1}}
|
||||||
\end{mdframed}
|
\end{mdframed}
|
||||||
\end{center}
|
\end{center}
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
Loading…
Reference in New Issue
Block a user