diff options
author | Karl Berry <karl@freefriends.org> | 2020-12-21 22:09:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-12-21 22:09:04 +0000 |
commit | 55de2da667a45a8269b59b299be7b44cb11906f7 (patch) | |
tree | 543dc9d1c39dfc71f77c397dca453fc5dc29db19 /Master/texmf-dist/tex/latex | |
parent | c95edccc8198456a8a1a43c7b2c70a02ca8d84ac (diff) |
pygmentex (21dec20)
git-svn-id: svn://tug.org/texlive/trunk@57190 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/pygmentex/pygmentex.sty | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/pygmentex/pygmentex.sty b/Master/texmf-dist/tex/latex/pygmentex/pygmentex.sty index a0ddd911b8d..60e7bcda30b 100644 --- a/Master/texmf-dist/tex/latex/pygmentex/pygmentex.sty +++ b/Master/texmf-dist/tex/latex/pygmentex/pygmentex.sty @@ -2,7 +2,7 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{pygmentex}[2014/08/12 v0.8 A Pygmentex layer for LaTeX] +\ProvidesPackage{pygmentex}[2020/12/21 v0.10 A Pygmentex layer for LaTeX] \RequirePackage{fancyvrb} \RequirePackage{color} @@ -13,9 +13,9 @@ \RequirePackage{efbox} \RequirePackage[framemethod=tikz]{mdframed} -%\DeclareCaptionType[within=chapter]{code}[Listagem][Lista de listagens] -\DeclareCaptionType{code}[Listagem][Lista de listagens] -\captionsetup[code]{position=top} +%\DeclareCaptionType[within=chapter]{pygcode}[Listagem][Lista de listagens] +\DeclareCaptionType{pygcode}[Listagem][Lista de listagens] +\captionsetup[pygcode]{position=top} % ========================================================= % Auxiliary: @@ -246,14 +246,14 @@ % \ifdefined\pygmented@opt@label \def\pygmented@title{% - \captionof{code}{\label{\pygmented@opt@label}\pygmented@opt@caption}% + \captionof{pygcode}{\label{\pygmented@opt@label}\pygmented@opt@caption}% % \nopagebreak \vskip -0.7\baselineskip }% \else \ifdefined\pygmented@opt@caption \def\pygmented@title{% - \captionof{code}{\pygmented@opt@caption}% + \captionof{pygcode}{\pygmented@opt@caption}% % \nopagebreak \vskip -0.7\baselineskip }% |