diff options
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.tex | 50 |
1 files changed, 49 insertions, 1 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 d5801859495..a3617818d8b 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,4 +1,4 @@ -%% $Id: pst-text-doc.tex 873 2018-12-22 19:34:12Z herbert $ +%% $Id: pst-text-doc.tex 887 2018-12-29 13:17:59Z 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} @@ -469,6 +469,54 @@ It should be kept in mind that alternatively \Lcs{pscharpath} may be used in conjunction with \Lcs{psboxfill}. +\section{Writing outline text on a circle} + +\begin{BDef} +\Lcs{psCircleText}\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{radius}] The radius for the circled text +\end{description} + + +\begin{pspicture}[showgrid](10,10) +\psCircleText[fontsize=6.5mm,radius=4cm](5,5){All is Fun with the typesetting system TeX}% +\psCircleText[fillcolor=blue!40,fontsize=1cm,font=Helvetica](5,5){All is Fun within the World}% +\end{pspicture} + + +\begin{lstlisting} +\begin{pspicture}[showgrid](10,10) +\psCircleText[fontsize=6.5mm,radius=4cm](5,5){All is Fun with the typesetting system TeX}% +\psCircleText[fillcolor=blue!40,fontsize=1cm,font=Helvetica](5,5){All is Fun within the World}% +\end{pspicture} +\end{lstlisting} + +The radius is preset to 2cm: + +\begin{pspicture}(10,10) +\psCircleText[fontsize=6.5mm,radius=4cm](5,5){All is Fun with the typesetting system TeX}% +\psCircleText[fillcolor=blue!40,fontsize=1cm,font=Helvetica](5,5){All is Fun within the World}% +\pscircle[linecolor=red](5,5){4cm}\pscircle[linecolor=blue](5,5){2cm} +\end{pspicture} + + +\begin{lstlisting} +\begin{pspicture}(10,10) +\psCircleText[fontsize=6.5mm,radius=4cm](5,5){All is Fun with the typesetting system TeX}% +\psCircleText[fillcolor=blue!40,fontsize=1cm,font=Helvetica](5,5){All is Fun within the World}% +\pscircle[linecolor=red](5,5){4cm}\pscircle[linecolor=blue](5,5){2cm} +\end{pspicture} +\end{lstlisting} + + + \section{Warping a text} \begin{BDef} |