ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Till Tantau <tantau@tcs.uni-luebeck.de>
Subject: Re: tikz
Date: Wed, 22 Jul 2009 09:44:33 +0200	[thread overview]
Message-ID: <4A66C361.3000205@wxs.nl> (raw)
In-Reply-To: <6faad9f00907211615r23df9083j43065510887fe1f0@mail.gmail.com>

Mojca Miklavec wrote:
> On Tue, Jul 21, 2009 at 23:22, Hans Hagen wrote:
>> Mojca Miklavec wrote:
>>> TikZ does the following:
>>>
>>> \def\pgfutil@font@tiny{\tfxx}            % How to do this correctly?
>> \small or \txx
> 
> That was just copy-pasted from TikZ source (I have not been asking
> that; my diagnosis/question/suggestion was about
> \let\pgfutil@font@normalfont=\rm and \let\pgfutil@selectfont=\rm that
> should probably be changed to \tf) but since you have answered ...
> 
> I think that it was desired to use something even smaller. In LaTeX there is:
> 
> \tiny	5
> \scriptsize	7
> \footnotesize	8
> \small	9
> \normalsize	10
> 
> so one can choose 4 smaller sizes. In ConTeXt there is apparently (I
> never had to use so tiny sizes, so I never checked the details):
> 
>   \definebodyfontenvironment
>     [10pt]
>     [\s!text=10pt,\s!script=7pt,\s!scriptscript=5pt,
>      \c!x=8pt,\c!xx=6pt,\c!big=12pt,\c!small=8pt]
> 
> I suspect that the author wanted to have something even smaller than
> \tfxx (or better: 4 smaller sizes instead of just the current two),
> most probably that would be scriptscript, just that it needs a special
> treatment. (\switchtobodyfont[scriptscript] works to get 5pt in 10pt
> regime, but I'm not sure about the most efficient way.)

i don't know either ... personally i'd use a model that is tight to 
graphic dimensions (as baseline alignments are also an issue)

anyway, the latex and context font models are too different to bother 
too much about mapping

Hans




-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2009-07-22  7:44 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-21 12:25 tikz R. Bastian
     [not found] ` <6faad9f00907210531q45075141r445e4c0fd2eddc54@mail.gmail.com>
2009-07-21 16:44   ` tikz R. Bastian
2009-07-21 17:17     ` tikz Wolfgang Schuster
2009-07-21 17:24     ` tikz Mojca Miklavec
2009-07-21 18:34       ` tikz R. Bastian
2009-07-21 18:41         ` tikz Wolfgang Schuster
2009-07-21 19:02 ` tikz Mojca Miklavec
2009-07-21 21:22   ` tikz Hans Hagen
2009-07-21 23:15     ` tikz Mojca Miklavec
2009-07-22  7:44       ` Hans Hagen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-11-27 15:42 tikz Ursula Hermann
2019-11-27 15:51 ` tikz Henning Hraban Ramm
2019-11-27 17:06 ` tikz Martin Althoff
2019-11-27 17:46 ` tikz Eric Détrez
2019-11-27 23:01 ` tikz Alan Braslau
2009-10-01  5:42 Tikz David Arnold
2009-10-01  5:58 ` Tikz luigi scarso
2009-10-01  6:10   ` Tikz David Arnold
2009-10-01  6:17     ` Tikz luigi scarso
2009-10-01  6:22       ` Tikz David Arnold
2009-10-01  6:45         ` Tikz Thomas A. Schmitz
2009-10-01  7:38         ` Tikz luigi scarso
2009-10-01 11:30     ` Tikz Peter Münster
2009-10-01 11:25 ` Tikz Peter Münster
2009-10-01 16:51   ` Tikz David Arnold
2007-08-09 16:19 tikz Idris Samawi Hamid
2007-08-09 16:28 ` tikz Hans Hagen
2007-08-09 17:43 ` tikz Aditya Mahajan
2007-08-09 18:00   ` tikz Idris Samawi Hamid
2007-08-09 18:35     ` tikz Aditya Mahajan
2007-08-10  8:36 ` tikz Mojca Miklavec

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=4A66C361.3000205@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    --cc=tantau@tcs.uni-luebeck.de \
    /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).