From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Superscript text size
Date: Tue, 22 Jan 2008 00:05:35 -0500 (EST) [thread overview]
Message-ID: <alpine.DEB.0.9999.0801220000290.8357@nqv-yncgbc> (raw)
In-Reply-To: <1200959879.479531878a53b@imp.free.fr>
On Tue, 22 Jan 2008, morgan.brassel@free.fr wrote:
> Selon Aditya Mahajan <adityam@umich.edu>:
>
>> On Mon, 21 Jan 2008, morgan.brassel@free.fr wrote:
>>
>>> Hi,
>>>
>>> The superscript in expressions like $R^N$ seems to be typeset with a bigger
>> font
>>> size in ConTeXt than in LaTeX. Is it the wanted behaviour? From the
>> typographic
>>> point of view, which is the best of the two renderings?
>>>
>>> Thanks for your advice,
>>
>> That should not happen. I cannot see the different from my eyes. Here is
>> my example. In both cases, bodyfont is 10pt, and scriptsize is 7pt. Do you
>> see the differece?
>>
>> ConTeXT:
>>
>> \setupbodyfont[10pt]
>> \starttext $R^N$ \stoptext
>>
>>
>> LaTeX:
>>
>> \documentclass{minimal}
>> \usepackage{lmodern}
>> \begin{document}
>> $R^N$
>> \end{document}
>>
>>
>
> As far as my eyes can see, the results are the same with 10pt and 11pt as
> document text size, but not with 12pt. Your two examples in 12pt look different
> to me. Am I wrong?
In the latex example, you need to change the document class to article, if
you want 12pt fonts. To my eye, there is no difference between the two.
But pdffonts tells me that latex is using LM Math Italic 8pt while ConTeXt
is using LM Math Italic 9pt. This is not conclusive evidence since the
fonts could be scaled.
In any case, if you want to change ConTeXt's defaults for 12pt, you can
redefine the following
\unprotect
\definebodyfontenvironment
[\!!twelvepoint]
[ \s!text=\!!twelvepoint,
\s!script=\!!ninepoint,
\s!scriptscript=\!!sevenpoint,
\c!x=\!!tenpoint,
\c!xx=\!!eightpoint,
\c!big=\!!fourteenpointfour,
\c!small=\!!tenpoint]
\protect
This is just copied from font-ini.tex. You can use 12pt, 11pt etc rather
than the predefined macros if you want.
Aditya
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2008-01-22 5:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-21 13:14 morgan.brassel
2008-01-21 18:04 ` Aditya Mahajan
2008-01-21 23:57 ` morgan.brassel
2008-01-22 0:15 ` Hans Hagen
2008-01-22 5:05 ` Aditya Mahajan [this message]
2008-01-22 9:20 ` morgan.brassel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.0.9999.0801220000290.8357@nqv-yncgbc \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).