diff options
Diffstat (limited to 'Master/texmf-dist/tex')
19 files changed, 365 insertions, 46 deletions
diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex index 0cbaf9f86db..263b009d82d 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) %% tcbbreakable.code.tex: Code for breakable colorboxes %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.03} +\tcb@set@library@version{4.10} \let\tcb@parboxrestore@true=\tcb@parboxrestore \let\tcb@parboxrestore@false\tcb@parbox@false@settings @@ -61,6 +61,7 @@ \fi% } +\def\tcb@@break{\par\xleaders\vbox{\rule{0pt}{2\textheight}}\vskip 2\textheight\par} \def\tcb@vbox#1#2{% \edef\reserved@a{% @@ -71,6 +72,7 @@ \def\noexpand\@currenvline{\on@line}}% \reserved@a% \@endpefalse% + \let\tcbbreak\tcb@@break% \color@begingroup% \textwidth\hsize% \columnwidth\hsize% @@ -106,18 +108,29 @@ \else% \ifx\kvtcb@float\@empty% \iftcb@multicol% - \tcbdimto\tcb@h@page{\textheight-\kvtcb@shrinkbreakgoal}% + \ifnum\c@tcbbreakpart>1\relax% + \tcbdimto\tcb@h@page{\@colroom}% + \else% + \ifdim\pagegoal=16383.99998pt + \tcbdimto\tcb@h@page{\@colroom}% + \else% + \@tempdima\pagetotal% + \@whiledim \@tempdima>\@colroom \do{\advance\@tempdima-\@colroom}% + \tcbdimto\tcb@h@page{\@colroom-\@tempdima}% + \fi% + \fi% \else% \ifdim\pagegoal=16383.99998pt - \tcbdimto\tcb@h@page{\vsize-\kvtcb@shrinkbreakgoal}% detects floating objects + \tcbdimto\tcb@h@page{\vsize}% detects floating objects \else% \tcb@comp@compress% - \tcbdimto\tcb@h@page{\pagegoal-\pagetotal+\tcb@compress@height-\kvtcb@shrinkbreakgoal}% + \tcbdimto\tcb@h@page{\pagegoal-\pagetotal+\tcb@compress@height}% \fi% \fi% \else% - \tcbdimto\tcb@h@page{\textheight-\kvtcb@shrinkbreakgoal}% + \tcbdimto\tcb@h@page{\textheight}% \fi% + \tcbdimto\tcb@h@page{\tcb@h@page+\tcb@breakat@dim-\kvtcb@shrinkbreakgoal}% \fi% } diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex index bc9d6c79297..9be6677c483 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbdocumentation.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) %% tcbdocumentation.code.tex: Code for LaTeX documentations %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.03} +\tcb@set@library@version{4.10} \tcbuselibrary{listings,skins,xparse,external} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex index 7a27be14b29..f01113bd3db 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbexternal.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) %% tcbexternal.code.tex: Code for externalization %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.03} +\tcb@set@library@version{4.10} \tcbuselibrary{pro@cessing} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex index 6235ef7c95c..224ff8aeb3b 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbfitting.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) %% tcbfitting.code.tex: Code for fit boxes %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.03} +\tcb@set@library@version{4.10} \newdimen\tcbfitdim \newdimen\tcb@lowerfitdim diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex index 8683711daab..f6e148fe144 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbhooks.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) %% tcbhooks.code.tex: Code for adding hooks %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.03} +\tcb@set@library@version{4.10} \tcbset{% before upper app/.code={\appto\kvtcb@before@upper{#1}},% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex index 80da90c5742..571be13951c 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistings.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) %% tcblistings.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.03} +\tcb@set@library@version{4.10} \RequirePackage{listings}[2007/02/22] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex index d7705cb5507..b787f4b28fd 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingscore.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) %% tcblistingscode.code.tex: Auxiliary code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.03} +\tcb@set@library@version{4.10} \tcbuselibrary{pro@cessing} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex index 317989308d7..d46c0dc4bfb 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcblistingsutf8.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) %% tcblistingsutf8.code.tex: Code for colorboxes with listings in UTF-8 %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.03} +\tcb@set@library@version{4.10} \RequirePackage{listingsutf8}[2011/11/10] \tcbuselibrary{listings} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex index 22756696f16..0c012c642a7 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbmagazine.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) %% tcbmagazine.code.tex: Code for box sets and magazine styles %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.03} +\tcb@set@library@version{4.10} \tcbuselibrary{breakable} @@ -134,6 +134,17 @@ \fi% } +\newrobustcmd{\ifboxarrayempty}[2][default]{% + \begingroup% + \boxarraygetbox[#1]{\tcb@box@array@box}{#2}% + \ifdefined\tcb@box@array@box\relax% + \aftergroup\@secondoftwo% + \else% + \aftergroup\@firstoftwo% + \fi% + \endgroup% +} + \def\boxarraystore#1{% \boxarraygetsize[#1]\tcb@box@array@size% \numdef\tcb@box@array@size{\tcb@box@array@size+1}% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex index 90fb312704c..f08d109a570 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbminted.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) %% tcbminted.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.03} +\tcb@set@library@version{4.10} \RequirePackage{minted}[2011/09/17] @@ -64,7 +64,8 @@ \tcbset{% reset@minted/.style={% minted language=latex, - minted options={tabsize=2,fontsize=\small}, +% minted options={tabsize=2,fontsize=\small,breaklines,autogobble}, + minted options={tabsize=2,fontsize=\small,breaklines,autogobble}, minted style=, listing engine=minted, }, diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex new file mode 100644 index 00000000000..bde2ff3a692 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbposter.code.tex @@ -0,0 +1,274 @@ +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) +%% tcbposter.code.tex: Code for posters +%% +%% ------------------------------------------------------------------------------------------- +%% Copyright (c) 2006-2017 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% ------------------------------------------------------------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `author-maintained'. +%% +%% This work consists of all files listed in README +%% +\tcb@set@library@version{4.10} + +\tcbuselibrary{breakable,magazine,skins,fitting} + +\newif\iftcb@poster@showframe +\newif\iftcb@posterbox@sequence +\newboxarray{tcb@poster} + +\def\tcb@poster@compute@poster@boxheight#1#2{% + \pgfpointanchor{\tcb@poster@prefix#1}{south}\unskip% + \@tempdima\pgf@y% + \pgfpointanchor{\tcb@poster@prefix#2}{north}\unskip% + \advance \@tempdima by -\pgf@y\relax% + \advance \@tempdima by -\tcbposterrowspacing\relax% + \advance \@tempdima by -\tcbposterrowspacing\relax% + \edef\tcb@poster@boxheight{\the\@tempdima}% +} + +\def\poster@scan@sequence#1 between #2 and #3 then#4\@nil{% + \tcb@poster@compute@poster@boxheight{#2}{#3}% + \ifundef{\tcb@poster@firstboxheight}{\edef\tcb@poster@firstboxheight{\tcb@poster@boxheight}}{}% + \eappto\tcb@poster@breakat{\tcb@poster@boxheight/}% + \@tempcnta\numexpr#1\relax% + \listeadd\tcb@poster@list{{\tcb@poster@prefix col\@arabic\@tempcnta.west|-\tcb@poster@prefix#2.south}{\tcb@poster@boxheight}}% + \ifblank{#4}{}{\poster@scan@sequence#4\@nil}% +} + +\newenvironment{tcb@poster@env}{% + \let\posterbox\tcb@poster@box% + \let\posterboxenv\tcb@poster@boxenv% + \let\endposterboxenv\endtcb@poster@boxenv% + \ifundef\tcb@poster@height{% + \ifnum\c@tcblayer=0\relax% + \def\tcb@poster@height{\textheight}% + \else% + \ifdim\dimexpr\tcbtextheight>0pt\relax% + \def\tcb@poster@height{\tcbtextheight}% + \else% + \def\tcb@poster@height{0.75\textheight}% + \fi% + \fi}{}% + \tcbset{poster/.cd,poster@poster}% + \tcbdimto\tcbposterwidth{\tcb@poster@width}% + \tcbdimto\tcbposterheight{\tcb@poster@height}% + \tcbdimto\tcbpostercolspacing{\tcb@poster@colspacing}% + \tcbdimto\tcbposterrowspacing{\tcb@poster@rowspacing}% + \edef\tcbpostercolumns{\the\numexpr\tcb@poster@columns\relax}% + \edef\tcbposterrows{\the\numexpr\tcb@poster@rows\relax}% + \tcbdimto\tcbpostercolwidth{(\tcbposterwidth+\tcbpostercolspacing)/\tcbpostercolumns-\tcbpostercolspacing}% + \tcbdimto\tcbposterrowheight{(\tcbposterheight+\tcbposterrowspacing)/\tcbposterrows-\tcbposterrowspacing}% + \begin{tikzpicture}% + \path[use as bounding box] (0,0) rectangle (\tcbposterwidth,\tcbposterheight); + \node[name=\tcb@poster@prefix poster,at={(0,0)},line width=0mm,inner sep=0mm,outer sep=0mm,draw=none,fill=none,rectangle, + above right,minimum width=\tcbposterwidth,minimum height=\tcbposterheight]{}; + \coordinate (\tcb@poster@prefix top) at (0,\tcbposterheight+\tcbposterrowspacing); + \coordinate (\tcb@poster@prefix bottom) at (0,-\tcbposterrowspacing); + \coordinate (\tcb@poster@prefix middle) at (0,\the\dimexpr0.5\dimexpr\tcbposterheight\relax); + \begin{scope}[every node/.style={inner sep=0pt,outer sep=0,above right,minimum height=\tcbposterheight,minimum width=\tcbpostercolwidth}]% + \node (\tcb@poster@prefix col1) at (0,0) {}; + \@tempcnta 1% + \@tempcntb\numexpr\tcbpostercolumns\relax% + \@tempdima\dimexpr\tcbpostercolwidth+\tcbpostercolspacing\relax% + \@whilenum \@tempcnta<\@tempcntb \do{% + \edef\tcb@temp{\tcb@poster@prefix col\@arabic\@tempcnta}% + \advance\@tempcnta 1\relax% + \node[xshift=\tcbpostercolspacing] (\tcb@poster@prefix col\@arabic\@tempcnta) at (\tcb@temp.south east) {}; + }% + \end{scope}% + \begin{scope}[every node/.style={inner sep=0pt,outer sep=0,below right,minimum height=\tcbposterrowheight,minimum width=\tcbposterwidth}]% + \node (\tcb@poster@prefix row1) at (0,\tcbposterheight) {}; + \@tempcnta 1% + \@tempcntb\numexpr\tcbposterrows\relax% + \@tempdima\dimexpr\tcbposterrowheight+\tcbposterrowspacing\relax% + \@whilenum \@tempcnta<\@tempcntb \do{% + \edef\tcb@temp{\tcb@poster@prefix row\@arabic\@tempcnta}% + \advance\@tempcnta 1\relax% + \node[yshift=-\tcbposterrowspacing] (\tcb@poster@prefix row\@arabic\@tempcnta) at (\tcb@temp.south west) {}; + }% + \end{scope}% + \iftcb@poster@showframe% + \@tempcnta 0% + \@tempcntb\numexpr\tcbpostercolumns\relax% + \@whilenum \@tempcnta<\@tempcntb \do{% + \advance\@tempcnta 1\relax% + \edef\tcb@temp{\tcb@poster@prefix col\@arabic\@tempcnta}% + \draw[red] (\tcb@temp.north west) node[above right]{col\@arabic\@tempcnta} rectangle (\tcb@temp.south east); + }% + \@tempcnta 0% + \@tempcntb\numexpr\tcbposterrows\relax% + \@whilenum \@tempcnta<\@tempcntb \do{% + \advance\@tempcnta 1\relax% + \edef\tcb@temp{\tcb@poster@prefix row\@arabic\@tempcnta}% + \draw[red] (\tcb@temp.north west) node[below left]{row\@arabic\@tempcnta} rectangle (\tcb@temp.south east); + }% + \gdef\tcb@poster@framelist{}% + \fi% +}{% + \iftcb@poster@showframe% + \renewcommand*{\do}[1]{% + \node[red,fill=white,opacity=0.7,font=\Large] at (\tcb@poster@prefix##1) {##1};}% + \dolistloop{\tcb@poster@framelist}% + \gdef\tcb@poster@framelist{}% + \fi% +\end{tikzpicture}} + +% #1 tcolorbox options +% #2 position +% #3 Inhalt +\newcommand{\tcb@poster@box}[3][]{% + \bgroup% + \tcbset{posterloc/.cd,#2}% + \tcbdimto\tcb@poster@boxwidth{\tcb@poster@span\dimexpr\tcbpostercolwidth+\tcbpostercolspacing\relax-\tcbpostercolspacing}% + \iftcb@posterbox@sequence% + \begin{pgfinterruptpicture}% + \begin{tcolorbox}[tcb@poster@style,width=\tcb@poster@boxwidth,tcb@poster@boxheight, + height fixed for=all,#1, + enforce breakable,reset box array=tcb@poster,store to box array=tcb@poster]#3\end{tcolorbox}% + \end{pgfinterruptpicture}% + \def\tcb@poster@boxcount{0}% + \renewcommand*{\do}[1]{\edef\tcb@poster@boxcount{\the\numexpr\tcb@poster@boxcount+1\relax}% + \node[inner sep=0pt,outer sep=0,tcb@poster@node,name=\tcb@poster@prefix\tcb@poster@boxname\tcb@poster@boxcount] at (\@firstoftwo##1) {% + \ifboxarrayempty[tcb@poster]{\tcb@poster@boxcount}% + {\begin{tcolorbox}[placeholder,width=\tcb@poster@boxwidth,height=\@secondoftwo##1]\end{tcolorbox}}% + {\consumeboxarray[tcb@poster]{\tcb@poster@boxcount}}% + };}% + \dolistloop{\tcb@poster@list}% + \iftcb@poster@showframe% + \ifdefstring{\tcb@poster@boxname}{@}{}{% + \def\tcb@poster@boxcount{0}% + \renewcommand*{\do}[1]{\edef\tcb@poster@boxcount{\the\numexpr\tcb@poster@boxcount+1\relax}% + \listxadd\tcb@poster@framelist{\tcb@poster@boxname\tcb@poster@boxcount}}% + \dolistloop{\tcb@poster@list}% + }% + \fi% + \else% + \begin{pgfinterruptpicture}% + \begin{tcolorbox}[tcb@poster@style,width=\tcb@poster@boxwidth,tcb@poster@boxheight,#1, + reset box array=tcb@poster,store to box array=tcb@poster]#3\end{tcolorbox}% + \end{pgfinterruptpicture}% + \node[inner sep=0pt,outer sep=0,tcb@poster@node,name=\tcb@poster@prefix\tcb@poster@boxname] at (\tcb@poster@xpos|-\tcb@poster@ypos) + {\consumeboxarray[tcb@poster]{1}};% + \iftcb@poster@showframe% + \ifdefstring{\tcb@poster@boxname}{@}{}{\listxadd\tcb@poster@framelist{\tcb@poster@boxname}}% + \fi% + \fi% + \egroup% +} + +\newenvironment{tcb@poster@boxenv}[2][]{% + \newcommand{\tcb@poster@box@saved}{\posterbox[#1]{#2}{\tcbusetemp}}% + \tcbwritetemp}% + {\endtcbwritetemp\tcb@poster@box@saved} + +\newenvironment{tcbposter@coverage}{}{} + +\newenvironment{tcbposter}[1][]{% + \tcbposterset{#1}% + \begin{tcbposter@coverage}\begin{tcb@poster@env}% +}{\end{tcb@poster@env}\end{tcbposter@coverage}} + +\newcommand{\tcbposterset}[1]{\tcbset{posterset/.cd,#1}} + +\tcbset{% + poster/.cd, + width/.store in=\tcb@poster@width, + height/.store in=\tcb@poster@height, + colspacing/.store in=\tcb@poster@colspacing, + rowspacing/.store in=\tcb@poster@rowspacing, + spacing/.style={colspacing={#1},rowspacing={#1}}, + columns/.store in=\tcb@poster@columns, + rows/.store in=\tcb@poster@rows, + showframe/.is if=tcb@poster@showframe, + prefix/.store in=\tcb@poster@prefix, + % + width=\linewidth, + spacing=4mm, + columns=3, + rows=4, + showframe=false, + prefix=TCBPOSTER@, +} + +\tcbset{% + posterloc/.cd, + name/.store in=\tcb@poster@boxname, + column/.code={\edef\tcb@poster@xpos{\tcb@poster@prefix col#1.west}\edef\tcb@poster@orientation{right}},% + column*/.code={\edef\tcb@poster@xpos{\tcb@poster@prefix col#1.east}\edef\tcb@poster@orientation{left}},% + below/.code={\tcb@posterbox@sequencefalse% + \tikzset{tcb@poster@node/.style={below \tcb@poster@orientation,yshift=\the\dimexpr\tcb@poster@yshift-\tcbposterrowspacing\relax,xshift=\tcb@poster@xshift}}% + \tcbset{tcb@poster@boxheight/.style={natural height}}% + \edef\tcb@poster@ypos{\tcb@poster@prefix#1.south}}, + above/.code={\tcb@posterbox@sequencefalse% + \tikzset{tcb@poster@node/.style={above \tcb@poster@orientation,yshift=\the\dimexpr\tcb@poster@yshift+\tcbposterrowspacing\relax,xshift=\tcb@poster@xshift}}% + \tcbset{tcb@poster@boxheight/.style={natural height}}% + \edef\tcb@poster@ypos{\tcb@poster@prefix#1.north}}, + at/.code={\tcb@posterbox@sequencefalse% + \tikzset{tcb@poster@node/.style={\tcb@poster@orientation,yshift=\tcb@poster@yshift,xshift=\tcb@poster@xshift}}% + \tcbset{tcb@poster@boxheight/.style={natural height}}% + \edef\tcb@poster@ypos{\tcb@poster@prefix#1}}, + between/.code args={#1 and #2}{\tcb@posterbox@sequencefalse% + \tikzset{tcb@poster@node/.style={below \tcb@poster@orientation,yshift=\the\dimexpr\tcb@poster@yshift-\tcbposterrowspacing\relax,xshift=\tcb@poster@xshift}}% + \edef\tcb@poster@ypos{\tcb@poster@prefix#1.south}% + \tcb@poster@compute@poster@boxheight{#1}{#2}% + \tcbset{tcb@poster@boxheight/.style={height=\tcb@poster@boxheight}}% + }, + sequence/.code={\tcb@posterbox@sequencetrue% + \tikzset{tcb@poster@node/.style={below \tcb@poster@orientation,yshift=\the\dimexpr\tcb@poster@yshift-\tcbposterrowspacing\relax,xshift=\tcb@poster@xshift}}% + \undef\tcb@poster@firstboxheight% + \def\tcb@poster@breakat{}% + \def\tcb@poster@list{}% + \poster@scan@sequence #1 then\@nil% + \eappto\tcb@poster@breakat{\tcbposterheight}% + \tcbset{tcb@poster@boxheight/.style={break at=\tcb@poster@breakat,height=\tcb@poster@firstboxheight}}% + }, + row/.code={\tcb@posterbox@sequencefalse% + \tikzset{tcb@poster@node/.style={below \tcb@poster@orientation,yshift=\tcb@poster@yshift,xshift=\tcb@poster@xshift}}% + \tcbset{posterloc/fixed height}% + \edef\tcb@poster@ypos{\tcb@poster@prefix row#1.north}}, + % + span/.store in=\tcb@poster@span,% + row@span/.store in=\tcb@poster@rowspan,% + rowspan/.style={row@span=#1,fixed height},% + xshift/.store in=\tcb@poster@xshift,% + yshift/.store in=\tcb@poster@yshift,% + fixed height/.code={\tcbset{tcb@poster@boxheight/.style={height=\tcb@poster@rowspan\dimexpr\tcbposterrowheight+\tcbposterrowspacing\relax-\tcbposterrowspacing}}},% + % + name=@, + column=1, + below=top, + span=1, + row@span=1, + xshift=0pt, + yshift=0pt, +} + +\tcbposterset{% + coverage/.code={\renewtcolorbox{tcbposter@coverage}{% + enhanced,frame hidden,sharp corners,boxsep=0pt,boxrule=0pt, + top=4mm,bottom=4mm,left=4mm,right=4mm, + toptitle=2mm,bottomtitle=2mm,colback=white,#1}}, + no coverage/.code={\renewenvironment{tcbposter@coverage}{}{}}, + poster/.code={\tcbset{poster/.cd,poster@poster/.style={#1}}}, + boxes/.code={\tcbset{tcb@poster@style/.style={nobeforeafter,enhanced standard,#1}}}, + fontsize/.code={\tcbset{fit fontsize macros}\tcbsetforeverylayer{fit basedim=#1}\normalsize}, + % + poster,boxes +} + +\tcbset{placeholder/.style={enhanced jigsaw, + size=small,sharp corners,colframe=red!50!black, + interior style={bottom color=red!15!white,top color=blue!15!white}, + opacityback=0.5, + underlay={\draw[red!50!black,line cap=round] (interior.south west)--(interior.north east); + \draw[red!50!black,line cap=round] (interior.south east)--(interior.north west);}, +}}% diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex index 862460c2afd..d057b5d925a 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbprocessing.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) %% tcbprocessing.code.tex: Code for conditional processing %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.03} +\tcb@set@library@version{4.10} \RequirePackage{pdftexcmds} \RequirePackage{shellesc} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex index 40dd5f56b9d..c4be5240dbe 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbraster.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) %% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.03} +\tcb@set@library@version{4.10} \newcounter{tcbrastercolumn} \newcounter{tcbrasterrow} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex index 5ef279ace2e..2141c092324 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) %% tcbskins.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.03} +\tcb@set@library@version{4.10} \RequirePackage{tikz}[2010/10/13] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex index 3f9f3931750..94a1aeb2d96 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) %% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.03} +\tcb@set@library@version{4.10} \tcbuselibrary{skins} @@ -219,6 +219,8 @@ \tcbset{% enhanced jigsaw/.style={skin=enhanced jigsaw},% + enhanced standard jigsaw/.style={skin=enhanced jigsaw, + skin first=enhanced jigsaw,skin middle=enhanced jigsaw,skin last=enhanced jigsaw},% frame engine/pathjigsaw/.style={frame code=\tcb@drawframe@pathjigsaw}, frame engine/pathfirstjigsaw/.style={frame code=\tcb@drawframe@pathfirstjigsaw}, frame engine/pathmiddlejigsaw/.style={frame code=\tcb@drawframe@pathmiddlejigsaw}, diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbtheorems.code.tex index 7c66df3af9a..93c0f3eacbc 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 4.03 (2017/04/25) +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) %% 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{4.03} +\tcb@set@library@version{4.10} \RequirePackage{amsmath} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex index c9a79578cbf..aa46fe13b38 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbvignette.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) %% tcbvignette.code.tex: Code for ornamental frames %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{4.03} +\tcb@set@library@version{4.10} \tcbuselibrary{skins} diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex b/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex index a8594fa3754..19ad7eaae2f 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) %% tcbxparse.code.tex: Code for xparse features %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{4.03} +\tcb@set@library@version{4.10} \RequirePackage{xparse}[2013/12/31] diff --git a/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty b/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty index 0c991b172ca..14e676bf822 100644 --- a/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty +++ b/Master/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 4.03 (2017/04/25) +%% The LaTeX package tcolorbox - version 4.10 (2017/07/05) %% tcolorbox.sty: Text color boxes %% %% ------------------------------------------------------------------------------------------- @@ -18,8 +18,8 @@ %% This work consists of all files listed in README %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{tcolorbox}[2017/04/25 version 4.03 text color boxes] -\def\tcb@version{4.03} +\ProvidesPackage{tcolorbox}[2017/07/05 version 4.10 text color boxes] +\def\tcb@version{4.10} \RequirePackage{pgf}[2008/01/15] \RequirePackage{verbatim}[2003/08/22] @@ -315,6 +315,14 @@ natural height/.code={\tcb@fixedheightfalse\tcb@@ch@@operation{\tcb@ch@natural}}, height/.code={\tcb@fixedheighttrue\tcb@dim@to\kvtcb@height@fixed{#1}\tcb@@ch@@operation{\tcb@ch@fixed}}, text height/.code={\tcb@fixedheighttrue\tcb@dim@to\kvtcb@height@fixed{#1}\tcb@@ch@@operation{\tcb@ch@innerfixed}}, + inherit height/.code={% + \ifdim\dimexpr\tcb@outer@textheight>\z@\relax% + \tcbdimto\tcb@inherited@height{#1\dimexpr\tcb@outer@textheight}% + \tcbset{height=\tcb@inherited@height}% + \else% + \tcbset{natural height}% + \fi}, + inherit height/.default=1, add to height/.code={\iftcb@fixedheight\tcbdimto\kvtcb@height@fixed{\kvtcb@height@fixed+(#1)}\fi}, add to natural height/.code={\tcb@fixedheightfalse\def\kvtcb@height@natural@plus{#1}\tcb@@ch@@operation{\tcb@ch@natural@plus}}, height plus/.dimstore in=\kvtcb@height@fixed@plus,% @@ -700,7 +708,11 @@ \setbox\z@=\color@hbox##1\color@endbox\ifdim\wd\z@<\tcb@w@upper\relax\makebox[\tcb@w@upper][l]{\box\z@}\else\box\z@\fi}}, tcbox width/minimum right/.code={\tcb@set@embed@tcbox{% \setbox\z@=\color@hbox##1\color@endbox\ifdim\wd\z@<\tcb@w@upper\relax\makebox[\tcb@w@upper][r]{\box\z@}\else\box\z@\fi}}, - } + verbatim ignore percent/.is choice, + verbatim ignore percent/true/.code={\def\tcb@verbatim@change@percent{\catcode`\^^e=9}}, + verbatim ignore percent/false/.code={\let\tcb@verbatim@change@percent\@empty}, + verbatim ignore percent/.default=true, +} \def\kvtcb@beforebox{} \def\kvtcb@afterbox{} @@ -754,6 +766,7 @@ \def\noexpand\@currenvline{\on@line}}% \reserved@a \@endpefalse + \let\tcbbreak\par% \csname tcb@parbox@use@\kvtcb@parbox\endcsname% \tcb@minipage#2\tcb@hyph@fix\ignorespaces} \let\endtcb@lrbox=\endminipage @@ -1048,8 +1061,11 @@ \addtocounter{tcblayer}{-1}% } +\let\tcbtextheight\tcb@zpt% + \long\def\tcb@apply@box@options#1{% \let\tcb@space\tcb@zpt% + \let\tcb@outer@textheight\tcbtextheight% \let\tcbtextheight\tcb@zpt% \let\tcbtextwidth\tcb@zpt% \tcbset{#1}\tcb@lateoptions@hook\tcb@afteroptions@hook% @@ -1977,13 +1993,14 @@ \let\tcb@verbatim@begin@hook\@empty \let\tcb@verbatim@end@hook\@empty +\let\tcb@verbatim@change@percent\@empty \def\tcbverbatimwrite#1{% \@bsphack \immediate\openout\tcb@out #1 \tcb@verbatim@begin@hook% \let\do\@makeother\dospecials - \catcode`\^^M\active \catcode`\^^I=12 + \tcb@verbatim@change@percent\catcode`\^^M\active \catcode`\^^I=12 \def\verbatim@processline{% \immediate\write\tcb@out {\the\verbatim@line}}% @@ -2168,10 +2185,11 @@ \tcb@add@library{xparse}{tcbxparse.code.tex} \tcb@add@library{external}{tcbexternal.code.tex} \tcb@add@library{vignette}{tcbvignette.code.tex} +\tcb@add@library{poster}{tcbposter.code.tex} \tcb@add@library@style{many}{raster,skins,breakable,hooks,theorems,fitting,xparse} -\tcb@add@library@style{most}{many,listingsutf8,external,magazine,vignette} -\tcb@add@library@style{all}{many,minted,listingsutf8,external,magazine,vignette,documentation} +\tcb@add@library@style{most}{many,listingsutf8,external,magazine,vignette,poster} +\tcb@add@library@style{all}{many,minted,listingsutf8,external,magazine,vignette,poster,documentation} \ProcessOptions* \begingroup\edef\x{\endgroup\noexpand\tcbuselibrary{\tcb@optionlist}}\x |