diff options
author | Karl Berry <karl@freefriends.org> | 2014-11-02 21:53:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-11-02 21:53:14 +0000 |
commit | cd753845429d84c7f01270618abcbdeae44a2b0e (patch) | |
tree | 4ac0b5c516d9e33ae26f966744dbee4cea5176ab /Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex | |
parent | 31b58f2ce8cf672d2c8298a57906dae0e327604a (diff) |
tcolorbox (31oct14)
git-svn-id: svn://tug.org/texlive/trunk@35489 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex index 48809563ce0..67f702a00c6 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 3.21 (2014/10/10) +%% The LaTeX package tcolorbox - version 3.22 (2014/10/31) %% tcbtheorems.code.tex: Code for theorems in colorboxes %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{3.21} +\tcb@set@library@version{3.22} \RequirePackage{amsmath} @@ -55,6 +55,22 @@ \fi% } +\if@fleqn% +\tcbset{% + ams equation upper/.style={before upper=\tcb@hack@amsmath\equation,after upper=\endequation},% + ams equation lower/.style={before lower=\tcb@hack@amsmath\equation,after lower=\endequation},% + ams equation* upper/.style={before upper=\tcb@hack@amsmath\csname equation*\endcsname,after upper=\endequation},% + ams equation* lower/.style={before lower=\tcb@hack@amsmath\csname equation*\endcsname,after lower=\endequation}% +}% +\else% +\tcbset{% + ams equation upper/.style={before upper=\tcb@hack@currenvir\equation,after upper=\endequation},% + ams equation lower/.style={before lower=\tcb@hack@currenvir\equation,after lower=\endequation},% + ams equation* upper/.style={before upper=\tcb@hack@currenvir\csname equation*\endcsname,after upper=\endequation},% + ams equation* lower/.style={before lower=\tcb@hack@currenvir\csname equation*\endcsname,after lower=\endequation},% +}% +\fi + \tcbset{ theorem/.style args={#1#2#3#4}{% step and label={#2}{#4},% @@ -62,11 +78,7 @@ math upper/.style={before upper=$\displaystyle,after upper=$},% math lower/.style={before lower=$\displaystyle,after lower=$},% math/.style={math upper,math lower},% - ams equation upper/.style={before upper=\tcb@hack@currenvir\equation,after upper=\endequation},% - ams equation lower/.style={before lower=\tcb@hack@currenvir\equation,after lower=\endequation},% ams equation/.style={ams equation upper,ams equation lower},% - ams equation* upper/.style={before upper=\tcb@hack@currenvir\csname equation*\endcsname,after upper=\endequation},% - ams equation* lower/.style={before lower=\tcb@hack@currenvir\csname equation*\endcsname,after lower=\endequation},% ams equation*/.style={ams equation* upper,ams equation* lower},% ams align upper/.style={before upper=\tcb@hack@amsmath\align,after upper=\endalign},% ams align lower/.style={before lower=\tcb@hack@amsmath\align,after lower=\endalign},% |