summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tikzpfeile/tikzpfeile.sty
blob: 33bc7dbdd8f173d8747c23cbe3e0f82237254c98 (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
%%
%% This is file `tikzpfeile.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% tikzpfeile.dtx 
%% 
%% IMPORTANT NOTICE:
%% 
%% For the copyright see the source file.
%% 
%% Any modified versions of this file must be renamed
%% with new filenames distinct from tikzpfeile.sty.
%% 
%% For distribution of the original source see the terms
%% for copying and modification in the file tikzpfeile.dtx.
%% 
%% This generated file may be distributed as long as the
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{tikzpfeile}[2012/03/28 v1.0 A LaTeX package for drawing arrows using PGF/TikZ]
\RequirePackage{tikz}
\usetikzlibrary{arrows}
\RequirePackage{kvoptions}
\DeclareStringOption[1]{length}
\DeclareLocalOptions{length}
\ProcessKeyvalOptions*
\newcommand*{\smapsto}{\raisebox{-1pt}{\tikz{%
        \draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, |->] (0,0)%
                 node{\hspace*{0pt}}%
                 -- node{} (0.7,0);}}\penalty1000\relax}
\newcommand*{\lsmapsto}{\raisebox{-1pt}{\tikz{%
        \draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, <-|] (0,0)%
                 node{\hspace*{0pt}}%
                 -- node{} (0.7,0);}}\penalty1000\relax}
\newcommand*{\ra}[1][]{\raisebox{-1pt}{\tikz{%
        \draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, ->,font=\scriptsize] (0,0)%
                 node{\hspace*{-2pt}} -- (0.5,0) node[above] {#1}%
                  -- node{} (1,0);}}\penalty1000\relax}
\newcommand*{\la}[1][]{\raisebox{-1pt}{\tikz{%
        \draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, <-,font=\scriptsize] (0,0)%
                 node{\hspace*{-2pt}} -- (0.5,0) node[above] {#1}%
                  -- node{} (1,0);}}\penalty1000\relax}
\let\oldmapsto\mapsto
\renewcommand*{\mapsto}{\raisebox{-1pt}{\tikz{%
       \draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, |->] (0,0)%
                node{\hspace*{0pt}}%
                -- node{} (1,0);}}\penalty1000\relax}
\newcommand*{\lmapsto}{\raisebox{-1pt}{\tikz{%
       \draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, <-|] (0,0)%
                node{\hspace*{0pt}}%
                -- node{} (1,0);}}\penalty1000\relax}
\newcommand*{\inj}[1][]{\raisebox{-1pt}{\tikz{%
        \draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, right hook->,%
                 font=\scriptsize] (0,0)%
                 node{\hspace*{0pt}} -- (0.5,0) node[above] {#1} --%
                 node{} (1,0);}}\penalty1000\relax}
\newcommand*{\linj}[1][]{\raisebox{-1pt}{\tikz{%
        \draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, <-left hook,%
                 font=\scriptsize] (0,0)%
                 node{\hspace*{0pt}} -- (0.5,0) node[above] {#1} --%
                 node{} (1,0);}}\penalty1000\relax}
\newcommand*{\surj}[1][]{\raisebox{-1pt}{\tikz{%
       \draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, ->>,font=\scriptsize] (0,0)%
                node{\hspace*{0pt}} -- (0.5,0) node[above] {#1}%
                -- node{} (1,0);}}\penalty1000\relax}
\newcommand*{\lsurj}[1][]{\raisebox{-1pt}{\tikz{%
       \draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, <<-,font=\scriptsize] (0,0)%
                node{\hspace*{0pt}} -- (0.5,0) node[above] {#1}%
                -- node{} (1,0);}}\penalty1000\relax}
\newcommand*{\isom}{\raisebox{-1pt}{\tikz{%
       \draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, ->] %
                (0,0) node{\hspace*{0pt}} -- node{} (1,0);%
                \draw[xscale=\tikzpfeile@length] (0.4,0.1) node {$\sim$};}}%
        \penalty1000\relax}
\newcommand*{\lisom}{\raisebox{-1pt}{\tikz{%
       \draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, <-] %
                (0,0) node{\hspace*{0pt}} -- node{} (1,0);%
                \draw[xscale=\tikzpfeile@length] (0.4,0.1) node {$\sim$};}}%
        \penalty1000\relax}
\newcommand*{\lra}[1][]{\raisebox{-1pt}{\tikz{%
       \draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, <->,font=\scriptsize] (0,0) %
                node{\hspace*{-2pt}} -- (0.5,0) node[above] {#1} --%
                node{} (1,0);}}\penalty1000\relax}
\newcommand*{\ppf}[1][]{\raisebox{-1pt}{\tikz{%
        \draw[xscale=\tikzpfeile@length,densely dashed,thin,shorten >=3pt,%
                ->,font=\scriptsize] (0,0) %
                node{\hspace*{0pt}} -- (0.5,0) node[above] {#1}%
                -- node{} (1,0);}}\penalty1000\relax}
\newcommand*{\lppf}[1][]{\raisebox{-1pt}{\tikz{%
        \draw[xscale=\tikzpfeile@length,densely dashed,thin,shorten >=3pt,%
                <-,font=\scriptsize] (0,0) %
                node{\hspace*{0pt}} -- (0.5,0) node[above] {#1}%
                -- node{} (1,0);}}\penalty1000\relax}

\endinput
%%
%% End of file `tikzpfeile.sty'.