summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_en/06-03-4.ltx
blob: 3a5f2f97d47b74b9a630e15fe3f8d58f84c5e5f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
%% 
%%  A DANTE-Edition example
%% 
%%  Example 06-03-4 on page 77.
%% 
%%  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{375.57637pt}
\setlength\parindent{0pt}

\usepackage{pstricks}

\begin{document}
\psset{dotscale=5}
\begin{pspicture}[showgrid](0,0.55)(4,3.49)
  \psdots[dotstyle=diamond](1,3)(2,3)(3,3)
  \psdots[dotstyle=diamond*](1,2)(2,2)(3,2)
  \psdots[dotstyle=Bdiamond](1,1)(2,1)(3,1)
\end{pspicture}
\qquad
\newpsfontdot{diamond}[1.9 -0.4 -0.9 1.5 -0.8 -0.70775]{Symbol}{<E0>}
\newpsfontdot{diamond*}[2.3 -0.6 0.8 2.3 -0.8533 -0.5336]{Symbol}{<A8>}
\newpsfontdotH{Bdiamond}[2.0 0.2 -0.5 -0.75 0.1 0.1      ]{PSTricksDotFont}{(D)}{(l)}
\begin{pspicture}[showgrid](0,0.55)(4,3.49)
  \psdots[dotstyle=diamond](1,3)(2,3)(3,3)
  \psdots[dotstyle=diamond*](1,2)(2,2)(3,2)
  \psdots[dotstyle=Bdiamond](1,1)(2,1)(3,1)
\end{pspicture}
\par\bigskip
\newpsfontdot{diamond}[1.5 0.0 0.0 1.9 -0.4598 -0.70775]{Symbol}{<E0>}
\newpsfontdot{diamond*}[2 0.0 0.0 2.3 -0.8533 -0.5336   ]{Symbol}{<A8>}
\newpsfontdotH{Bdiamond}[1.0 0.2 0.5 0.75 -0.1 0.1       ]{PSTricksDotFont}{(D)}{(l)}
\begin{pspicture}[showgrid](0,0.55)(4,3.49)
  \psdots[dotstyle=diamond](1,3)(2,3)(3,3)
  \psdots[dotstyle=diamond*](1,2)(2,2)(3,2)
  \psdots[dotstyle=Bdiamond](1,1)(2,1)(3,1)
\end{pspicture}
\qquad
\newpsfontdotH{diamond}[1.9 0.0 0.0 1.0 0.0 0.25]{PSTricksDotFont}{(d)}{(l)}
\newpsfontdot{diamond*}[0.5 0.0 0.0 1.0 0.0 0.0 ]{PSTricksDotFont}{(l)}
\newpsfontdotH{Bdiamond}[1.0 0.2 0.5 0.75 0.0 0.0]{PSTricksDotFont}{(D)}{(l)}
\begin{pspicture}[showgrid](0,0.55)(4,3.49)
  \psdots[dotstyle=diamond](1,3)(2,3)(3,3)
  \psdots[dotstyle=diamond*](1,2)(2,2)(3,2)
  \psdots[dotstyle=Bdiamond](1,1)(2,1)(3,1)
\end{pspicture}
\end{document}