[Tutkielma-TeX] [darcs] jydiss.cls-muutos: support \subsubsection
Antti-Juhani Kaijanaho
antti-juhani.a-j.kaijanaho at jyu.fi
Tue May 12 13:34:45 EEST 2009
(English below)
Tämä on automaattinen ilmoitus jydiss-luokkaan tai sen dokumentaatioon tehdystä
muutoksesta. Voit hakea uuden, muutetun version osoitteesta
http://antti-juhani.kaijanaho.fi/darcs/jydiss/
Alla on tiedot tehdystä muutoksesta.
---
This is an automated notification of a change made to the jydiss document
class or its accompanying documentation. You can get the new version at
http://antti-juhani.kaijanaho.fi/darcs/jydiss/
Below, you will find information about the actual change.
Tue May 12 12:40:49 EEST 2009 Antti-Juhani Kaijanaho <antti-juhani.a-j.kaijanaho at jyu.fi>
* support \subsubsection
Ignore-this: 7f7a08189a2a5e1eeab10295c5f00a49
diff -rN -u old-jydiss/example.tex new-jydiss/example.tex
--- old-jydiss/example.tex 2009-05-12 13:34:45.114036043 +0300
+++ new-jydiss/example.tex 2009-05-12 13:34:45.114036043 +0300
@@ -71,6 +71,7 @@
\chapter{The Advent of Digital Zoology}
\section{Computerized Ecosystems}
\subsection{Monotasking Environments}
+\subsubsection{Foo}
In Figure~\ref{fig:overlay}:, blah blah
aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa
aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa aaaaa
diff -rN -u old-jydiss/jydiss.cls new-jydiss/jydiss.cls
--- old-jydiss/jydiss.cls 2009-05-12 13:34:45.114036043 +0300
+++ new-jydiss/jydiss.cls 2009-05-12 13:34:45.114036043 +0300
@@ -294,6 +294,9 @@
%%%% Sectioning
+\setcounter{secnumdepth}{3}
+\setcounter{tocdepth}{3}
+
%% jydiss at toc@space controls the insertion of vertical space in the TOC between a \chapter
%% entry followed by a \chapter*
\newif\ifjydiss at toc@space
@@ -774,6 +777,8 @@
\setlength{\cftsecnumwidth}{1cm}
\setlength{\cftsubsecindent}{2cm}
\setlength{\cftsubsecnumwidth}{1.4cm}
+\setlength{\cftsubsubsecindent}{3.4cm}
+\setlength{\cftsubsubsecnumwidth}{1.4cm}
\renewcommand{\@cftmaketoctitle}{\chapter*{\contentsname}}
\ifdiss at shortloft
\renewcommand{\@cftmakeloftitle}{\chapter*[\loftname]{\listfigurename}}
@@ -823,8 +828,13 @@
{-14pt}%
{14pt}%
{\normalfont\normalsize\bfseries\noindent\MakeUppercase{\@appeapp}\space}}
+\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+ {-14pt}%
+ {14pt}%
+ {\normalfont\normalsize\bfseries\noindent\MakeUppercase{\@appeapp}\space}}
}
+
\def\@appendix[#1]#2{\ifnum \c at secnumdepth >\m at ne
\if at mainmatter
\refstepcounter{chapter}%
@@ -895,6 +905,7 @@
\@tempdima 1cm\relax
\ifdiss at section@indent at extra
\ifthenelse{\equal{#1}{subsection}}{\@tempdima 1.3cm}{}%
+ \ifthenelse{\equal{#1}{subsubsection}}{\@tempdima 1.6cm}{}%
\immediate\write\@mainaux{\string\global\string\diss at section@indent at extratrue}%
\fi}
\def\@test at section@indent#1{%
@@ -920,6 +931,10 @@
{-14pt}%
{14pt}%
{\normalfont\normalsize\bfseries}}
+\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+ {-14pt}%
+ {14pt}%
+ {\normalfont\normalsize\bfseries}}
%%%% Acronyms
\def\diss at acronyms{Acronyms}
diff -rN -u old-jydiss/manual.tex new-jydiss/manual.tex
--- old-jydiss/manual.tex 2009-05-12 13:34:45.114036043 +0300
+++ new-jydiss/manual.tex 2009-05-12 13:34:45.114036043 +0300
@@ -222,6 +222,9 @@
\item[chapter] Beginning of a chapter.
\item[section] Beginning of a section.
\item[subsection] Beginning of a subsection.
+\item[subsubsection] Beginning of a subsubsection. (NOTE: Not
+ specified by the University Library guidelines. Use at your own
+ risk.)
\item[bibliography] allows to specify a list of references. Should be put
before the appendices.
\item[appendices] Marks the beginning of the appendices. The \cmd{chapter}
More information about the Tutkielma-TeX
mailing list