[Tutkielma-TeX] [darcs] jydiss.cls-muutos: Add a new \entitle command to support English documents
Antti-Juhani Kaijanaho
antti-juhani.a-j.kaijanaho at jyu.fi
Wed Sep 24 19:35:55 EEST 2008
(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 Sep 24 18:00:31 EEST 2008 Antti-Juhani Kaijanaho <antti-juhani.a-j.kaijanaho at jyu.fi>
* Add a new \entitle command to support English documents
diff -rN -u old-jydiss/jydiss.cls new-jydiss/jydiss.cls
--- old-jydiss/jydiss.cls 2008-09-24 19:35:55.521160000 +0300
+++ new-jydiss/jydiss.cls 2008-09-24 19:35:55.591250000 +0300
@@ -502,6 +502,7 @@
\def\diss at people{\item }
\newcommand{\setauthor}[2]{\gdef\diss at surname{#2}\gdef\diss at forename{#1}}
\renewcommand{\title}[1]{\gdef\diss at title{#1}}
+\newcommand{\entitle}[1]{\gdef\diss at entitle{#1}}
\newcommand{\disstype}[1]{\gdef\diss at type{#1}}
\newcommand{\abstract}[1]{\gdef\diss at abstract{#1}}
\newcommand{\people}[1]{\gdef\diss at people{#1}}
@@ -560,7 +561,7 @@
\selectlanguage{english}
\chapter*{\abstractname}%
\diss at surname, \diss at forename\\%
- \diss at title\\%
+ \ifdiss at fi\diss at entitle\else\diss at title\fi\\%
\diss at address: \diss at publisher, \the\year, \ref{TotPages} p.%
\ifdiss at loar (+included articles)\fi\\%
(\diss at series\\%
diff -rN -u old-jydiss/manual.tex new-jydiss/manual.tex
--- old-jydiss/manual.tex 2008-09-24 19:35:55.521160000 +0300
+++ new-jydiss/manual.tex 2008-09-24 19:35:55.591250000 +0300
@@ -161,6 +161,7 @@
\begin{cmds}
\item[title] document's title (mandatory).
+\item[entitle] document's title in English (mandatory in Finnish documents, ignored otherwise)
\item[setauthor] document's author (two arguments: first names and surname)
(mandatory).
%\item[setdate] takes three arguments: day, month, year (all numeric);
More information about the Tutkielma-TeX
mailing list