diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples-en/08-02-8.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/pstricks-examples-en/08-02-8.ltx | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples-en/08-02-8.ltx b/Master/texmf-dist/doc/latex/pstricks-examples-en/08-02-8.ltx new file mode 100644 index 00000000000..588c83cd0d9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pstricks-examples-en/08-02-8.ltx @@ -0,0 +1,85 @@ +%% +%% A DANTE-Edition example +%% +%% Example 08-02-8 on page 101. +%% +%% Copyright (C) 2011 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} + +\usepackage{pstricks-add,booktabs,ragged2e} +\usepackage[utf8]{inputenc} + +\begin{document} +\def\CMD#1{\texttt{\small\textbackslash#1}} +\def\Lkeyword#1{\texttt{\small#1}} +\psset{arrowscale=1.8,linecolor=red,unit=1cm,linewidth=0.75pt} +\begin{tabular}{@{} p{3cm} p{7.5cm} @{}}\toprule +\emph{name} & \emph{example}\\\midrule +\Lkeyword{ArrowInside}\newline +\psline[ArrowInside=->](0,0.1)(2,0.1) + & \CMD{psline[ArrowInside=->](0,0)(2,0)}\tabularnewline +% +\Lkeyword{ArrowInsidePos} \newline +\psline[ArrowInside=->, ArrowInsidePos=0.25](0,0.1)(2,0.1) +& \CMD{psline[ArrowInside=->,}\newline + \hspace*{2em}\texttt{ArrowInsidePos=0.25](0,0)(2,0)}\tabularnewline +% +\Lkeyword{ArrowInsidePos} \newline +\psline[ArrowInside=->, ArrowInsidePos=10](0,0.1)(2,0.1) +& \CMD{psline[ArrowInside=->,}\newline + \hspace*{2em}\texttt{ArrowInsidePos=10](0,0)(2,0)}\tabularnewline +% +\Lkeyword{ArrowInsideNo} \newline +\psline[ArrowInside=->, ArrowInsideNo=2](0,0.1)(2,0.1) +& \CMD{psline[ArrowInside=->,}\newline + \hspace*{2em}\texttt{ArrowInsideNo=2](0,0)(2,0)}\tabularnewline +% +\Lkeyword{ArrowInsideOffset} \newline +\psline[ArrowInside=->, ArrowInsideNo=2,ArrowInsideOffset=0.1](0,0.1)(2,0.1) +& \CMD{psline[ArrowInside=->,}\newline + \hspace*{2em}\texttt{ArrowInsideNo=2,}\newline + \hspace*{2em}\texttt{ArrowInsideOffset=0.1](0,0)(2,0)}\tabularnewline +% +\Lkeyword{ArrowInside} \newline +\psline[ArrowInside=->]{->}(0,0)(2,0) +& \CMD{psline[ArrowInside=->]\{->\}(0,0)(2,0)}\tabularnewline +% +\Lkeyword{ArrowInsidePos} \newline +\psline[ArrowInside=->, ArrowInsidePos=0.25]{->}(0,0)(2,0) +& \CMD{psline[ArrowInside=->,}\newline + \hspace*{2em}\texttt{ArrowInsidePos=0.25]\{->\}(0,0)(2,0)}\tabularnewline +% +\Lkeyword{ArrowInsidePos} \newline +\psline[ArrowInside=->, ArrowInsidePos=10]{->}(0,0)(2,0) +& \CMD{psline[ArrowInside=->,}\newline + \hspace*{2em}\texttt{ArrowInsidePos=10]\{->\}(0,0)(2,0)}\tabularnewline +% +\Lkeyword{ArrowInsideNo} \newline +\psline[ArrowInside=->, ArrowInsideNo=2]{->}(0,0)(2,0) +& \CMD{psline[ArrowInside=->,}\newline + \hspace*{2em}\texttt{ArrowInsideNo=2]\{->\}(0,0)(2,0)}\tabularnewline +% +\Lkeyword{ArrowInsideOffset} \newline +\psline[ArrowInside=->, ArrowInsideNo=2,ArrowInsideOffset=0.1]{->}(0,0)(2,0) % +& \CMD{psline[ArrowInside=->,ArrowInsideNo=2,}\newline + \hspace*{2em}\texttt{ArrowInsideOffset=0.1]\{->\}(0,0)(2,0)}\tabularnewline +% +\Lkeyword{ArrowFill} \newline +\psline[arrowscale=3,ArrowFill=false]{<->>}(0,0)(2,0) % +& \CMD{psline[arrowscale=3,}\newline + \hspace*{2em}\texttt{ArrowFill=false]\{<->\/>\}(0,0)(2,0)}\\\bottomrule +\end{tabular} +\end{document} |