Bonsoir,
Mon code est le suivant :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 \documentclass{book} \usepackage{xcolor} \usepackage{amsthm} \usepackage{tcolorbox} \tcbuselibrary{skins} \newtcolorbox{mybox}[2][]{ attach boxed title to top left={xshift=0.3cm, yshift*=-\tcboxedtitleheight/2} = {yshift=-8pt}, colback = green!40!black, colframe = green!40!black, fonttitle = \scshape\bfseries, arc=1pt, colbacktitle = green!55!black, title = #2,#1, enhanced, }J'aimerais pouvoir ajouter un compteur suivant le chapitre voir la section après le mot "Proposition". De plus, le texte "Nouvelle proposition" n'est pas totalement à gauche.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 \begin{document} \chapter{Les Entiers Naturels} \begin{mybox}[colback = white, width = 12cm]{Proposition} Nouvelle proposition \end{mybox} \end{document}
Et enfin, comment puis-je changer la police ou même agrandir.
Merci!
Partager