[Tutkielma-TeX] Fwd: Two small fixes in latest jydiss

nezer nzaidenberg at me.com
Mon Jan 16 16:41:52 EET 2012


1. I suggested in the past to change

   \setlength{\cftalgorithmnumwidth}{8em}

(instead of 7.5em)

because there were problems with works that had more then 10 algorithms (double digits.) such as my dissertation.

2. I have witnessed in the past errors with
incomplete \ifnum on enumerate environment

I have identified the error in the new environment for enumerate missing \fi and corrected it as follows
This eliminated the errors.

\renewenvironment{enumerate}
                {\ifnum \@enumdepth >\thr@@\@toodeep\else
                 \advance\@enumdepth\@ne
                 \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
                 \fi
                 \expandafter
                 \list \csname label\@enumctr\endcsname
                      {\setlength {\listparindent}{1cm}%
                       \setlength {\itemindent}   {\z@}%
                       \setlength {\leftmargin}   {1cm}%
                       \setlength {\rightmargin}  {\z@}%
                       \setlength {\parsep}       {\p@}%
                       \setlength {\itemsep}      {\z@}}%
                      \usecounter\@enumctr}
                {\endlist}

If you want the corrected jydiss.cls please contact me directly. (the mailing list rejects large emails)

Nezer




More information about the Tutkielma-TeX mailing list