Debian Codegraph @

texmf-dist/tex/latex/tkz-euclide/tkz-lib-eu-marks.tex

raw
1 % tkz-eu-lib-marks.tex
2 % Copyright 2011-2026 Alain Matthes
3 % SPDX-License-Identifier: LPPL-1.3c
4 % Maintainer: Alain Matthes
5
6 \typeout{2026/01/25 5.13c tkz-lib-eu-marks.tex}
7 \makeatletter
8 %<--------------------------------------------------------------------------–>
9 % Création des symboles
10 %<--------------------------------------------------------------------------–>
11 \def\tkz@undefined{none}
12 % double bar
13 \pgfdeclareplotmark{||}
14 {%
15 \pgfpathmoveto{\pgfqpoint{2\pgflinewidth}{\pgfplotmarksize}}
16 \pgfpathlineto{\pgfqpoint{2\pgflinewidth}{-\pgfplotmarksize}}
17 \pgfpathmoveto{\pgfqpoint{-2\pgflinewidth}{\pgfplotmarksize}}
18 \pgfpathlineto{\pgfqpoint{-2\pgflinewidth}{-\pgfplotmarksize}}
19 \pgfusepathqstroke
20 }
21 %triple bar
22 \pgfdeclareplotmark{|||}
23 {%
24 \pgfpathmoveto{\pgfqpoint{0 pt}{\pgfplotmarksize}}
25 \pgfpathlineto{\pgfqpoint{0 pt}{-\pgfplotmarksize}}
26 \pgfpathmoveto{\pgfqpoint{-3\pgflinewidth}{\pgfplotmarksize}}
27 \pgfpathlineto{\pgfqpoint{-3\pgflinewidth}{-\pgfplotmarksize}}
28 \pgfpathmoveto{\pgfqpoint{3\pgflinewidth}{\pgfplotmarksize}}
29 \pgfpathlineto{\pgfqpoint{3\pgflinewidth}{-\pgfplotmarksize}}
30 \pgfusepathqstroke
31 }
32 % An bar slant
33
34 \pgfdeclareplotmark{s|}
35 {%
36 \pgfpathmoveto{\pgfqpoint{-.70710678\pgfplotmarksize}%
37 {-.70710678\pgfplotmarksize}}
38 \pgfpathlineto{\pgfqpoint{.70710678\pgfplotmarksize}%
39 {.70710678\pgfplotmarksize}}
40 \pgfusepathqstroke
41 }
42
43 % An double bar slant
44
45 \pgfdeclareplotmark{s||}
46 {%
47 \pgfpathmoveto{\pgfqpoint{-0.75\pgfplotmarksize}{-\pgfplotmarksize}}
48 \pgfpathlineto{\pgfqpoint{0.25\pgfplotmarksize}{\pgfplotmarksize}}
49 \pgfpathmoveto{\pgfqpoint{0\pgfplotmarksize}{-\pgfplotmarksize}}
50 \pgfpathlineto{\pgfqpoint{1\pgfplotmarksize}{\pgfplotmarksize}}
51 \pgfusepathqstroke
52 }
53 \pgfdeclareplotmark{s|||}
54 {%
55 \pgfpathmoveto{\pgfqpoint{-0.75\pgfplotmarksize}{-\pgfplotmarksize}}
56 \pgfpathlineto{\pgfqpoint{0.25\pgfplotmarksize}{\pgfplotmarksize}}
57 \pgfpathmoveto{\pgfqpoint{0\pgfplotmarksize}{-\pgfplotmarksize}}
58 \pgfpathlineto{\pgfqpoint{1\pgfplotmarksize}{\pgfplotmarksize}}
59 \pgfpathmoveto{\pgfqpoint{0.75\pgfplotmarksize}{-\pgfplotmarksize}}
60 \pgfpathlineto{\pgfqpoint{1.75\pgfplotmarksize}{\pgfplotmarksize}}
61 \pgfusepathqstroke
62 }
63 % z
64 \pgfdeclareplotmark{z}
65 {%
66 \pgfpathmoveto{\pgfqpoint{0.75\pgfplotmarksize}{-\pgfplotmarksize}}
67 \pgfpathlineto{\pgfqpoint{-0.75\pgfplotmarksize}{-\pgfplotmarksize}}
68 \pgfpathlineto{\pgfqpoint{0.75\pgfplotmarksize}{\pgfplotmarksize}}
69 \pgfpathlineto{\pgfqpoint{-0.75\pgfplotmarksize}{\pgfplotmarksize}}
70 \pgfusepathqstroke
71 }
72 % s
73 \pgfdeclareplotmark{s}
74 {%
75 \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
76 \pgfpathcurveto
77 {\pgfpoint{0pt}{0pt}}
78 {\pgfpoint{-\pgfplotmarksize}{\pgfplotmarksize}}
79 {\pgfpoint{\pgfplotmarksize}{\pgfplotmarksize}}
80 \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
81 \pgfpathcurveto
82 {\pgfpoint{0pt}{0pt}}
83 {\pgfpoint{\pgfplotmarksize}{-\pgfplotmarksize}}
84 {\pgfpoint{-\pgfplotmarksize}{-\pgfplotmarksize}}
85 \pgfusepathqstroke
86 }
87 % infinity
88 \pgfdeclareplotmark{oo}
89 {%
90 \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
91 \pgfpathcurveto
92 {\pgfpoint{0pt}{0pt}}
93 {\pgfpoint{.5\pgfplotmarksize}{1\pgfplotmarksize}}
94 {\pgfpoint{\pgfplotmarksize}{0pt}}
95 \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
96 \pgfpathcurveto
97 {\pgfpoint{0pt}{0pt}}
98 {\pgfpoint{-.5\pgfplotmarksize}{1\pgfplotmarksize}}
99 {\pgfpoint{-\pgfplotmarksize}{0pt}}
100 \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
101 \pgfpathcurveto
102 {\pgfpoint{0pt}{0pt}}
103 {\pgfpoint{.5\pgfplotmarksize}{-1\pgfplotmarksize}}
104 {\pgfpoint{\pgfplotmarksize}{0pt}}
105 \pgfpathmoveto{\pgfqpoint{0pt}{0pt}}
106 \pgfpathcurveto
107 {\pgfpoint{0pt}{0pt}}
108 {\pgfpoint{-.5\pgfplotmarksize}{-1\pgfplotmarksize}}
109 {\pgfpoint{-\pgfplotmarksize}{0pt}}
110 \pgfusepathqstroke
111 }
112 \makeatother
113 \endinput