summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pst-exa
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-09-13 22:05:42 +0000
committerKarl Berry <karl@freefriends.org>2017-09-13 22:05:42 +0000
commitce7643832e815cb88d6b094fd4a6230d6b8df779 (patch)
treeabc727adba6bf42411dfa42a38be8b4ade9e40c6 /Master/texmf-dist/tex/latex/pst-exa
parentd6ff3070e027de3b86593e9813d4804c76351b85 (diff)
pst-exa (14sep17)
git-svn-id: svn://tug.org/texlive/trunk@45289 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pst-exa')
-rw-r--r--Master/texmf-dist/tex/latex/pst-exa/pst-exa.sty62
1 files changed, 31 insertions, 31 deletions
diff --git a/Master/texmf-dist/tex/latex/pst-exa/pst-exa.sty b/Master/texmf-dist/tex/latex/pst-exa/pst-exa.sty
index 6dba2a4f926..d34e296c942 100644
--- a/Master/texmf-dist/tex/latex/pst-exa/pst-exa.sty
+++ b/Master/texmf-dist/tex/latex/pst-exa/pst-exa.sty
@@ -5,7 +5,7 @@
%% each other with PSTricks.
%%
%% COPYRIGHT 2015- by Herbert Voss, <hvoss@tug.org>
-%% Pablo Gozález Luengo <pablogonz@yahoo.com>
+%% Pablo Gonz\'{a}lez Luengo <pablogonz@yahoo.com>
%%
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
@@ -13,8 +13,8 @@
%%
%
\NeedsTeXFormat{LaTeX2e}
-\def\filedate{2014/09/24}
-\def\fileversion{v0.5}
+\def\filedate{2017/09/11}
+\def\fileversion{v0.06}
\ProvidesPackage{pst-exa}[\filedate\space\fileversion\space]
\RequirePackage{etoolbox}
\RequirePackage{xcolor}
@@ -25,7 +25,7 @@
\tcbuselibrary{listings,breakable,skins,xparse}%
\newcommand*{\noaccsupp}[1]{\BeginAccSupp{ActualText={}}#1\EndAccSupp{}}
\renewcommand*\SX@Info{}%
-% Colors
+% Colors
\definecolor{hellgelb}{rgb}{1,1,0.8}
\definecolor{colKeys}{rgb}{0,0,1}
\definecolor{colIdentifier}{rgb}{0,0,0}
@@ -109,7 +109,6 @@ literate=*{\{}{{\textcolor{blue}{\{}}}{1}
\SX@tempa{\SX@codefile}\par%
\endgroup
\else
- \sbox\SX@tempbox{\includegraphics{\SX@graphicname}}
\begin{center}
\expandafter\includegraphics\expandafter[\SX@graphicparam]{\SX@graphicname}
\end{center}
@@ -230,43 +229,43 @@ literate=*{\{}{{\textcolor{blue}{\{}}}{1}
\tcbset{
numbers/true/.style={%
listing options={%
- style=pstexample,%
- numbers=left,%
- numbersep=0.5em,%
- framesep=\fboxsep,%
- framerule=\fboxrule,%
- xleftmargin=-\dimexpr\fboxsep-\fboxrule\relax,%
- xrightmargin=\dimexpr\fboxsep+\fboxrule\relax,%
- numberstyle=\tiny\color{black!75}\noaccsupp,%
- }% close listings options
+ style=pstexample,%
+ numbers=left,%
+ numbersep=0.5em,%
+ framesep=\fboxsep,%
+ framerule=\fboxrule,%
+ xleftmargin=-\dimexpr\fboxsep-\fboxrule\relax,%
+ xrightmargin=\dimexpr\fboxsep+\fboxrule\relax,%
+ numberstyle=\tiny\color{black!75}\noaccsupp,%
+ }% close listings options
},% close numbers true
numbers/none/.style={%
listing options={%
- style=pstexample,%
- xleftmargin=-1.5em,%
- xrightmargin=-\dimexpr\fboxsep-\fboxrule\relax,%
- numbers=none
- }% close listings options
+ style=pstexample,%
+ xleftmargin=-1.5em,%
+ xrightmargin=-\dimexpr\fboxsep-\fboxrule\relax,%
+ numbers=none
+ }% close listings options
},% close numbers none
numbers/out/.style={%
listing options={%
- style=pstexample,%
- xleftmargin=-1.5em,%
- numbers=left,%
+ style=pstexample,%
+ xleftmargin=-1.5em,%
+ numbers=left,%
numbersep=1em,%
- numberstyle=\tiny\color{black!75}\noaccsupp,%
- }% close listings options
+ numberstyle=\tiny\color{black!75}\noaccsupp,%
+ }% close listings options
},% close numbers out
numbers/fancy/.style={
overlay={\begin{tcbclipinterior}\fill[red!20!blue!20!white] (frame.south west)%
- rectangle ([xshift=12pt]frame.north west);\end{tcbclipinterior}},%
+ rectangle ([xshift=12pt]frame.north west);\end{tcbclipinterior}},%
listing options={%
- style=pstexample,%
- numbers=left,%
- numbersep=0.85em,%
+ style=pstexample,%
+ numbers=left,%
+ numbersep=0.85em,%
xleftmargin=0em,%
- numberstyle=\tiny\color{black!75}\noaccsupp,%
- }% close listings options
+ numberstyle=\tiny\color{black!75}\noaccsupp,%
+ }% close listings options
}%,%
} % close tcb settings
% Default PSTexample environment style
@@ -303,10 +302,11 @@ pscode/.style={%
top=-2.5mm,bottom=-2.5mm,boxsep=3pt,%
fonttitle=\bfseries\small,boxrule=0.8pt
}% close psexample settings
-}
+}
% Define PSTexample environment
\NewTCBListing{PSTexample}{O{}}{psexample,#1}
\NewTCBListing{PSTcode}{O{}}{pscode,#1}
%% end PSTexample environment
\fi
\endinput
+