diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/tcolorbox/tcblistingsutf8.code.tex |
Initial commit
Diffstat (limited to 'macros/latex/contrib/tcolorbox/tcblistingsutf8.code.tex')
-rw-r--r-- | macros/latex/contrib/tcolorbox/tcblistingsutf8.code.tex | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/macros/latex/contrib/tcolorbox/tcblistingsutf8.code.tex b/macros/latex/contrib/tcolorbox/tcblistingsutf8.code.tex new file mode 100644 index 0000000000..46720bc980 --- /dev/null +++ b/macros/latex/contrib/tcolorbox/tcblistingsutf8.code.tex @@ -0,0 +1,33 @@ +%% The LaTeX package tcolorbox - version 4.20 (2019/03/02) +%% tcblistingsutf8.code.tex: Code for colorboxes with listings in UTF-8 +%% +%% ------------------------------------------------------------------------------------------- +%% Copyright (c) 2006-2019 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.20} + +\RequirePackage{listingsutf8}[2011/11/10] +\tcbuselibrary{listings} + +\tcbset{ + listing utf8/.style={listing inputencoding=utf8/#1}, +} + +\tcbset{% + reset@listingsutf8/.style={listing utf8=latin1}, + initialize@reset=reset@listingsutf8, +} + |