summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/prerex
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2014-03-02 05:24:20 +0000
committerNorbert Preining <preining@logic.at>2014-03-02 05:24:20 +0000
commit807941d7e358fef359bc425f2be605064f6330e3 (patch)
treea73d1da1c22dc0502b871630876b45ed654a3b39 /Master/texmf-dist/tex/latex/prerex
parent699b4df8c8b5b2e9344d59e3d4085bf8723f688e (diff)
prerex (27Feb)
git-svn-id: svn://tug.org/texlive/trunk@33072 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/prerex')
-rw-r--r--Master/texmf-dist/tex/latex/prerex/prerex.sty38
1 files changed, 23 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/prerex/prerex.sty b/Master/texmf-dist/tex/latex/prerex/prerex.sty
index 77d5c3cbae7..3afe6755c5a 100644
--- a/Master/texmf-dist/tex/latex/prerex/prerex.sty
+++ b/Master/texmf-dist/tex/latex/prerex/prerex.sty
@@ -1,6 +1,6 @@
%% This is file 'prerex.sty'
%%
-%% Copyright (C) 2006-13 R. D. Tennent, rdt@cs.queensu.ca
+%% Copyright (C) 2006-14 R. D. Tennent, rdt@cs.queensu.ca
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -63,10 +63,18 @@
% The nominal diagram width is 10 + (\textwidth divided by \unit).
%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{prerex}[2013/07/19 v6.3.5 LaTeX style for prerequisite charts, pgf version]
+\ProvidesPackage{prerex}[2014/02/27 v6.4.0 LaTeX style for prerequisite charts, pgf version]
% Changelog:
%
+% Version 6.4.0
+%
+% Revise arrows for tikz version 3.0.0
+%
+% Version 6.3.6
+%
+% Allow line breaks in \text boxes.
+%
% Version 6.3.5
%
% Fix font usage to work with mweights.sty.
@@ -230,8 +238,8 @@
\RequirePackage{relsize}
\RequirePackage{calc}
-\RequirePackage{pgf}[2007/06/12]
-\RequirePackage{tikz}\usetikzlibrary{arrows}
+\RequirePackage{pgf}[2013/12/18]
+\RequirePackage{tikz}\usetikzlibrary{arrows.meta}
\RequirePackage{ifthen}
\RequirePackage{textcomp}
\RequirePackage{zref-savepos}
@@ -306,17 +314,17 @@
\pgfsetlayers{}
\def\solidarrow{%
\tikz[x=\unit,y=\unit,baseline=\baselineAdj]
-\draw[-latex',line width =\solidwidth] (0,0) -- (4,0);
+\draw[-Latex,line width =\solidwidth] (0,0) -- (4,0);
}
\def\dottedarrow{%
\tikz[x=\unit,y=\unit,baseline=\baselineAdj]
-\draw[loosely dotted,line width=\dottedwidth,-latex'] (0,0) -- (4,0);
+\draw[-Latex,loosely dotted,line width=\dottedwidth] (0,0) -- (4,0);
}
\def\dashedarrow{%
\tikz[x=\unit,y=\unit,baseline=\baselineAdj]
-\draw[dashed,line width=\dashedwidth,-latex'] (0,0) -- (4,0);
+\draw[-Latex,dashed,line width=\dashedwidth] (0,0) -- (4,0);
}
\def\lightbox{%
@@ -572,9 +580,9 @@
\begin{pgfonlayer}{courses}%
\ifgridon
\node[fill=white,draw=white,inner ysep=1.8pt](x#1y#2) at (#1,#2)%
-{\href{coord: #1,#2}{\mbox{\sffamily\mdseries#3}}};%
+{\href{coord: #1,#2}{\sffamily\mdseries\renewcommand{\arraystretch}{0.5}\begin{tabular}[b]{@{}c@{}}#3\\[-0.4ex]\end{tabular}}};%
\else
- \node[fill=none,draw=none,inner ysep=1.8pt](x#1y#2) at (#1,#2){\mbox{\sffamily\mdseries#3}};%
+ \node[fill=none,draw=none,inner ysep=1.8pt](x#1y#2) at (#1,#2){\sffamily\mdseries\renewcommand{\arraystretch}{0.5}\begin{tabular}[b]{@{}c@{}}#3\\[-0.4ex]\end{tabular}};%
\fi
\end{pgfonlayer}%
}
@@ -647,7 +655,7 @@
\def\@straight#1,#2,#3,#4:{%
\begin{pgfonlayer}{arrows}
\draw[draw=white,line width=1.5pt](x#1y#2) -- (x#3y#4) ;
- \draw[-latex',draw=white,very thin](x#1y#2) -- (x#3y#4) ;
+ \draw[-{Latex[fill=black]},draw=white,very thin](x#1y#2) -- (x#3y#4) ;
\ifgridon
\draw[line width=\solidwidth](x#1y#2) -- node[anchor=mid] {\href{coord: #1,#2,#3,#4}{\textbullet}} (x#3y#4);
\else
@@ -670,7 +678,7 @@
\setcounter{@inangle}{180 - \the@myangle}
\begin{pgfonlayer}{arrows}
\draw[draw=white,line width=1.5pt](x#1y#2) to[out=\the@myangle,in=\the@inangle,relative] (x#3y#4) ;
- \draw[-latex',draw=white,very thin](x#1y#2) to[out=\the@myangle,in=\the@inangle,relative] (x#3y#4) ;
+ \draw[-{Latex[fill=black]},draw=white,very thin](x#1y#2) to[out=\the@myangle,in=\the@inangle,relative] (x#3y#4) ;
\ifgridon
\draw[line width=\solidwidth](x#1y#2) to[out=\the@myangle,in=\the@inangle,relative] node[anchor=mid] {\href{coord: #1,#2,#3,#4}{\textbullet}} (x#3y#4) ;
\else
@@ -682,7 +690,7 @@
\def\@straightDashed#1,#2,#3,#4:{%
\begin{pgfonlayer}{arrows}
\draw[draw=white,line width=1.5pt] (x#1y#2) -- (x#3y#4);
-\draw[-latex',draw=white,very thin] (x#1y#2) -- (x#3y#4);
+\draw[-{Latex[fill=black]},draw=white,very thin] (x#1y#2) -- (x#3y#4);
\ifgridon
\draw[dashed,line width=\dashedwidth] (x#1y#2) -- node[anchor=mid] {\href{coord: #1,#2,#3,#4}{\textbullet}} (x#3y#4) ;
\else
@@ -704,7 +712,7 @@
\setcounter{@inangle}{180 - \the@myangle}
\begin{pgfonlayer}{arrows}
\draw[draw=white,line width=1.5pt](x#1y#2) to[out=\the@myangle,in=\the@inangle,relative] (x#3y#4) ;
- \draw[-latex',draw=white,very thin](x#1y#2) to[out=\the@myangle,in=\the@inangle,relative] (x#3y#4) ;
+ \draw[-{Latex[fill=black]},draw=white,very thin](x#1y#2) to[out=\the@myangle,in=\the@inangle,relative] (x#3y#4) ;
\ifgridon
\draw[dashed,line width=\dashedwidth](x#1y#2) to[out=\the@myangle,in=\the@inangle,relative] node[anchor=mid] {\href{coord: #1,#2,#3,#4}{\textbullet}} (x#3y#4);
\else
@@ -716,7 +724,7 @@
\def\@straightDotted#1,#2,#3,#4:{%
\begin{pgfonlayer}{arrows}
\draw[draw=white,line width=1.5pt] (x#1y#2) -- (x#3y#4);
- \draw[-latex',draw=white,very thin] (x#1y#2) -- (x#3y#4);
+ \draw[-{Latex[fill=black]},draw=white,very thin] (x#1y#2) -- (x#3y#4);
\ifgridon
\draw[loosely dotted,line width=\dottedwidth] (x#1y#2) -- node[anchor=mid] {\href{coord: #1,#2,#3,#4}{\textbullet}} (x#3y#4) ;
\else
@@ -738,7 +746,7 @@
\setcounter{@inangle}{180 - \the@myangle}
\begin{pgfonlayer}{arrows}
\draw[draw=white,line width=1.5pt](x#1y#2) to[out=\the@myangle,in=\the@inangle,relative] (x#3y#4) ;
- \draw[-latex',draw=white,very thin](x#1y#2) to[out=\the@myangle,in=\the@inangle,relative] (x#3y#4) ;
+ \draw[-{Latex[fill=black]},draw=white,very thin](x#1y#2) to[out=\the@myangle,in=\the@inangle,relative] (x#3y#4) ;
\ifgridon
\draw[loosely dotted,line width=\dottedwidth](x#1y#2) to[out=\the@myangle,in=\the@inangle,relative] node[anchor=mid] {\href{coord: #1,#2,#3,#4}{\textbullet}} (x#3y#4) ;
\else