diff options
Diffstat (limited to 'graphics/pstricks/base/doc/pst-news21.tex')
-rw-r--r-- | graphics/pstricks/base/doc/pst-news21.tex | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/graphics/pstricks/base/doc/pst-news21.tex b/graphics/pstricks/base/doc/pst-news21.tex new file mode 100644 index 0000000000..9fbe4e2f34 --- /dev/null +++ b/graphics/pstricks/base/doc/pst-news21.tex @@ -0,0 +1,91 @@ +%% $Id: pst-news21.tex 157 2021-08-23 18:21:41Z herbert $ +\documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small, + headinclude=false,footinclude=false,twoside]{scrartcl} + +\listfiles +\usepackage[T1]{fontenc} +\usepackage{listings} +\lstset{basicstyle=\ttfamily\small} +\usepackage{libertinus} +\usepackage[scaled=0.88]{beramono} +\usepackage{babel} +\usepackage[svgnames,dvipsnames,x11names,pspdf=-dALLOWPSTRANSPARENCY]{pstricks-pdf} +\usepackage{pstricks-add} +\usepackage{showexpl} +\lstset{explpreset={pos=l,width=-99pt,overhang=0pt,hsep=\columnsep,vsep=\bigskipamount,rframe={}}, + escapechar=?} + +\usepackage{biblatex} +\addbibresource{PSTricks.bib} +\def\Lcs#1{\texttt{\textbackslash#1}} +\begin{document} + +\title{\texttt{News -- \the\year}\\ \Large new macros and bugfixes for the basic package.} +\author{Herbert Voß} +\date{\today} + +\maketitle + +\tableofcontents + +\part{\texttt{pstricks} -- package} + +%-------------------------------------------------------------------------------------- +\section{\texttt{pstricks.sty}} +%-------------------------------------------------------------------------------------- +The optional argument \texttt{gsfonts} can be used to load only the symbol font from GhostScript. +Otherwise the one from URW or the system is used, which is the default. + + + +%-------------------------------------------------------------------------------------- +\section{\texttt{pstricks.tex} (v. 3.03 -- 2021/08/23)} +%-------------------------------------------------------------------------------------- + +\subsection{Arrows} + +There are new arrow tyoes and a new optional argument \texttt{tipcolor}: + + +\begin{LTXexample}[width=5cm] +\begin{pspicture}[showgrid](4.2,3.25) +\psline{-T>}(0,1)(4,1) +\psline[arrowscale=2]{<T-T>}(0,2)(4,2) +\psline[tipcolor=red,arrowscale=2]{<T-}(0,3)(4,3) +\end{pspicture} +\end{LTXexample} + +%\@namedef{psas@T>}{ false \psk@arrowinset \psk@arrowlength \psk@arrowsize \tx@ArrowT }% hv 20210531 +%\@namedef{psas@<T}{ % hv 20071211 +% true \psk@arrowinset \psk@arrowlength \psk@arrowsize \tx@ArrowT +%} + + + +\subsection{Symbolfont} + + +Use by default the URW or system symbol font for \Lcs{psdot}. This can be changes by using +the optional argument \texttt{gsfonts}: + +\begin{verbatim} +\usepackage[gsfonts]{pstricks} +\end{verbatim} + +\TeX-users have to define the switch and + +\begin{verbatim} +\newif\ifpstGSfonts +\pstGSfontsfalse % or true for using GS font + +\input pstricks +... +\end{verbatim} + + +\nocite{*} +\printbibliography + + +\end{document} + |