Path: utzoo!attcan!uunet!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!csrd.uiuc.edu!s41.csrd.uiuc.edu!eijkhout From: eijkhout@s41.csrd.uiuc.edu (Victor Eijkhout) Newsgroups: comp.text.tex Subject: Re: \\uppercase and \\i (dotless i) Message-ID: <1990Dec10.230856.4409@csrd.uiuc.edu> Date: 10 Dec 90 23:08:56 GMT References: <3624@intvax.UUCP> Sender: news@csrd.uiuc.edu (news) Organization: UIUC Center for Supercomputing Research and Development Lines: 25 drstrip@intvax.UUCP (David R. Strip) writes: >I am trying to title a chapter N\^{\i}mes in book >style. The title prints fine on the first page of the >chapter, but when used as a header on righthand pages >I have a problem when the chapter command applies >uppercase to the string. I have defined the uppercase >of \i to be I > \uccode'020=`I >but \uppercase does not expand its argument, and I'm at >a loss as what to do. Nice problem. It took me a while to figure this one out. The \uccode'020=`I is correct. The problem is that TeX will only uppercase character octal-20 if it really sees that character. Here's how: N\^\char`^^Pmes By the ^^ substitution mechanism ^^P (which is like Control-P, which gives octal 20) becomes the dotless i character, and this can be uppercased without any problem. Accenting still works, because accents can also be placed over \char-denoted characters. Victor.