From 27a5cc0e9cbd1ea3a4f4d2f57e3d228ddf8d2ac7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 3 Jan 2012 00:13:45 +0000 Subject: prerex 6.3 (2jan12) git-svn-id: svn://tug.org/texlive/trunk@25004 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/prerex/prerex.sty | 46 +++++++++++++++++++++------ 1 file changed, 37 insertions(+), 9 deletions(-) (limited to 'Master/texmf-dist/tex/latex/prerex') 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}% -- cgit v1.2.3