🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #11189

Re: Palatino comma in math (How to ??)

#11189
From: Jeremy Gibbons
Date: Wed, 13 Jan 1993 01:08
26 lines
1427 bytes
In <6926@tuegate.tue.nl> ronald@lowt.phys.tue.nl (Ronald Aarts) writes:

>When I use e.g. the palatino style to change the major font of my document
>into Palatino, then e.g. the comma in math mode doesn't change and still
>looks very similar to the one I had in combination with the cmr fonts.

>I'ld like to change all these math-commas into Palatino commas. Is there
>a simple trick to do this in e.g. a (personal) style file, or do I really
>have to put all my math-commas in \mbox{}.

Try 

   \mathcode`,="xyzz

where

   x is the "part of speech" (you probably want 6, for punctuation)
   y is the family (0 for the "roman", ie un-bold, un-italic etc, family)
   zz is the character within the font, in hex (probably the ascii for ",")

Jeremy

---
Jeremy Gibbons <jeremy@cs.auckland.ac.nz>       tel: +64 9 373 7599
   Department of Computer Science,              fax: +64 9 373 7453
   University of Auckland, Private Bag 92019, Auckland, New Zealand.
Technical Details
Message-ID: <1993Jan13.010847.7448@cs.aukuni.ac.nz>
Path: arc1-ca.pugleaf.net!sparky!uunet!comp.vuw.ac.nz!waikato.ac.nz!aukuni.ac.nz!cs18.cs.aukuni.ac.nz!jeremy
References: <6926@tuegate.tue.nl>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!comp.vuw.ac.nz!waikato.ac.nz!aukuni.ac.nz!cs18.cs.aukuni.ac.nz!jeremy
Newsgroups: comp.text.tex
Subject: Re: Palatino comma in math (How to ??)
Message-ID: <1993Jan13.010847.7448@cs.aukuni.ac.nz>
From: jeremy@cs.aukuni.ac.nz (Jeremy Gibbons)
Date: Wed, 13 Jan 1993 01:08:47 GMT
References: <6926@tuegate.tue.nl>
Organization: Computer Science Dept. University of Auckland
Cc: jeremy@cs.aukuni.ac.nz
Lines: 27