\documentclass{standalone}
\standaloneconfig{margin=0.5cm}
%%%%%%%%%%%%%%%%%%%
\usepackage{tgchorus}
\usepackage[T1]{fontenc}
%%%%%%%%%%%%%%%%%%%
\usepackage[margin=15mm]{geometry}
\usepackage{tikz}
\usepackage{amsmath,amssymb,mathrsfs,tikz,pifont}
\usepackage{enumitem}
\usetikzlibrary{shadows.blur} % Bibliothèque pour les ombres
\newcommand\circitem[1]{%
\tikz[baseline=(char.base)]{
\node[circle,draw=gray, fill=white!85, % Couleur plus vive
minimum size=1.2em,inner sep=0] (char) {#1};}}
\newcommand\boxitem[1]{%
\tikz[baseline=(char.base)]{
\node[fill=blue!10,
minimum size=1.2em,inner sep=0] (char) {#1};}}
\setlist[enumerate,1]{label=\protect\circitem{\arabic*}}
\setlist[enumerate,2]{label=\protect\boxitem{\alph*}}
\usepackage{array,multirow}
\usepackage[most]{tcolorbox}
\newtcolorbox{exa}[2][]{enhanced,breakable,before skip=2mm,after skip=5mm,
colback=white!50!white, % Fond plus vif
colframe=blue!50, % Bordure plus vive
boxrule=0.5mm,
attach boxed title to top left ={xshift=0.6cm,yshift*=1mm-\tcboxedtitleheight},
fonttitle=\bfseries,
title={#2},#1,
boxed title style={frame code={
\path[fill=blue!30,blur shadow={shadow blur steps=5}] % Effet d'ombre
([yshift=-1mm,xshift=-1mm]frame.north west)
arc[start angle=0,end angle=180,radius=1mm]
([yshift=-1mm,xshift=1mm]frame.north east)
arc[start angle=180,end angle=0,radius=1mm];
\path[left color=blue,right color = blue!60!black,
middle color = blue]
([xshift=-2mm]frame.north west) -- ([xshift=2mm]frame.north east)
[rounded corners=1mm]-- ([xshift=1mm,yshift=-1mm]frame.north east)
-- (frame.south east) -- (frame.south west)
-- ([xshift=-1mm,yshift=-1mm]frame.north west)
[sharp corners]-- cycle;
},interior engine=empty,
},interior style={top color=white!10!white, bottom color=white!50!white}} % Dégradé de couleur
\begin{document}
\vskip2cm
\begin{exa}[colbacktitle=blue!85]{Exercice 1}
Dans $\mathscr{M}_2(\mathbb{R})$, on considère le sous-ensemble :
\[
E = \left\{M(x) = \begin{pmatrix}
x & x \\
0 & 0
\end{pmatrix} \mid x \in \mathbb{R}\right\}, \text{ On pose : } E^* = E - \{M(0)\}
\]
\end{exa}
\end{document}
0 Comments, Latest
No comments yet. Be the first to Comment