diff options
author | Karl Berry <karl@freefriends.org> | 2018-12-30 22:11:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-12-30 22:11:51 +0000 |
commit | 5a8b5044b55dfb4e76f990eb433c7e229906c162 (patch) | |
tree | 6ce99f31e044b1b5bbd52eb7300f201763cd6f2d /Master/texmf-dist/tex | |
parent | bb7737fd4c99d8110fadbf69be86d62160650916 (diff) |
pst-text (30dec18)
git-svn-id: svn://tug.org/texlive/trunk@49542 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pst-text/pst-text.tex | 35 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pst-text/pst-char.sty | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pst-text/pst-text.sty | 8 |
3 files changed, 37 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/generic/pst-text/pst-text.tex b/Master/texmf-dist/tex/generic/pst-text/pst-text.tex index b38689418e5..06cd499c8ed 100644 --- a/Master/texmf-dist/tex/generic/pst-text/pst-text.tex +++ b/Master/texmf-dist/tex/generic/pst-text/pst-text.tex @@ -1,4 +1,5 @@ %% BEGIN pst-text.tex +%% $Id: pst-text.tex 891 2018-12-29 19:42:20Z herbert $ %% %% Placing text on a path with PSTricks 97. %% See the PSTricks User's Guide for description. @@ -6,7 +7,7 @@ %% %% %% COPYRIGHT 1993, 1994, 1999 by Timothy Van Zandt, tvz@nwu.edu. -%% 2006, 2019 Herbert Voss <hvoss@tug.org> +%% 2006--2019 Herbert Voss <hvoss@tug.org> %% %% This program can be redistributed and/or modified under the terms %% of the LaTeX Project Public License Distributed from CTAN @@ -27,8 +28,6 @@ \pst@addfams{pst-text} - - \pstheader{pst-text.pro} % \def\pstextpath{\@ifnextchar[{\pstextpath@}{\pstextpath@[l]}} @@ -199,9 +198,35 @@ } \end@ClosedObj } - - % +\def\psCircleText{\def\pst@par{}\pst@object{psCircleText}} +\def\psCircleText@i{\@ifnextchar(\psCircleText@ii{\psCircleText@ii(0,0)}} +\def\psCircleText@ii(#1)#2{% + \addbefore@par{fillcolor=red!40,linewidth=0.01pt,radius=2cm}% + \begin@ClosedObj + \pst@getcoor{#1}\pst@tempCoor + \pssetlength\pst@dimb\psk@radius + \pstverb{ + /\psk@warpfont findfont \psk@warpfontsize\space scalefont setfont + /circtxt (#2) def + /circwidth circtxt stringwidth pop def + \pst@tempCoor translate + circwidth 2 div neg \pst@number\pst@dimb moveto + circtxt true charpath + tx@TextPathDict begin + circit + gsave + \pst@usecolor\psfillcolor + fill + grestore + \pst@number\pslinewidth setlinewidth + stroke + end + }% + \end@ClosedObj +} +% + \catcode`\@=\TheAtCode\relax \endinput %% diff --git a/Master/texmf-dist/tex/latex/pst-text/pst-char.sty b/Master/texmf-dist/tex/latex/pst-text/pst-char.sty index 01ee5fa215d..9e2bda63c3e 100644 --- a/Master/texmf-dist/tex/latex/pst-text/pst-char.sty +++ b/Master/texmf-dist/tex/latex/pst-text/pst-char.sty @@ -1,5 +1,5 @@ %% -%% pst-grad.sty Copyright (C) 2008-- Herbert Voss <voss@pstricks.de> +%% pst-char.sty Copyright (C) 2008-- Herbert Voss <voss@pstricks.de> %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{pst-char} diff --git a/Master/texmf-dist/tex/latex/pst-text/pst-text.sty b/Master/texmf-dist/tex/latex/pst-text/pst-text.sty index fed1eb8c59d..58918c668fd 100644 --- a/Master/texmf-dist/tex/latex/pst-text/pst-text.sty +++ b/Master/texmf-dist/tex/latex/pst-text/pst-text.sty @@ -1,7 +1,11 @@ \RequirePackage{pstricks} -\ProvidesPackage{pst-text}[2006/01/01 package wrapper for pst-text.tex (hv)] +\ProvidesPackage{pst-text}[2018/12/28 package wrapper for pst-text.tex (hv)] \input{pst-text.tex} \ProvidesFile{pst-text.tex} [\filedate\space \fileversion\space `pst-text' (tvz)] -\IfFileExists{pst-text.pro}{\@addtofilelist{pst-text.pro}}{}% +\IfFileExists{pst-text.pro}{% + \ProvidesFile{pst-text.pro}[2018/12/28 v. 1.02, PostScript prologue file] + \@addtofilelist{pst-text.pro}}{}% \endinput + +%% $Id: pst-text.sty 891 2018-12-29 19:42:20Z herbert $ |