Re: [NTG-context] Super- and sub-script in text mode, or, fonts in math mode
Hi Wolfgang, Thanks, that gets me closer (though \highlow and \lowhigh result in undefined control sequence here). However, the superscripted text is not reduced in size at all. This seems to be XeTeX-specific, as using PDFTeX works fine. The same issue arises using \small{} in XeTeX, whether standing alone or in combination with \high{}. Some light could be shed on this by observing that *all* text produced by XeTeX, when in comparison with PDFTeX, looks like has gone through \small. I suppose this is possible as I note that \small can't be applied recursively (i.e. \small{\small{x}} == \small{x} ). Thoughts? James On Tue, Mar 2, 2010 at 10:02 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 02.03.10 22:58, schrieb James Fisher: Hi, A minor problem: I'm trying to place superscripted text in the text body -- things like '2^nd March'. I can't see anything like 2{\sup nd}, so my only known solution at the moment is math mode: $2^{nd}$. Despite this not being 'math', I don't really have an aversion to it. However, there's a problem with it: the superscripted text appears in italic Computer Modern. I'm using Gentium Book Basic as my body font, using XeTeX. The Gentium typeface is used perfectly everywhere, including the '2' in '2^nd', with the exception of the superscripted text. So what solutions are to hand? Is there either (1) super/sub commands in text mode, or (2) a way of fixing this in math mode? (Also, would this be a problem with ConTeXt or with XeTeX?) a\high{x}b\low{x}c\highlow{x}{y}d\lowhigh{x}{y} 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Super- and sub-script in text mode, or, fonts in math mode
Am 03.03.10 13:04, schrieb James Fisher: Hi Wolfgang, Thanks, that gets me closer (though \highlow and \lowhigh result in undefined control sequence here). \hilo and \lohi 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Super- and sub-script in text mode, or, fonts in math mode
That's better. Also, for the record, I've been working with Mark IV today, and LuaTeX doesn't seem to have XeTeX's problem with \small. On Wed, Mar 3, 2010 at 2:07 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 03.03.10 13:04, schrieb James Fisher: Hi Wolfgang, Thanks, that gets me closer (though \highlow and \lowhigh result in undefined control sequence here). \hilo and \lohi 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Super- and sub-script in text mode, or, fonts in math mode
Hi, A minor problem: I'm trying to place superscripted text in the text body -- things like '2^nd March'. I can't see anything like 2{\sup nd}, so my only known solution at the moment is math mode: $2^{nd}$. Despite this not being 'math', I don't really have an aversion to it. However, there's a problem with it: the superscripted text appears in italic Computer Modern. I'm using Gentium Book Basic as my body font, using XeTeX. The Gentium typeface is used perfectly everywhere, including the '2' in '2^nd', with the exception of the superscripted text. So what solutions are to hand? Is there either (1) super/sub commands in text mode, or (2) a way of fixing this in math mode? (Also, would this be a problem with ConTeXt or with XeTeX?) James Fisher ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Super- and sub-script in text mode, or, fonts in math mode
Am 02.03.10 22:58, schrieb James Fisher: Hi, A minor problem: I'm trying to place superscripted text in the text body -- things like '2^nd March'. I can't see anything like 2{\sup nd}, so my only known solution at the moment is math mode: $2^{nd}$. Despite this not being 'math', I don't really have an aversion to it. However, there's a problem with it: the superscripted text appears in italic Computer Modern. I'm using Gentium Book Basic as my body font, using XeTeX. The Gentium typeface is used perfectly everywhere, including the '2' in '2^nd', with the exception of the superscripted text. So what solutions are to hand? Is there either (1) super/sub commands in text mode, or (2) a way of fixing this in math mode? (Also, would this be a problem with ConTeXt or with XeTeX?) a\high{x}b\low{x}c\highlow{x}{y}d\lowhigh{x}{y} 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___