[Tutkielma-TeX] [darcs] jydiss.cls-muutos: Added a "stupid" option to put page numbers on included articles title pages and on the finnish summary page (which is against the rules set in the example document from the Library)
Matthieu Weber
mweber at mit.jyu.fi
Wed Nov 7 11:42:20 EET 2007
(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.
Wed Nov 7 11:40:14 EET 2007 Matthieu Weber <mweber at mit.jyu.fi>
* Added a "stupid" option to put page numbers on included articles title pages and on the finnish summary page (which is against the rules set in the example document from the Library)
diff -rN -u old-jydiss/jydiss.cls new-jydiss/jydiss.cls
--- old-jydiss/jydiss.cls 2007-11-07 11:42:20.505713000 +0200
+++ new-jydiss/jydiss.cls 2007-11-07 11:42:20.505713000 +0200
@@ -111,6 +111,10 @@
\diss at contrib@beforefalse
\DeclareOption{contribbefore}{\diss at contrib@beforetrue}
+\newif\ifdiss at stupid
+\diss at stupidfalse
+\DeclareOption{stupid}{\diss at stupidtrue}
+
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}
\ProcessOptions
\LoadClass[a4paper,12pt]{book}
@@ -821,6 +825,7 @@
\newcommand{\finnishsummary}{
\chapter*{\finnishsummaryheading}
+\ifdiss at stupid\thispagestyle{plain}\fi
\immediate\write\@mainaux{\string\gdef\string\diss at inclsummary{\finnishsummaryabstract}}%
}
@@ -880,6 +885,7 @@
\if\diss at art@year\relax\else , \diss at art@year\fi}
\newcommand{\artmaketitle}{%
+\ifdiss at stupid\thispagestyle{plain}\fi
\ifthenelse{\value{articles}=1}{%
\vspace*{6cm}\vspace*{-\topskip}{\Large\vspace*{-3\baselineskip}}%
\centering{\Large\bfseries ORIGINAL PAPERS\par\vspace{2\baselineskip}}\nointerlineskip%
More information about the Tutkielma-TeX
mailing list