home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / text / tex / 14888 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  1.4 KB

  1. Path: sparky!uunet!comp.vuw.ac.nz!waikato.ac.nz!aukuni.ac.nz!cs18.cs.aukuni.ac.nz!jeremy
  2. Newsgroups: comp.text.tex
  3. Subject: Re: Palatino comma in math (How to ??)
  4. Message-ID: <1993Jan13.010847.7448@cs.aukuni.ac.nz>
  5. From: jeremy@cs.aukuni.ac.nz (Jeremy Gibbons)
  6. Date: Wed, 13 Jan 1993 01:08:47 GMT
  7. References: <6926@tuegate.tue.nl>
  8. Organization: Computer Science Dept. University of Auckland
  9. Cc: jeremy@cs.aukuni.ac.nz
  10. Lines: 27
  11.  
  12. In <6926@tuegate.tue.nl> ronald@lowt.phys.tue.nl (Ronald Aarts) writes:
  13.  
  14. >When I use e.g. the palatino style to change the major font of my document
  15. >into Palatino, then e.g. the comma in math mode doesn't change and still
  16. >looks very similar to the one I had in combination with the cmr fonts.
  17.  
  18. >I'ld like to change all these math-commas into Palatino commas. Is there
  19. >a simple trick to do this in e.g. a (personal) style file, or do I really
  20. >have to put all my math-commas in \mbox{}.
  21.  
  22. Try 
  23.  
  24.    \mathcode`,="xyzz
  25.  
  26. where
  27.  
  28.    x is the "part of speech" (you probably want 6, for punctuation)
  29.    y is the family (0 for the "roman", ie un-bold, un-italic etc, family)
  30.    zz is the character within the font, in hex (probably the ascii for ",")
  31.  
  32. Jeremy
  33.  
  34. ---
  35. Jeremy Gibbons <jeremy@cs.auckland.ac.nz>       tel: +64 9 373 7599
  36.    Department of Computer Science,              fax: +64 9 373 7453
  37.    University of Auckland, Private Bag 92019, Auckland, New Zealand.
  38.  
  39.