[Tutkielma-TeX] gradu2.cls updated - IMPORTANT CHANGES

Matthieu Weber mweber at mit.jyu.fi
Mon May 1 12:02:37 EEST 2006


On Sat 29.04.2006 at 04:22:49PM +0300, Tero Tilus wrote:
> Copy-paste-oops.  Here is the complete diff (first line was missing)
> 
> $ diff gradu2.cls.orig gradu2.cls
> 368a369,371
> > % \gradu at tyyppi wraping hack
> > \usepackage{setspace}
> > 
> 387c390,394
> <       \gradu at tyyppi%
> ---
> > %      \gradu at tyyppi%
> > % \gradu at tyyppi wraping hack
> >       \vspace{6pt}
> >       \parbox{6.5cm}{\raggedright \setstretch{0.6} {\gradu at tyyppi} }%
> >       \vspace{9pt}

The \setstretch{0.6} makes the text to compact, I'd rather not do it.
But there is another problem, which is inherent to the design of the
title page: the word ``Tietotekniikan'' is lost, all alone on its first
line:

               Tietotekniikan
               syventäviin opintoihin sisältyvä
               opinnäytetyö

Would the following look better (I'm not sure if the linebreaking
between the words looks good in Finnish)?

               Tietotekniikan
               syventäviin opintoihin
               sisältyvä opinnäytetyö

If it is the case, you can use \mbox in order to keep together the
word groups that you don't want to see split across lines:

\tyyppi{\mbox{syventäviin opintoihin} \mbox{sisältyvä opinnäytetyö}}

I've updated the class so that the whole block of text is within one
parbox, the content of \tyyppi can therefore be as long as necessary.

Matthieu
-- 
 (~._.~)        Matthieu Weber - Université de Jyväskylä         (~._.~)
  ( ? )                email : mweber at mit.jyu.fi                  ( ? ) 
 ()- -()               public key id : 452AE0AD                  ()- -()
 (_)-(_)  "Humor ist, wenn man trotzdem lacht (Germain Muller)"  (_)-(_)




More information about the Tutkielma-TeX mailing list