more documentation

This commit is contained in:
Michael Kohlhase 2016-10-26 08:28:09 +02:00
parent 4a5e885eb3
commit 92258b69ee

View File

@ -473,7 +473,12 @@
% \DescribeMacro{\WAtref}|\WAtref| for work areas. % \DescribeMacro{\WAtref}|\WAtref| for work areas.
% %
% \subsection{The Work Package Table}\label{sec:use:wptable} % \subsection{The Work Package Table}\label{sec:use:wptable}
% \ednote{add documentation} %
% One of the most useful features of the |proposal| class is that we can generate an
% overview table for the distribution of workloads in the project fully automatically. All
% it takes is the \DescribeMacro{\wpfig}|\wpfig| macro.
%
% The general appearance of the table \DescribeMacro{\wpfigstyle}|\wpfigstyle|
% %
% \subsection{Gantt Charts}\label{sec:user:gantt} % \subsection{Gantt Charts}\label{sec:user:gantt}
% %
@ -1780,7 +1785,8 @@
% \end{macro} % \end{macro}
% %
% \begin{macro}{\*@style} % \begin{macro}{\*@style}
% \ednote{This (and wpfig) should be documented above} % These macros\ednote{maybe add ``wpfig'' in the name to show dependency} determine the
% styling of cells in the work package table. That can be tweaked by redefining them.
% \begin{macrocode} % \begin{macrocode}
\definecolorset{gray/rgb/hsb/cmyk}{}{}% \definecolorset{gray/rgb/hsb/cmyk}{}{}%
{leadgray,.90/.90,.90,.90/0,0,.90/0,0,0,.10;% {leadgray,.90/.90,.90,.90/0,0,.90/0,0,0,.10;%
@ -1794,10 +1800,19 @@ ganttgray,.60/.60,.60,.60/0,0,.60/0,0,0,.40}
% \end{macrocode} % \end{macrocode}
% \end{macro} % \end{macro}
% %
% \begin{macro}{\wpfigstyle}
% \ednote{document above}
% \begin{macrocode}
\def\wpfig@style{}
\newcommand\wpfigstyle[1]{\def\wpfig@style{#1}}
% \end{macrocode}
% \end{macro}
%
% \begin{environment}{wp@figure} % \begin{environment}{wp@figure}
% This environment makes legend for the table (but not the contents) for the |\wpfig| % This environment makes legend for the table (but not the contents) for the |\wpfig|
% macro. The main work achieved here is to generate the head line (sideways) and the % macro. The main work achieved here is to generate the head line (sideways) and the
% footer in the various cases given by the package options. % footer in the various cases given by the package options.\ednote{this is a bit of
% misnomer, it does not do the figure bit. }
% \begin{macrocode} % \begin{macrocode}
\newcounter{wpfig@options} \newcounter{wpfig@options}
\define@key{wpfig}{size}{\def\wpfig@size{#1}\@dmp{size=#1}} \define@key{wpfig}{size}{\def\wpfig@size{#1}\@dmp{size=#1}}
@ -1863,14 +1878,6 @@ ganttgray,.60/.60,.60,.60/0,0,.60/0,0,0,.40}
% \end{environment} % \end{environment}
% %
% %
% \begin{macro}{\wpfigstyle}
% \ednote{document above}
% \begin{macrocode}
\def\wpfig@style{}
\newcommand\wpfigstyle[1]{\def\wpfig@style{#1}}
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\wpfig} % \begin{macro}{\wpfig}
% \ednote{The computation can be distributed much more efficiently (by intermingling the % \ednote{The computation can be distributed much more efficiently (by intermingling the
% counter advances with the row creation), but this works now} % counter advances with the row creation), but this works now}