Re: [NTG-context] Cannot turn big letters to small

2009-03-30 Thread Hans Hagen

Vyatcheslav Yatskovsky wrote:

Hello,

I have heads typed in capital letters, but I want first letters of each 
word to be capitalized and the rest small.


For example, I have

\faculty{ФАКУЛЬТЕТ АЕРОКОСМІЧНИХ СИСТЕМ УПРАВЛІННЯ}

but actually I need the result that would be produced by

\faculty{Факультет Аерокосмічних Систем Управління }


I have played a lot with \Word, \Words, \Cap, etc, but they don't work.
Current \word command turns all letters to small, but this is not 
acceptable.


\definehead[faculty][chapter]
\setuphead [faculty][
incrementnumber=list, page=yes, number=no, align=right,
style={\switchtobodyfont[impact]\bfb\word}]


mkii or mkiv?



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Cannot turn big letters to small

2009-03-30 Thread Vyatcheslav Yatskovsky


  I have heads typed in capital letters, but I want first letters of each
  word to be capitalized and the rest small.
  
  For example, I have
  
  \faculty{BIG HEAD}
  
  but actually I need the result that would be produced by
  
  \faculty{Big Head}
  
  
  I have played a lot with \Word, \Words, \Cap, etc, but they don't work.

  Current \word command turns all letters to small, but this is not
  acceptable.
  
  \definehead[faculty][chapter]

  \setuphead [faculty][
  incrementnumber=list, page=yes, number=no, align=right,
  style={\switchtobodyfont[impact]\bfb\word}]
   


mkii or mkiv?
   

Sure, mkiv. This is the only engine I use :)

Vyatcheslav
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Cannot turn big letters to small

2009-03-30 Thread Wolfgang Schuster


Am 30.03.2009 um 17:31 schrieb Vyatcheslav Yatskovsky:


Hello,

I have heads typed in capital letters, but I want first letters of  
each word to be capitalized and the rest small.



Till Hans fix \Word(s) you could use this:

\setuphead[faculty][deeptextcommand=\Words\lowercase]

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___