Proposal.sty: the coherencetable remains centered even if it is larger than textwidth

Michael: this is probably not the best way to do that; please review!
This commit is contained in:
Nicolas M. Thiéry 2017-03-15 00:08:39 +01:00 committed by Michael Kohlhase
parent 16a570c50c
commit 9c58e0ccca

View File

@ -985,16 +985,27 @@ joint&\multicolumn{\the@site}{l|}{\jpub $\hat=$ publication, \jpro $\hat=$ proje
\jorga $\hat=$ organization, \jsoft $\hat=$ software/resource dev, \jorga $\hat=$ organization, \jsoft $\hat=$ software/resource dev,
\jsup $\hat=$ supervision}\\\hline \jsup $\hat=$ supervision}\\\hline
\end{tabular}} \end{tabular}}
\newskip\@bigflushglue \@bigflushglue = -100pt plus 1fil
\def\bigcenter{\trivlist \bigcentering\item\relax}
\def\bigcentering{\let\\\@centercr\rightskip\@bigflushglue%
\leftskip\@bigflushglue
\parindent\z@\parfillskip\z@skip}
\def\endbigcenter{\endtrivlist}
\define@key{coherencetable}{swsites}[true]{\def\cht@swsites{#1}} \define@key{coherencetable}{swsites}[true]{\def\cht@swsites{#1}}
\define@key{coherencetable}{stretch}{\def\cht@stretch{#1}} \define@key{coherencetable}{stretch}{\def\cht@stretch{#1}}
\newcommand\coherencetable[1][]{% \newcommand\coherencetable[1][]{%
\def\cht@swsites{false}% \def\cht@swsites{false}%
\def\cht@stretch{1}% \def\cht@stretch{1}%
\setkeys{coherencetable}{#1}% \setkeys{coherencetable}{#1}%
\begin{table}[ht]\centering% \begin{table}[ht]%
\small\setlength{\tabcolsep}{.5em}% \small\setlength{\tabcolsep}{.5em}%
\renewcommand{\arraystretch}{\cht@stretch}% \renewcommand{\arraystretch}{\cht@stretch}%
\begin{bigcenter}%
\coherencematrix% \coherencematrix%
\end{bigcenter}%
\caption{\coherence@caption}\label{tab:collaboration} \caption{\coherence@caption}\label{tab:collaboration}
\end{table}} \end{table}}
\newcommand\coherence@caption{Previous Collaboration between {\pn} members} \newcommand\coherence@caption{Previous Collaboration between {\pn} members}