diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/interfaces/interfaces-makecell.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/interfaces/interfaces-makecell.sty | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/interfaces/interfaces-makecell.sty b/Master/texmf-dist/tex/latex/interfaces/interfaces-makecell.sty index 9550d65cb2d..bd34673d932 100644 --- a/Master/texmf-dist/tex/latex/interfaces/interfaces-makecell.sty +++ b/Master/texmf-dist/tex/latex/interfaces/interfaces-makecell.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% interfaces : 2010/12/07 v2.5 - interfaces : interfaces with keys for other packages (FC) +%% interfaces : 2010/12/27 v2.6 - interfaces : interfaces with keys for other packages (FC) %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -21,11 +21,12 @@ %% interfaces.sty, interfaces.pdf, interfaces.ins, %% interfaces-base.sty, %% interfaces-LaTeX.sty, +%% interfaces-graphics.sty, %% interfaces-tikz.sty, %% interfaces-titlesec.sty, %% interfaces-hyperref.sty, %% interfaces-bookmark.sty, -%% interfaces-hypbmsec.sty,interfaces-hypbmsec.code.tex, +%% interfaces-hypbmsec.sty, %% interfaces-fancyhdr.sty, %% interfaces-marks.sty, %% interfaces-tocloft.sty, @@ -44,35 +45,35 @@ %% Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> %% \ProvidesPackage{interfaces-makecell} - [2010/12/07 v2.5 repeatcell to fill in tabulars (FC)] + [2010/12/27 v2.6 repeatcell to fill in tabulars (FC)] \RequirePackage{interfaces-base} \itf@Check@Package{makecell} \edef\itf@AtEnd{\catcode126 \the\catcode126}% 126 = ~ \AtEndOfPackage{\itf@AtEnd} \catcode126 \active % 126 = ~ -\itf@pgfkeys \def\countvalues#1{\number\numexpr \expandafter\itf@countvalues\expandafter0#1,\countvalues\@nnil }% \countvalues -\def\itf@countvalues#1#2,#3\@nnil{% +\def\itf@countvalues#1#2,#3{% \ifx\countvalues#3% +#1\expandafter\remove@to@nnil \else +1\expandafter\itf@countvalues - \fi1#3\@nnil + \fi1#3% }% \itf@countvalues -\def\itf@getvalue#1#2{\romannumeral-`\q - \expandafter\itf@getv@lue\expandafter0#1,\itf@getvalue\@nil{#2-1}\@nnil -}% \itf@getvalue -\def\itf@getv@lue#1#2,#3\@nil#4\@nnil{% - \ifnum\numexpr#1=\numexpr#4\relax - #2\expandafter\remove@to@nnil - \else\ifx\itf@getvalue#3% - \expandafter\expandafter\expandafter\remove@to@nnil - \else - \expandafter\expandafter\expandafter\itf@getv@lue - \fi\fi{#1+1}#3\@nil#4\@nnil -}% \itf@getv@lue +\def\itf@getvalue #1{\romannumeral -`\q + \expandafter\itf@getv@lue \expandafter0#1,\itf@getvalue} +\def\itf@getv@lue#1#2\itf@getvalue #3{\itf@getv@lu@{#1}{#3-1}#2\itf@getvalue\@nnil} +\def\itf@getv@lu@#1#2#3,#4{% + \ifnum \numexpr#1=\numexpr#2\relax + #3\expandafter\remove@to@nnil + \else\ifx\itf@getvalue#4\@empty + \expandafter\expandafter + \expandafter\remove@to@nnil + \else \expandafter\expandafter + \expandafter\itf@getv@lu@ + \fi\fi{#1+1}{#2}#4% +}% \itf@getv@lu@ \newif\ifitf@celltranspose \newrobustcmd*\repeatcell{\begingroup \iffalse{\fi \ifnum0=`}\fi \itf@repeatcell} \newrobustcmd*\itf@repeatcell[3][]{% @@ -85,7 +86,7 @@ \toksdef\itf@cell=1% local \itf@pgfkeys \pgfqkeys{/itf/makecell/repeatcell}{@reset={#2},#3}% - \toks@{\ifnum0=`{\fi \iffalse}\fi \endgroup}% local + \toks@{\ifnum0=`{}\fi \endgroup}% local \ifnum\itf@row>\z@ % number \edef\itf@rowloop{\noexpand\@whilenum\itf@row<\the\itf@row}% \def\itf@cell@init{\def\r{\row}\let\R\@empty}% |