mirror of
https://github.com/ElegantLaTeX/ElegantBook.git
synced 2026-01-26 04:14:35 +08:00
fix thm color
This commit is contained in:
@@ -909,7 +909,7 @@
|
|||||||
\textcolor{third}{$\spadesuit$}};}},}
|
\textcolor{third}{$\spadesuit$}};}},}
|
||||||
% \newtcbtheorem[auto counter,number within=chapter]{definition}{\definitionname}{defstyle}{def}
|
% \newtcbtheorem[auto counter,number within=chapter]{definition}{\definitionname}{defstyle}{def}
|
||||||
\DeclareTColorBox[auto counter,number within=\ELEGANT@thmcnt]{definition}{ g o t\label g }{
|
\DeclareTColorBox[auto counter,number within=\ELEGANT@thmcnt]{definition}{ g o t\label g }{
|
||||||
common,thmstyle,
|
common,defstyle,
|
||||||
IfValueTF={#1}
|
IfValueTF={#1}
|
||||||
{title={\definitionname~\thetcbcounter\ (#1)}}
|
{title={\definitionname~\thetcbcounter\ (#1)}}
|
||||||
{
|
{
|
||||||
@@ -975,7 +975,7 @@
|
|||||||
IfBooleanTF={#3}{label=#4}{label={lem:#4}}}
|
IfBooleanTF={#3}{label=#4}{label={lem:#4}}}
|
||||||
% \newtcbtheorem[auto counter,number within=chapter]{proposition}{\propositionname}{propstyle}{pro}
|
% \newtcbtheorem[auto counter,number within=chapter]{proposition}{\propositionname}{propstyle}{pro}
|
||||||
\DeclareTColorBox[auto counter,number within=\ELEGANT@thmcnt]{proposition}{ g o t\label g }{
|
\DeclareTColorBox[auto counter,number within=\ELEGANT@thmcnt]{proposition}{ g o t\label g }{
|
||||||
common,thmstyle,
|
common,propstyle,
|
||||||
IfValueTF={#1}
|
IfValueTF={#1}
|
||||||
{title={\propositionname~\thetcbcounter\ (#1)}}
|
{title={\propositionname~\thetcbcounter\ (#1)}}
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user