-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathintervalarrows.sty
58 lines (56 loc) · 1.58 KB
/
intervalarrows.sty
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
%%
%% This is file `intervalarrows.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% intervalarrows.dtx (with options: `package')
%%
%% This is a generated file.
%%
%% Copyright (C) 2007 by Jan Hlavacek
%%
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.2 of this license
%% or (at your option) any later version. The latest version of this
%% license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.2 or later is part of all distributions of LaTeX version
%% 1999/12/01 or later.
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{intervalarrows}
[2015/07/14 v0.1 Defines two tikz arrow tips for drawing intervals]
\pgfarrowsdeclare{closed}{closed}
{
\pgfarrowsleftextend{+-.5\pgflinewidth}
\pgfutil@tempdima=0.4pt%
\advance\pgfutil@tempdima by.2\pgflinewidth%
\pgfarrowsrightextend{4.5\pgfutil@tempdima}
}
{
\pgfutil@tempdima=0.4pt%
\advance\pgfutil@tempdima by.2\pgflinewidth%
\pgfsetdash{}{+0pt}
\pgfpathcircle{\pgfqpoint{4.5\pgfutil@tempdima}{0bp}}{4.5\pgfutil@tempdima}
\pgfusepathqfillstroke
}
\pgfarrowsdeclare{open}{open}
{
\pgfarrowsleftextend{+-.5\pgflinewidth}
\pgfutil@tempdima=0.4pt%
\advance\pgfutil@tempdima by.2\pgflinewidth%
\pgfarrowsrightextend{4.5\pgfutil@tempdima}
}
{
\pgfutil@tempdima=0.4pt%
\advance\pgfutil@tempdima by.2\pgflinewidth%
\pgfsetdash{}{+0pt}
\pgfpathcircle{\pgfqpoint{4.5\pgfutil@tempdima}{0bp}}{4.5\pgfutil@tempdima}
\pgfusepathqstroke
}
\endinput
%%
%% End of file `intervalarrows.sty'.