From 7a5cbec8578dedfeb168e392e7e6c954fd2a62b5 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 16 Dec 2021 21:18:04 +0000 Subject: pst-hsb (16dec21) git-svn-id: svn://tug.org/texlive/trunk@61322 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/pst-hsb/Changes | 8 ++ Master/texmf-dist/doc/generic/pst-hsb/README | 19 +++ .../texmf-dist/doc/generic/pst-hsb/pst-hsb-doc.bib | 106 ++++++++++++++ .../texmf-dist/doc/generic/pst-hsb/pst-hsb-doc.pdf | Bin 0 -> 200014 bytes .../texmf-dist/doc/generic/pst-hsb/pst-hsb-doc.tex | 153 +++++++++++++++++++++ 5 files changed, 286 insertions(+) create mode 100644 Master/texmf-dist/doc/generic/pst-hsb/Changes create mode 100644 Master/texmf-dist/doc/generic/pst-hsb/README create mode 100644 Master/texmf-dist/doc/generic/pst-hsb/pst-hsb-doc.bib create mode 100644 Master/texmf-dist/doc/generic/pst-hsb/pst-hsb-doc.pdf create mode 100644 Master/texmf-dist/doc/generic/pst-hsb/pst-hsb-doc.tex (limited to 'Master/texmf-dist/doc/generic') diff --git a/Master/texmf-dist/doc/generic/pst-hsb/Changes b/Master/texmf-dist/doc/generic/pst-hsb/Changes new file mode 100644 index 00000000000..8a38b6c68af --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-hsb/Changes @@ -0,0 +1,8 @@ +..... pst-hsb.tex +0.02 2017-12-17 - small fixes +0.01 2012-01-01 - first version + + +..... pst-hsb.sty + 2012-01-01 first version + diff --git a/Master/texmf-dist/doc/generic/pst-hsb/README b/Master/texmf-dist/doc/generic/pst-hsb/README new file mode 100644 index 00000000000..cd130d90cc4 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-hsb/README @@ -0,0 +1,19 @@ +If you have one of the official TeX distribution installed, then +all files are still present or can be installed by using the file manager. +Otherwise save the files pst-hsb.sty|tex in a directory, which is part of your +local TeX tree. +Then do not forget to run texhash to update this tree. + +pst-hsb needs pst-plot (pstricks-add) and pstricks, which should +be part of your local TeX installation, otherwise get it from a +CTAN server, https://mirror.ctan.org + +PSTricks is PostScript Tricks, the documentation cannot be run +with pdftex, use the sequence latex->dvips->ps2pdf or simply lualatex. + +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN archives +%% in directory macros/latex/base/lppl.txt. + + +%% $Id: README 350 2021-12-16 10:20:18Z herbert $ diff --git a/Master/texmf-dist/doc/generic/pst-hsb/pst-hsb-doc.bib b/Master/texmf-dist/doc/generic/pst-hsb/pst-hsb-doc.bib new file mode 100644 index 00000000000..f6ac03b8a01 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-hsb/pst-hsb-doc.bib @@ -0,0 +1,106 @@ +%% -*-bibtex-*- +@STRING{tugboat = {TUGboat} } +@STRING{beiprogramm = {{\TeX}-Beiprogramm} } +@STRING{bretter = {Bretter, die die Welt bedeuten} } +@STRING{dtk = {{D}ie {\TeX}nische {K}om{\"o}die} } +@STRING{editorial = {Editorial} } +@STRING{fremdebuehne = {Von fremden B{\"u}hnen} } +@STRING{fundus = {Aus dem Fundus} } +@STRING{hinterbuehne = {Hinter der B{\"u}hne} } +@STRING{leserbrief = {Leserbrief(e)} } +@STRING{magazin = {Magazin} } +@STRING{rezension = {Rezensionen} } +@STRING{schonimmer = {Was Sie schon immer {\"u}ber {\TeX} wissen wollten \dots} } +@STRING{theaterkasse = {Von der Theaterkasse} } +@STRING{theatertage = {{\TeX}-Theatertage} } + +@Book{PSTricks2, + author = {Herbert Vo\ss}, + title = {{\PST} {G}rafik f\"ur \TeX{} und \LaTeX}, + edition = {7}, + publisher = {DANTE and Lehmanns}, + year = {2016}, + address = {Heidelberg/Berlin} +} + +@Book{PSTricks-E, + author = {Herbert Vo\ss}, + title = {{\PST} {G}raphics for \LaTeX}, + edition = {1}, + publisher = {UIT}, + year = {2011}, + address = {Cambridge} +} + +@Book{companion04, + author = {Frank Mittelbach and Michel Goosens et al}, + title = {The {\LaTeX} {C}ompanion}, + edition = {2}, + publisher = {Addison-Wesley Publishing Company}, + year = {2004}, + address = {Boston} +} + +@Book{unbound, + author = {Alan Hoenig}, + title = {\TeX{} {U}nbound: \LaTeX{} \& \TeX{} {S}trategies, {F}onts, {G}raphics, and {M}ore}, + publisher = {Oxford University Press}, + year = {1998}, + address = {London} +} +@Book{tlgc2, + author = {Michel Goosens and Frank Mittelbach and Sebastian Rahtz and Denis Roegel and Herbert Vo{\ss}}, + title = {The {\LaTeX} {G}raphics {C}ompanion}, + publisher = {{Addison-Wesley Publishing Company}}, + edition = 2, + year = {2007}, + address = {Reading, Mass.} +} + +@Article{girou:01:, + author = {Denis Girou}, + title = {Pr\'esentation de {PST}ricks}, + journal = {Cahier {GUT}enberg}, + year = 1994, + volume = {16}, + month = apr, + pages = {21-70} +} + +@Article{girou:02:, + author = {{Timothy Van} Zandt and Denis Girou}, + title = {Inside {PST}ricks}, + journal = TUGboat, + year = 1994, + volume = {15}, + month = sep, + pages = {239-246} +} + +@Book{PostScript, + Author = {Kollock, Nikolai G.}, + Title = {PostScript richtig eingesetzt: vom {K}onzept zum + praktischen {E}insatz}, + Publisher = {IWT}, + Address = {Vaterstetten}, + year = 1989, +} + +@Manual{pstricks, + Title = {PSTricks - {\PS} macros for generic {\TeX}}, + Author = {{Timothy Van} Zandt}, + Organization = {}, + Address = {\url{http://www.tug.org/application/PSTricks}}, + Note = {}, + year = 1993 +} + +@Manual{multido, + Title = {\texttt{multido.tex} - a loop macro, that supports fixed-point addition}, + Author = {{Timothy Van} Zandt}, + Organization = {}, + Address = {\url{CTAN:/graphics/pstricks/generic/multido.tex}}, + Note = {}, + year = 1997 +} + diff --git a/Master/texmf-dist/doc/generic/pst-hsb/pst-hsb-doc.pdf b/Master/texmf-dist/doc/generic/pst-hsb/pst-hsb-doc.pdf new file mode 100644 index 00000000000..013dc6d181e Binary files /dev/null and b/Master/texmf-dist/doc/generic/pst-hsb/pst-hsb-doc.pdf differ diff --git a/Master/texmf-dist/doc/generic/pst-hsb/pst-hsb-doc.tex b/Master/texmf-dist/doc/generic/pst-hsb/pst-hsb-doc.tex new file mode 100644 index 00000000000..08bbc205273 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-hsb/pst-hsb-doc.tex @@ -0,0 +1,153 @@ +%% $Id: pst-hsb-doc.tex 351 2021-12-16 10:37:40Z herbert $ +\RequirePackage{pdfmanagement-testphase} +\DeclareDocumentMetadata{} +% $Id: pst-hsb-doc.tex 351 2021-12-16 10:37:40Z herbert $ +\documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small, + headinclude=false,footinclude=false,twoside]{pst-doc} +\usepackage{pst-hsb} +\let\psthsbFV\fileversion +\usepackage{xltabular} +\usepackage{pst-plot} +\renewcommand\bgImage{\begin{pspicture}(0,-5)(11,5) +% \psgrid(0,-4)(10,4) +\psaxes{->}(0,0)(0,-4)(11,5) +\psset{plotpoints=300,algebraic}% +\psparametricplotHSB[linewidth=1mm,HueBegin=0,HueEnd=0.5]{0}{6.28}{t/0.628 | sin(t)*4} +\psparametricplotHSB[linewidth=1mm,HueBegin=0.5,HueEnd=0.7]{0}{6.28}{t/0.628 | cos(t)*4} +\psparametricplotHSB[linewidth=1mm,HueBegin=0.8,HueEnd=1]{0}{6.28}{t/0.628 | sin(t)*2} +\end{pspicture}} + +\lstset{language=PSTricks, + morekeywords={psPrintValue},basicstyle=\footnotesize\ttfamily} +% +%\usepackage{biblatex} +\addbibresource{pst-hsb-doc.bib} +\begin{document} + +\title{\texttt{pst-hsb}} +\subtitle{Curves with continoues color; v.\psthsbFV} +\author{Denis Girout\\Manuel Luque\\Herbert Voß} +\docauthor{} +%\date{\today} +\settitle + +\begin{abstract} +This package defines the macros \Lcs{pslineHSB} + \Lcs{parametricplotHSB} for curves with a continous color. + + +\tableofcontents + + + +\vfill +\noindent +Thanks to: +%Denis Girou; Manuel Luque +\end{abstract} + +\newpage + + +\section{Examples} + +\subsection{Lines} +\begin{LTXexample} +\begin{pspicture}(-0.5,-0.5)(11,5) +% \psgrid(0,-4)(10,4) +\psaxes{->}(0,0)(11,5) +\pslineHSB[linewidth=1mm,HueBegin=0,HueEnd=0.5](0,0)(10,1) +\pslineHSB[linewidth=1mm,HueBegin=0.5,HueEnd=0.7](0,1)(10,3) +\pslineHSB[linewidth=1mm,HueBegin=0.8,HueEnd=1](0,2)(10,5) +\end{pspicture} +\end{LTXexample} + + + +\clearpage + +\subsection{Parametric plot} + +\begin{LTXexample} +\begin{pspicture}(0,-5)(11,5) +% \psgrid(0,-4)(10,4) +\psaxes{->}(0,0)(0,-4)(11,5) +\psset{plotpoints=10}% +\psparametricplotHSB[linewidth=1mm,HSB=false,linecolor=red]{0}{360}{t 36 div t sin 4 mul} +\psparametricplotHSB[linewidth=1mm,algebraic]{0}{6.28}{t/0.628 | cos(t)*4} +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample} +\begin{pspicture}(0,-5)(11,5) +% \psgrid(0,-4)(10,4) +\psaxes{->}(0,0)(0,-4)(11,5) +\psset{plotpoints=300}% +\psparametricplotHSB[linewidth=1mm,HSB=false,linecolor=red]{0}{360}{t 36 div t sin 4 mul} +\psparametricplotHSB[linewidth=1mm,algebraic]{0}{6.28}{t/0.628 | cos(t)*4} +\end{pspicture} + \end{LTXexample} + +\begin{LTXexample} +\begin{pspicture}(0,-5)(11,5) +% \psgrid(0,-4)(10,4) +\psaxes{->}(0,0)(0,-4)(11,5) +\psset{plotpoints=300,algebraic}% +\psparametricplotHSB[linewidth=1mm,HueBegin=0,HueEnd=0.5]{0}{6.28}{t/0.628 | sin(t)*4} +\psparametricplotHSB[linewidth=1mm,HueBegin=0.5,HueEnd=0.7]{0}{6.28}{t/0.628 | cos(t)*4} +\psparametricplotHSB[linewidth=1mm,HueBegin=0.8,HueEnd=1]{0}{6.28}{t/0.628 | sin(t)*2} +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample} +\begin{pspicture}(-5,-5)(5,5) + \psframe*[linecolor=lightgray](-5,-4)(5,4) + \psgrid[gridlabels=0,subgriddiv=0](-5,-4)(5,4) + \multido{\nxDiv=-5+0.2}{50}{% + \psline(\nxDiv,-.1)(\nxDiv,0.1)} + \multido{\nyDiv=-4.0+0.2}{40}{% + \psline(-0.1,\nyDiv)(0.1,\nyDiv)} + \psset{linewidth=1mm}% + \psparametricplotHSB[plotpoints=2000,linecolor=blue,HSB=false,yunit=0.5]{-5}{5}{% + /temps t 2e-3 mul def + /frequence2 100 def + frequence2 360 mul temps mul cos + 1 mul 3 add + } + \psparametricplotHSB[plotpoints=2000,yunit=1]{-5}{5}{% + /temps t 2e-3 mul def + /frequence1 1200 def + /frequence2 100 def + frequence2 360 mul temps mul cos + 1 mul 3 add + frequence1 360 mul temps mul cos + 4 mul + mul + 0.1 mul + } +\end{pspicture} +\end{LTXexample} + + + + + + +\clearpage +\section{List of all optional arguments for \texttt{pst-hsb}} + +\xkvview{family=pst-hsb,columns={key,type,default}} + + +\RaggedRight +\nocite{*} +%\bibliographystyle{plain} +\printbibliography + +\printindex + + + +\end{document} + + -- cgit v1.2.3