| 1 |
%% |
| 2 |
%% This is file `tikzpfeile.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% tikzpfeile.dtx |
| 8 |
%% |
| 9 |
%% IMPORTANT NOTICE: |
| 10 |
%% |
| 11 |
%% For the copyright see the source file. |
| 12 |
%% |
| 13 |
%% Any modified versions of this file must be renamed |
| 14 |
%% with new filenames distinct from tikzpfeile.sty. |
| 15 |
%% |
| 16 |
%% For distribution of the original source see the terms |
| 17 |
%% for copying and modification in the file tikzpfeile.dtx. |
| 18 |
%% |
| 19 |
%% This generated file may be distributed as long as the |
| 20 |
%% original source files, as listed above, are part of the |
| 21 |
%% same distribution. (The sources need not necessarily be |
| 22 |
%% in the same archive or directory.) |
| 23 |
\NeedsTeXFormat{LaTeX2e} |
| 24 |
\ProvidesPackage{tikzpfeile}[2012/03/28 v1.0 A LaTeX package for drawing arrows using PGF/TikZ] |
| 25 |
\RequirePackage{tikz} |
| 26 |
\usetikzlibrary{arrows} |
| 27 |
\RequirePackage{kvoptions} |
| 28 |
\DeclareStringOption[1]{length} |
| 29 |
\DeclareLocalOptions{length} |
| 30 |
\ProcessKeyvalOptions* |
| 31 |
\newcommand*{\smapsto}{\raisebox{-1pt}{\tikz{% |
| 32 |
\draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, |->] (0,0)% |
| 33 |
node{\hspace*{0pt}}% |
| 34 |
-- node{} (0.7,0);}}\penalty1000\relax} |
| 35 |
\newcommand*{\lsmapsto}{\raisebox{-1pt}{\tikz{% |
| 36 |
\draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, <-|] (0,0)% |
| 37 |
node{\hspace*{0pt}}% |
| 38 |
-- node{} (0.7,0);}}\penalty1000\relax} |
| 39 |
\newcommand*{\ra}[1][]{\raisebox{-1pt}{\tikz{% |
| 40 |
\draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, ->,font=\scriptsize] (0,0)% |
| 41 |
node{\hspace*{-2pt}} -- (0.5,0) node[above] {#1}% |
| 42 |
-- node{} (1,0);}}\penalty1000\relax} |
| 43 |
\newcommand*{\la}[1][]{\raisebox{-1pt}{\tikz{% |
| 44 |
\draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, <-,font=\scriptsize] (0,0)% |
| 45 |
node{\hspace*{-2pt}} -- (0.5,0) node[above] {#1}% |
| 46 |
-- node{} (1,0);}}\penalty1000\relax} |
| 47 |
\let\oldmapsto\mapsto |
| 48 |
\renewcommand*{\mapsto}{\raisebox{-1pt}{\tikz{% |
| 49 |
\draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, |->] (0,0)% |
| 50 |
node{\hspace*{0pt}}% |
| 51 |
-- node{} (1,0);}}\penalty1000\relax} |
| 52 |
\newcommand*{\lmapsto}{\raisebox{-1pt}{\tikz{% |
| 53 |
\draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, <-|] (0,0)% |
| 54 |
node{\hspace*{0pt}}% |
| 55 |
-- node{} (1,0);}}\penalty1000\relax} |
| 56 |
\newcommand*{\inj}[1][]{\raisebox{-1pt}{\tikz{% |
| 57 |
\draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, right hook->,% |
| 58 |
font=\scriptsize] (0,0)% |
| 59 |
node{\hspace*{0pt}} -- (0.5,0) node[above] {#1} --% |
| 60 |
node{} (1,0);}}\penalty1000\relax} |
| 61 |
\newcommand*{\linj}[1][]{\raisebox{-1pt}{\tikz{% |
| 62 |
\draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, <-left hook,% |
| 63 |
font=\scriptsize] (0,0)% |
| 64 |
node{\hspace*{0pt}} -- (0.5,0) node[above] {#1} --% |
| 65 |
node{} (1,0);}}\penalty1000\relax} |
| 66 |
\newcommand*{\surj}[1][]{\raisebox{-1pt}{\tikz{% |
| 67 |
\draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, ->>,font=\scriptsize] (0,0)% |
| 68 |
node{\hspace*{0pt}} -- (0.5,0) node[above] {#1}% |
| 69 |
-- node{} (1,0);}}\penalty1000\relax} |
| 70 |
\newcommand*{\lsurj}[1][]{\raisebox{-1pt}{\tikz{% |
| 71 |
\draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, <<-,font=\scriptsize] (0,0)% |
| 72 |
node{\hspace*{0pt}} -- (0.5,0) node[above] {#1}% |
| 73 |
-- node{} (1,0);}}\penalty1000\relax} |
| 74 |
\newcommand*{\isom}{\raisebox{-1pt}{\tikz{% |
| 75 |
\draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, ->] % |
| 76 |
(0,0) node{\hspace*{0pt}} -- node{} (1,0);% |
| 77 |
\draw[xscale=\tikzpfeile@length] (0.4,0.1) node {$\sim$};}}% |
| 78 |
\penalty1000\relax} |
| 79 |
\newcommand*{\lisom}{\raisebox{-1pt}{\tikz{% |
| 80 |
\draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, <-] % |
| 81 |
(0,0) node{\hspace*{0pt}} -- node{} (1,0);% |
| 82 |
\draw[xscale=\tikzpfeile@length] (0.4,0.1) node {$\sim$};}}% |
| 83 |
\penalty1000\relax} |
| 84 |
\newcommand*{\lra}[1][]{\raisebox{-1pt}{\tikz{% |
| 85 |
\draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, <->,font=\scriptsize] (0,0) % |
| 86 |
node{\hspace*{-2pt}} -- (0.5,0) node[above] {#1} --% |
| 87 |
node{} (1,0);}}\penalty1000\relax} |
| 88 |
\newcommand*{\ppf}[1][]{\raisebox{-1pt}{\tikz{% |
| 89 |
\draw[xscale=\tikzpfeile@length,densely dashed,thin,shorten >=3pt,% |
| 90 |
->,font=\scriptsize] (0,0) % |
| 91 |
node{\hspace*{0pt}} -- (0.5,0) node[above] {#1}% |
| 92 |
-- node{} (1,0);}}\penalty1000\relax} |
| 93 |
\newcommand*{\lppf}[1][]{\raisebox{-1pt}{\tikz{% |
| 94 |
\draw[xscale=\tikzpfeile@length,densely dashed,thin,shorten >=3pt,% |
| 95 |
<-,font=\scriptsize] (0,0) % |
| 96 |
node{\hspace*{0pt}} -- (0.5,0) node[above] {#1}% |
| 97 |
-- node{} (1,0);}}\penalty1000\relax} |
| 98 |
|
| 99 |
\endinput |
| 100 |
%% |
| 101 |
%% End of file `tikzpfeile.sty'. |