summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/prerex/prerex.sty
diff options
context:
space:
mode:
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}%