diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/tikzpfeile/README | 17 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tikzpfeile/tikzpfeile.pdf | bin | 0 -> 49764 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/tikzpfeile/tikzpfeile.dtx | 240 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/tikzpfeile/tikzpfeile.ins | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/tikzpfeile/tikzpfeile.sty | 101 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-pictures.tlpsrc | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/tikzpfeile.tlpsrc | 0 |
8 files changed, 364 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/tikzpfeile/README b/Master/texmf-dist/doc/latex/tikzpfeile/README new file mode 100644 index 00000000000..7f2f6c8829c --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikzpfeile/README @@ -0,0 +1,17 @@ +tikzpfeile: a LaTeX package for drawing arrows using PGF/TikZ + +Copyright (C) 2011--2012 Jonathan Zachhuber, Michael Fütterer +E-mail: jonathan.zachhuber@gmail.com, michaelfuetterer@gmail.com + +Files: +tikzpfeile.ins Batch file, run through LaTeX +tikzpfeile.dtx Docstrip archive, run through (Xe)LaTeX +tikzpfeile.sty LaTeX package, generated by tikzpfeile.ins from tikzpfeile.dtx +tikzpfeile.pdf Package documentation; can also be generated from tikzpfeile.dtx +README This file + +This material is subject to the LaTeX Project Public License. See +http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the +details of that license. + +For more information on the package, see the documentation in tikzpfeile.pdf. diff --git a/Master/texmf-dist/doc/latex/tikzpfeile/tikzpfeile.pdf b/Master/texmf-dist/doc/latex/tikzpfeile/tikzpfeile.pdf Binary files differnew file mode 100644 index 00000000000..8ced54310f1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikzpfeile/tikzpfeile.pdf diff --git a/Master/texmf-dist/source/latex/tikzpfeile/tikzpfeile.dtx b/Master/texmf-dist/source/latex/tikzpfeile/tikzpfeile.dtx new file mode 100644 index 00000000000..de7ed7112af --- /dev/null +++ b/Master/texmf-dist/source/latex/tikzpfeile/tikzpfeile.dtx @@ -0,0 +1,240 @@ +% \iffalse meta-coment: +% +% The tikzpfeile package. +% +% \fi +% +% ^^A Driver stuff: +% \iffalse not to be used in package .... +%<*driver> +\documentclass[a4paper]{ltxdoc} +\usepackage{ifxetex} +\usepackage{doc} +\ifxetex + \usepackage[no-math]{fontspec} + \usepackage{polyglossia} + \setmainfont[Mapping=tex-text,Numbers=OldStyle,Ligatures=Rare]{Linux Libertine O} + \setsansfont[Mapping=tex-text,Numbers=OldStyle,Ligatures=Rare]{Linux Biolinum O} + \setdefaultlanguage{english} +\else + \usepackage[utf8]{inputenc} + \usepackage[T1]{fontenc} + \usepackage[english]{babel} +\fi +\EnableCrossrefs +\CodelineIndex +\RecordChanges +\usepackage{hyperref} +\usepackage{tikzpfeile} +\begin{document} + \DocInput{tikzpfeile.dtx} +\end{document} +%</driver> +% \fi +% +% \iffalse package preamble +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{tikzpfeile}[2012/03/28 v1.0 A LaTeX package for drawing arrows using PGF/TikZ] +% \fi +% +% \MakeShortVerb{\"} +% +% \newcommand{\tpf}{\texttt{tikzpfeile}} +% \newcommand{\pgftikz}{\texttt{PGF/TikZ}} +% \newenvironment{syntax}{\medskip\hspace*{1em}}{\par\medskip} +% +% \GetFileInfo{tikzpfeile.sty} +% +% \title{The \tpf{} Package} +% \author{Jonathan Zachhuber\thanks{\url{jonathan.zachhuber@gmail.com}} \and Michael Fütterer\thanks{\url{michaelfuetterer@gmail.com}}} +% \date{Version \fileversion, \filedate} +% +% \maketitle +% +% \begin{abstract} +% This package defines commands for drawing arrows using \pgftikz{} which should be used instead of the regular \LaTeX{} arrows. +% \end{abstract} +% +% \section{Introduction} +% +% In mathematical texts that contain commutative diagrams created with \pgftikz{}, it might be disturbing that regular arrows (such as "\rightarrow": $\rightarrow$) and the \pgftikz{} arrows in the diagrams have different heads. This package defines commands that draw arrows using \pgftikz{}. Using these instead of the regular arrows makes your document look more consistent. Moreover, using \pgftikz{}, a lot more different arrow types can be drawn. +% +% \section{Arrow commands} +% +% This package provides the following commands for drawing arrows: +% +% \medskip +% +% \begin{tabular}{l l} +% "\ra"&\ra\\ +% "\la"&\la\\ +% "\mapsto"&\mapsto\\ +% "\lmapsto"&\lmapsto\\ +% "\inj"&\inj\\ +% "\linj"&\linj\\ +% "\surj"&\surj\\ +% "\lsurj"&\lsurj\\ +% "\isom"&\isom\\ +% "\lisom"&\lisom\\ +% "\lra"&\lra\\ +% "\ppf"&\ppf\\ +% "\lppf"&\lppf\\ +% "\smapsto"&\smapsto\\ +% "\lsmapsto"&\lsmapsto\\ +% "\oldmapsto"&$\oldmapsto$ +% \end{tabular} +% +% \medskip +% +% \noindent By giving an optional argument, the arrows can be labeled. This does not work for the "\isom" and "\lisom" arrows. +% +% \medskip +% +% \begin{tabular}{l l} +% "\ra[$\psi$]"&\ra[$\psi$]\\ +% "\inj[$\iota$]"&\inj[$\iota$]\\ +% "\surj[$\pi$]"&\surj[$\pi$]\\ +% "\lra[$\tau$]"&\lra[$\tau$]\\ +% "\ppf[$f$]"&\ppf[$f$]\\ +% \end{tabular} +% +% \section{Package options} +% +% The package recognizes one option, "length". Usually, the arrows are $1\mathrm{cm}$ long. This length is scaled by the value given by the "length" option. Its default value is, of course, $1$. +% +% \section{Implementation} +% +% Of course, we need the "tikz" package with the "arrows" library. For the length option we need "kvoptions". +% \begin{macrocode} +\RequirePackage{tikz} +\usetikzlibrary{arrows} +\RequirePackage{kvoptions} +% \end{macrocode} +% Define the length option: +% \begin{macrocode} +\DeclareStringOption[1]{length} +\DeclareLocalOptions{length} +\ProcessKeyvalOptions* +% \end{macrocode} +% Now define the arrow commands using \pgftikz{}. +% \begin{macro}{\smapsto} +% \begin{macrocode} +\newcommand*{\smapsto}{\raisebox{-1pt}{\tikz{% + \draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, |->] (0,0)% + node{\hspace*{0pt}}% + -- node{} (0.7,0);}}\penalty1000\relax} +% \end{macrocode} +% \end{macro}\begin{macro}{\lsmapsto} +% \begin{macrocode} +\newcommand*{\lsmapsto}{\raisebox{-1pt}{\tikz{% + \draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, <-|] (0,0)% + node{\hspace*{0pt}}% + -- node{} (0.7,0);}}\penalty1000\relax} +% \end{macrocode} +% \end{macro}\begin{macro}{\ra} +% \begin{macrocode} +\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} +% \end{macrocode} +% \end{macro}\begin{macro}{\la} +% \begin{macrocode} +\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} +% \end{macrocode} +% \end{macro}\begin{macro}{\mapsto} +% \end{macro}\begin{macro}{\oldmapsto} +% We save the old "\mapsto" arrow in "\oldmapsto". +% \begin{macrocode} +\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} +% \end{macrocode} +% \end{macro}\begin{macro}{\lmapsto} +% \begin{macrocode} +\newcommand*{\lmapsto}{\raisebox{-1pt}{\tikz{% + \draw[xscale=\tikzpfeile@length,thin,shorten >=3pt, <-|] (0,0)% + node{\hspace*{0pt}}% + -- node{} (1,0);}}\penalty1000\relax} +% \end{macrocode} +% \end{macro}\begin{macro}{\inj} +% \begin{macrocode} +\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} +% \end{macrocode} +% \end{macro}\begin{macro}{\linj} +% \begin{macrocode} +\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} +% \end{macrocode} +% \end{macro}\begin{macro}{\surj} +% \begin{macrocode} +\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} +% \end{macrocode} +% \end{macro}\begin{macro}{\lsurj} +% \begin{macrocode} +\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} +% \end{macrocode} +% \end{macro}\begin{macro}{\isom} +% \begin{macrocode} +\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} +% \end{macrocode} +% \end{macro}\begin{macro}{\lisom} +% \begin{macrocode} +\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} +% \end{macrocode} +% \end{macro}\begin{macro}{\lra} +% \begin{macrocode} +\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} +% \end{macrocode} +% \end{macro}\begin{macro}{\ppf} +% \begin{macrocode} +\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} +% \end{macrocode} +% \end{macro}\begin{macro}{\lppf} +% \begin{macrocode} +\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{macrocode} +% \end{macro} +% \changes{v0.1}{2011/08/03}{Started project} +% \changes{v1.0}{2012/03/28}{First public version} +% \PrintChanges +% \PrintIndex diff --git a/Master/texmf-dist/source/latex/tikzpfeile/tikzpfeile.ins b/Master/texmf-dist/source/latex/tikzpfeile/tikzpfeile.ins new file mode 100644 index 00000000000..2ae9a1e48a1 --- /dev/null +++ b/Master/texmf-dist/source/latex/tikzpfeile/tikzpfeile.ins @@ -0,0 +1,4 @@ +\input docstrip.tex +\askforoverwritefalse +\generate{\file{tikzpfeile.sty}{\from{tikzpfeile.dtx}{}}} +\end diff --git a/Master/texmf-dist/tex/latex/tikzpfeile/tikzpfeile.sty b/Master/texmf-dist/tex/latex/tikzpfeile/tikzpfeile.sty new file mode 100644 index 00000000000..33bc7dbdd8f --- /dev/null +++ b/Master/texmf-dist/tex/latex/tikzpfeile/tikzpfeile.sty @@ -0,0 +1,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'. diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index f7fc0ffdc45..a4f063ba2c2 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -391,7 +391,7 @@ my @TLP_working = qw( thinsp thmbox thmtools threeddice threeparttable threeparttablex thumb thumbpdf thumbs thumby thuthesis ticket tikz-cd tikz-3dplot tikz-dependency tikz-inet tikz-qtree tikz-timing - tikzpagenodes + tikzpagenodes tikzpfeile timetable tipa tipa-de titlefoot titlepages titlepic titleref titlesec titling tkz-base tkz-berge tkz-doc tkz-euclide tkz-fct tkz-graph diff --git a/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc b/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc index 040ff2f5c00..91322b5b95c 100644 --- a/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc @@ -75,6 +75,7 @@ depend tikz-inet depend tikz-qtree depend tikz-timing depend tikzpagenodes +depend tikzpfeile depend tqft depend tkz-base depend tkz-berge diff --git a/Master/tlpkg/tlpsrc/tikzpfeile.tlpsrc b/Master/tlpkg/tlpsrc/tikzpfeile.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/tikzpfeile.tlpsrc |