home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / text / tex / 12979 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  2.6 KB

  1. Path: sparky!uunet!mcsun!uknet!edcastle!edcogsci!iad
  2. From: iad@cogsci.ed.ac.uk (Ivan A Derzhanski)
  3. Newsgroups: comp.text.tex
  4. Subject: Query: kerns, accents, ligatures
  5. Message-ID: <11396@leonard.ed.ac.uk>
  6. Date: 9 Nov 92 14:55:51 GMT
  7. Organization: Centre for Cognitive Science, Edinburgh, UK
  8. Lines: 48
  9.  
  10.  
  11. (1) TeX doesn't kern accented letters even if it kerns their
  12. unaccented counterparts.  The file "roman.mf" says
  13.  
  14.   ligtable "V": [...] "A" kern kkk# [...];
  15.  
  16. and accordingly if {VA} is set in Computer Modern, the "A" goes 2u
  17. under the "V".  But in {\'VA} or {V\'A} no kerning is done.
  18.  
  19. Is this a bug or is it a feature?  That is, is kerning in the case of
  20. one of the letters having an accent deemed typographically undesirable,
  21. or is it just something that we can't get with the available tools?
  22.  
  23. (2) I've frequently encountered the opinion that if one has to
  24. accommodate an alphabet with more than 26 characters (separate glyphs
  25. or accented forms of one another), the way to go is to use ligatures,
  26. not active characters.  Y Haralambous suggests in _TuGboat_ 10:3 that
  27. (_inter alia_) {<A} be made into a ligature which yields "A" with an
  28. acute accent.  So {V<A} will be set as {V\'A} while also allowing for
  29. hyphenation later on in the word.
  30.  
  31. But, as I understand it, there will still be no kerning.  The ligtable
  32. entry for "V" says that a following "A" must go under it, but it can't
  33. say anything about a following "<", because it is still unknown what
  34. comes after the "<".  When that becomes known, in the entry for "<",
  35. where it says `"A" =: A_acute', it is too late to move the ligature.
  36.  
  37. Or am I missing something?
  38.  
  39. (Apparently it is considered a bad strategy to put the modifiers after
  40. the letter, because in that case {fi<} won't yield the desired "f"
  41. followed by "i" with an acute, if the "fi" ligature is still used.
  42. But it would also be a bad idea if our ligatures are not accented
  43. characters, but shapes which look completely different from the
  44. components.  For example, if a Cyrillic _sh_ is entered as {sh} (or
  45. {s1}, or {s<}, whatever, via ligature building), it will be kerned
  46. into a preceding letter as if it were an _s_, which is wrong, because
  47. the two look entirely different from the left side -- the former must
  48. be kerned as a Roman "m" and the latter as a Roman "c".)
  49.  
  50. (Yes, folks, I'm writing MF code for alphabets with more than 26
  51. letters, and I want them to look good. ...)
  52.  
  53. -- 
  54.  `Haud yer wheesht!  Come oot o the man an gie him peace.' (The Glasgow Gospel)
  55. Ivan A Derzhanski   (iad@cogsci.ed.ac.uk;  iad@chaos.cs.brandeis.edu)
  56. * Centre for Cognitive Science,  2 Buccleuch Place,  Edinburgh EH8 9LW,  UK
  57. * Cowan House, Pollock Halls, 18 Holyrood Park Road, Edinburgh EH16 5BD, UK
  58.