summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-text/pst-text-doc.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-22 21:49:26 +0000
committerKarl Berry <karl@freefriends.org>2018-12-22 21:49:26 +0000
commit064f129c479cbbbf18976c1250f880bb4e2fab56 (patch)
tree008f2345b18193191ee96be329aead2c768e25cc /Master/texmf-dist/doc/generic/pst-text/pst-text-doc.tex
parente246c1a36719fa89b7c182dfa7ec587005b43fff (diff)
pst-text (22dec18)
git-svn-id: svn://tug.org/texlive/trunk@49477 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-text/pst-text-doc.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pst-text/pst-text-doc.tex77
1 files changed, 59 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-text/pst-text-doc.tex b/Master/texmf-dist/doc/generic/pst-text/pst-text-doc.tex
index ccd11a4fd31..d5801859495 100644
--- a/Master/texmf-dist/doc/generic/pst-text/pst-text-doc.tex
+++ b/Master/texmf-dist/doc/generic/pst-text/pst-text-doc.tex
@@ -1,18 +1,26 @@
-%% $Id: pst-func-doc.tex 64 2008-12-08 22:14:27Z herbert $
-\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
- headexclude,footexclude,oneside]{pst-doc}
-\usepackage[utf8]{inputenc}
-\usepackage{pst-plot,pst-text,pst-grad}
+%% $Id: pst-text-doc.tex 873 2018-12-22 19:34:12Z herbert $
+\documentclass[fontsize=11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,
+ headings=small, headinclude=false,footinclude=false,oneside,abstract=on]{pst-doc}
+\usepackage{pst-plot,pst-grad,pst-text}
\let\pstTextFV\fileversion
-\lstset{pos=t,language=PSTricks,
- morekeywords={psGammaDist,psChiIIDist,psTDist,psFDist,psBetaDist,psPlotImpl},basicstyle=\footnotesize\ttfamily}
-%
+\usepackage{dtk-logos}
+
+
+\renewcommand\bgImage{%
+\begin{pspicture}(10,5)
+\psWarp[fillcolor=red!40,fontsize=0.5cm,font=Times-Roman]{Some Text manipulations}%
+\end{pspicture}%
+}
+
+\addbibresource{\jobname.bib}
+
+
\begin{document}
\title{\texttt{pst-text}}
\subtitle{Manipulate text and characters; v.\pstTextFV}
-\author{Timothy Van Zandt\\Herbert Vo\ss}
-\docauthor{Herbert Vo\ss}
+\author{Timothy Van Zandt\\Herbert Voß}
+\docauthor{Herbert Voß}
\date{\today}
\maketitle
@@ -44,7 +52,7 @@ Thanks to: Lars Kotthoff, Geoff Mercer
% ---------------------------------------------------------------------------------------
The package \LPack{pst-text} defines only one macro for text manipulations.
\begin{BDef}
-\Lcs{pstextpath}\OptArg\Largr{x,y}\Largb{Graphic object}\Largb{Text}
+\Lcs{pstextpath}\OptArg{\Largr{x,y}}\Largb{Graphic object}\Largb{Text}
\end{BDef}
\begin{description}
@@ -183,10 +191,10 @@ Verzweifelt legst du dich nieder -
Doch der Frieden, er kommt nicht wieder -
Die Augen sind hellwach -
Es beginnt doch erst die Nacht -
-Leicht d\"mmerst du in den Schlaf -
+Leicht d\"ammerst du in den Schlaf -
und kommst dir vor, wie in einem Grab -
Mit einem Mal bist du hellwach -
-Es ist, als h\"ttest du dauernd gedacht, -
+Es ist, als h\"attest du dauernd gedacht, -
Nun verstehst du alles, wie es war \ldots
}
\end{pspicture}
@@ -212,16 +220,18 @@ Verzweifelt legst du dich nieder -
Doch der Frieden, er kommt nicht wieder -
Die Augen sind hellwach -
Es beginnt doch erst die Nacht -
-Leicht d\"mmerst du in den Schlaf -
+Leicht d\"ammerst du in den Schlaf -
und kommst dir vor, wie in einem Grab -
Mit einem Mal bist du hellwach -
-Es ist, als h\"ttest du dauernd gedacht, -
+Es ist, als h\"attest du dauernd gedacht, -
Nun verstehst du alles, wie es war \ldots
}
\end{pspicture}
\end{lstlisting}
+
+
\section{Character manipulations}\label{sec:psttext:Zeichenmanipulationen}
% ---------------------------------------------------------------------------------------
With character manipulations the same issue with the \verb+DVI-PS+ driver applies,
@@ -459,11 +469,42 @@ It should be kept in mind that alternatively \Lcs{pscharpath} may be
used in conjunction with \Lcs{psboxfill}.
+\section{Warping a text}
+
+\begin{BDef}
+\Lcs{psWarp}\OptArgs\OptArg{\Largr{x,y}}\Largb{Text}
+\end{BDef}
+
+Optional arguments are
+
+\begin{description}
+\item[\texttt{font}] Textfont, predefined as NimbusSanL-Regu. It must be a PostScript font.
+\item[\texttt{fontsize}] Predefined to 24pt
+\item[\texttt{fillcolor}] Predefined as red!40
+\item[\texttt{doublecolor}] The fillcolor for the doubleline, predefined as blue
+\end{description}
+
+
+\begin{pspicture}(10,5)
+\psWarp[fillcolor=red!40,fontsize=0.5cm,font=Times-Roman]{All is Fun with the typesetting system LaTeX}%
+\psWarp[fillcolor=green,fontsize=12pt](0,2){What a wonderfull day, it is raining and
+ I do not know what to do...}%
+\end{pspicture}
+
+
+\begin{lstlisting}
+\begin{pspicture}(10,5)
+\psWarp[fillcolor=red!40,fontsize=0.5cm,font=Times-Roman]{All is Fun with the typesetting system LaTeX}%
+\psWarp[fillcolor=green,fontsize=12pt](0,2){What a wonderfull day, it is raining and
+ I do not know what to do...}%
+\end{pspicture}
+\end{lstlisting}
+
+
\nocite{*}
\bgroup
-\raggedright
-\bibliographystyle{plain}
-\bibliography{\jobname}
+\RaggedRight
+\printbibliography
\egroup
\printindex