summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/prerex/prerex.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-01-03 00:13:45 +0000
committerKarl Berry <karl@freefriends.org>2012-01-03 00:13:45 +0000
commit27a5cc0e9cbd1ea3a4f4d2f57e3d228ddf8d2ac7 (patch)
tree79398ded0cc6c695dd2099f61f8d06137639e6be /Master/texmf-dist/tex/latex/prerex/prerex.sty
parentdc22da4ed822b288859f3a2d49fbc9ea18df86c1 (diff)
prerex 6.3 (2jan12)
git-svn-id: svn://tug.org/texlive/trunk@25004 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/prerex/prerex.sty')
-rw-r--r--Master/texmf-dist/tex/latex/prerex/prerex.sty46
1 files changed, 37 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/prerex/prerex.sty b/Master/texmf-dist/tex/latex/prerex/prerex.sty
index a11e03659f6..4059f122835 100644
--- a/Master/texmf-dist/tex/latex/prerex/prerex.sty
+++ b/Master/texmf-dist/tex/latex/prerex/prerex.sty
@@ -62,10 +62,14 @@
% The nominal diagram width is 10 + (\textwidth divided by \unit).
%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{prerex}[2011/08/18 v6.1.0 LaTeX style for prerequisite charts, pgf version]
+\ProvidesPackage{prerex}[2011/10/28 v6.2 LaTeX style for prerequisite charts, pgf version]
% Changelog:
%
+% Version 6.2
+%
+% Allow for multi-line "timetable" arguments by using nested tabular environments.
+%
% Version 6.1.0
%
% Added commands to specify background color of non-mini course boxes.
@@ -280,7 +284,10 @@
{\textsf{%
\renewcommand{\arraystretch}{0.8}%
\href{\CourseURL{#1}{#2}{#3}}{\begin{tabular}{@{\hspace{1pt}}c@{\hspace{1pt}}}%
-\mbox{\smallersize#3}\,\hfill\,\mbox{\smallersize#5}\\ #4%
+\mbox{\smallersize#3}%
+\,\hfill\,%
+\mbox{\smallersize\renewcommand{\arraystretch}{0.5}\begin{tabular}[t]{@{}r@{}}#5\end{tabular}}%
+\\ #4%
\end{tabular}}}%
};%
\@outputImapData#1,#2:{#3}{4}{2}%
@@ -291,7 +298,10 @@
{\textsf{%
\renewcommand{\arraystretch}{0.8}%
\href{\CourseURL{#1}{#2}{#3}}{\begin{tabular}{@{\hspace{1pt}}c@{\hspace{1pt}}}%
-\mbox{\smallersize#3}\,\hfill\,\mbox{\smallersize#5}\\ #4%
+\mbox{\smallersize#3}%
+\,\hfill\,%
+\mbox{\smallersize\renewcommand{\arraystretch}{0.5}\begin{tabular}[t]{@{}r@{}}#5\end{tabular}}%
+\\ #4%
\end{tabular}}}%
};%
\@outputImapData#1,#2:{#3}{4}{2}%
@@ -302,7 +312,10 @@
{\textsf{\textbf{%
\renewcommand{\arraystretch}{0.8}%
\href{\CourseURL{#1}{#2}{#3}}{\begin{tabular}{@{\hspace{1pt}}c@{\hspace{1pt}}}%
-\mbox{\smallersize#3}\,\hfill\,\mbox{\smallersize#5}\\ #4%
+\mbox{\smallersize#3}%
+\,\hfill\,%
+\mbox{\smallersize\renewcommand{\arraystretch}{0.5}\begin{tabular}[t]{@{}r@{}}#5\end{tabular}}%
+\\ #4%
\end{tabular}}}%
}};%
\@outputImapData#1,#2:{#3}{4}{2}%
@@ -313,7 +326,10 @@
{\textsf{\textbf{%
\renewcommand{\arraystretch}{0.8}%
\href{\CourseURL{#1}{#2}{#3}}{\begin{tabular}{@{\hspace{1pt}}c@{\hspace{1pt}}}%
-\mbox{\smallersize#3}\,\hfill\,\mbox{\smallersize#5}\\ #4%
+\mbox{\smallersize#3}%
+\,\hfill\,%
+\mbox{\smallersize\renewcommand{\arraystretch}{0.5}\begin{tabular}[t]{@{}r@{}}#5\end{tabular}}%
+\\ #4%
\end{tabular}}}%
}};%
\@outputImapData#1,#2:{#3}{4}{2}%
@@ -324,7 +340,10 @@
{\textsf{%
\renewcommand{\arraystretch}{1.7}%
\href{\CourseURL{#1}{#2}{#3}}{\begin{tabular}{@{\hspace{1pt}}c@{\hspace{1pt}}}%
-\mbox{\smallersize#3}\,\hfill\,\mbox{\smallersize#5}\\ #4%
+\mbox{\smallersize#3}%
+\,\hfill\,%
+\mbox{\smallersize\renewcommand{\arraystretch}{0.5}\begin{tabular}[t]{@{}r@{}}#5\end{tabular}}%
+\\ #4%
\end{tabular}}}%
};%
\@outputImapData#1,#2:{#3}{4}{5}%
@@ -335,7 +354,10 @@
{\textsf{%
\renewcommand{\arraystretch}{1.7}%
\href{\CourseURL{#1}{#2}{#3}}{\begin{tabular}{@{\hspace{1pt}}c@{\hspace{1pt}}}%
-\mbox{\smallersize#3}\,\hfill\,\mbox{\smallersize#5}\\ #4%
+\mbox{\smallersize#3}%
+\,\hfill\,%
+\mbox{\smallersize\renewcommand{\arraystretch}{0.5}\begin{tabular}[t]{@{}r@{}}#5\end{tabular}}%
+\\ #4%
\end{tabular}}}%
};%
\@outputImapData#1,#2:{#3}{4}{5}%
@@ -346,7 +368,10 @@
{\textsf{\textbf{%
\renewcommand{\arraystretch}{1.7}%
\href{\CourseURL{#1}{#2}{#3}}{\begin{tabular}{@{\hspace{1pt}}c@{\hspace{1pt}}}%
-\mbox{\smallersize#3}\,\hfill\,\mbox{\smallersize#5}\\ #4%
+\mbox{\smallersize#3}%
+\,\hfill\,%
+\mbox{\smallersize\renewcommand{\arraystretch}{0.5}\begin{tabular}[t]{@{}r@{}}#5\end{tabular}}%
+\\ #4%
\end{tabular}}}}%
};%
\@outputImapData#1,#2:{#3}{4}{5}%
@@ -357,7 +382,10 @@
{\textsf{\textbf{%
\renewcommand{\arraystretch}{1.7}%
\href{\CourseURL{#1}{#2}{#3}}{\begin{tabular}{@{\hspace{1pt}}c@{\hspace{1pt}}}%
-\mbox{\smallersize#3}\,\hfill\,\mbox{\smallersize#5}\\ #4%
+\mbox{\smallersize#3}%
+\,\hfill\,%
+\mbox{\smallersize\renewcommand{\arraystretch}{0.5}\begin{tabular}[t]{@{}r@{}}#5\end{tabular}}%
+\\ #4%
\end{tabular}}}}%
};%
\@outputImapData#1,#2:{#3}{4}{5}%