| 1 |
% tkz-lib-marks.tex |
| 2 |
% Copyright 2024 Alain Matthes |
| 3 |
% This work may be distributed and/or modified under the |
| 4 |
% conditions of the LaTeX Project Public License, either version 1.3 |
| 5 |
% of this license or (at your option) any later version. |
| 6 |
% The latest version of this license is in |
| 7 |
% http://www.latex-project.org/lppl.txt |
| 8 |
% and version 1.3 or later is part of all distributions of LaTeX |
| 9 |
% version 2005/12/01 or later. |
| 10 |
% This work has the LPPL maintenance status “maintained”. |
| 11 |
% The Current Maintainer of this work is Alain Matthes. |
| 12 |
|
| 13 |
\def\fileversion{4.21c} |
| 14 |
\def\filedate{2024/01/16} |
| 15 |
\typeout{2024/01/16 4.21c tkz-lib-marks.tex} |
| 16 |
\makeatletter |
| 17 |
%<--------------------------------------------------------------------------–> |
| 18 |
% Création des symboles |
| 19 |
%<--------------------------------------------------------------------------–> |
| 20 |
\def\tkz@undefined{none} |
| 21 |
% double bar |
| 22 |
\pgfdeclareplotmark{||} |
| 23 |
{% |
| 24 |
\pgfpathmoveto{\pgfqpoint{2\pgflinewidth}{\pgfplotmarksize}} |
| 25 |
\pgfpathlineto{\pgfqpoint{2\pgflinewidth}{-\pgfplotmarksize}} |
| 26 |
\pgfpathmoveto{\pgfqpoint{-2\pgflinewidth}{\pgfplotmarksize}} |
| 27 |
\pgfpathlineto{\pgfqpoint{-2\pgflinewidth}{-\pgfplotmarksize}} |
| 28 |
\pgfusepathqstroke |
| 29 |
} |
| 30 |
%triple bar |
| 31 |
\pgfdeclareplotmark{|||} |
| 32 |
{% |
| 33 |
\pgfpathmoveto{\pgfqpoint{0 pt}{\pgfplotmarksize}} |
| 34 |
\pgfpathlineto{\pgfqpoint{0 pt}{-\pgfplotmarksize}} |
| 35 |
\pgfpathmoveto{\pgfqpoint{-3\pgflinewidth}{\pgfplotmarksize}} |
| 36 |
\pgfpathlineto{\pgfqpoint{-3\pgflinewidth}{-\pgfplotmarksize}} |
| 37 |
\pgfpathmoveto{\pgfqpoint{3\pgflinewidth}{\pgfplotmarksize}} |
| 38 |
\pgfpathlineto{\pgfqpoint{3\pgflinewidth}{-\pgfplotmarksize}} |
| 39 |
\pgfusepathqstroke |
| 40 |
} |
| 41 |
% An bar slant |
| 42 |
|
| 43 |
\pgfdeclareplotmark{s|} |
| 44 |
{% |
| 45 |
\pgfpathmoveto{\pgfqpoint{-.70710678\pgfplotmarksize}% |
| 46 |
{-.70710678\pgfplotmarksize}} |
| 47 |
\pgfpathlineto{\pgfqpoint{.70710678\pgfplotmarksize}% |
| 48 |
{.70710678\pgfplotmarksize}} |
| 49 |
\pgfusepathqstroke |
| 50 |
} |
| 51 |
|
| 52 |
% An double bar slant |
| 53 |
|
| 54 |
\pgfdeclareplotmark{s||} |
| 55 |
{% |
| 56 |
\pgfpathmoveto{\pgfqpoint{-0.75\pgfplotmarksize}{-\pgfplotmarksize}} |
| 57 |
\pgfpathlineto{\pgfqpoint{0.25\pgfplotmarksize}{\pgfplotmarksize}} |
| 58 |
\pgfpathmoveto{\pgfqpoint{0\pgfplotmarksize}{-\pgfplotmarksize}} |
| 59 |
\pgfpathlineto{\pgfqpoint{1\pgfplotmarksize}{\pgfplotmarksize}} |
| 60 |
\pgfusepathqstroke |
| 61 |
} |
| 62 |
\pgfdeclareplotmark{s|||} |
| 63 |
{% |
| 64 |
\pgfpathmoveto{\pgfqpoint{-0.75\pgfplotmarksize}{-\pgfplotmarksize}} |
| 65 |
\pgfpathlineto{\pgfqpoint{0.25\pgfplotmarksize}{\pgfplotmarksize}} |
| 66 |
\pgfpathmoveto{\pgfqpoint{0\pgfplotmarksize}{-\pgfplotmarksize}} |
| 67 |
\pgfpathlineto{\pgfqpoint{1\pgfplotmarksize}{\pgfplotmarksize}} |
| 68 |
\pgfpathmoveto{\pgfqpoint{0.75\pgfplotmarksize}{-\pgfplotmarksize}} |
| 69 |
\pgfpathlineto{\pgfqpoint{1.75\pgfplotmarksize}{\pgfplotmarksize}} |
| 70 |
\pgfusepathqstroke |
| 71 |
} |
| 72 |
% z |
| 73 |
\pgfdeclareplotmark{z} |
| 74 |
{% |
| 75 |
\pgfpathmoveto{\pgfqpoint{0.75\pgfplotmarksize}{-\pgfplotmarksize}} |
| 76 |
\pgfpathlineto{\pgfqpoint{-0.75\pgfplotmarksize}{-\pgfplotmarksize}} |
| 77 |
\pgfpathlineto{\pgfqpoint{0.75\pgfplotmarksize}{\pgfplotmarksize}} |
| 78 |
\pgfpathlineto{\pgfqpoint{-0.75\pgfplotmarksize}{\pgfplotmarksize}} |
| 79 |
\pgfusepathqstroke |
| 80 |
} |
| 81 |
% s |
| 82 |
\pgfdeclareplotmark{s} |
| 83 |
{% |
| 84 |
\pgfpathmoveto{\pgfqpoint{0pt}{0pt}} |
| 85 |
\pgfpathcurveto |
| 86 |
{\pgfpoint{0pt}{0pt}} |
| 87 |
{\pgfpoint{-\pgfplotmarksize}{\pgfplotmarksize}} |
| 88 |
{\pgfpoint{\pgfplotmarksize}{\pgfplotmarksize}} |
| 89 |
\pgfpathmoveto{\pgfqpoint{0pt}{0pt}} |
| 90 |
\pgfpathcurveto |
| 91 |
{\pgfpoint{0pt}{0pt}} |
| 92 |
{\pgfpoint{\pgfplotmarksize}{-\pgfplotmarksize}} |
| 93 |
{\pgfpoint{-\pgfplotmarksize}{-\pgfplotmarksize}} |
| 94 |
\pgfusepathqstroke |
| 95 |
} |
| 96 |
% infinity |
| 97 |
\pgfdeclareplotmark{oo} |
| 98 |
{% |
| 99 |
\pgfpathmoveto{\pgfqpoint{0pt}{0pt}} |
| 100 |
\pgfpathcurveto |
| 101 |
{\pgfpoint{0pt}{0pt}} |
| 102 |
{\pgfpoint{.5\pgfplotmarksize}{1\pgfplotmarksize}} |
| 103 |
{\pgfpoint{\pgfplotmarksize}{0pt}} |
| 104 |
\pgfpathmoveto{\pgfqpoint{0pt}{0pt}} |
| 105 |
\pgfpathcurveto |
| 106 |
{\pgfpoint{0pt}{0pt}} |
| 107 |
{\pgfpoint{-.5\pgfplotmarksize}{1\pgfplotmarksize}} |
| 108 |
{\pgfpoint{-\pgfplotmarksize}{0pt}} |
| 109 |
\pgfpathmoveto{\pgfqpoint{0pt}{0pt}} |
| 110 |
\pgfpathcurveto |
| 111 |
{\pgfpoint{0pt}{0pt}} |
| 112 |
{\pgfpoint{.5\pgfplotmarksize}{-1\pgfplotmarksize}} |
| 113 |
{\pgfpoint{\pgfplotmarksize}{0pt}} |
| 114 |
\pgfpathmoveto{\pgfqpoint{0pt}{0pt}} |
| 115 |
\pgfpathcurveto |
| 116 |
{\pgfpoint{0pt}{0pt}} |
| 117 |
{\pgfpoint{-.5\pgfplotmarksize}{-1\pgfplotmarksize}} |
| 118 |
{\pgfpoint{-\pgfplotmarksize}{0pt}} |
| 119 |
\pgfusepathqstroke |
| 120 |
} |
| 121 |
\makeatother |
| 122 |
\endinput |