ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Arbitrary font size
@ 2012-07-05 23:34 Troy Henderson
  2012-07-06  4:15 ` Wolfgang Schuster
  2012-07-06  5:25 ` Khaled Hosny
  0 siblings, 2 replies; 4+ messages in thread
From: Troy Henderson @ 2012-07-05 23:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 243 bytes --]

I would like to know if there is a command like \tfn{0.9} which would allow
the user to specify an arbitrary font scale factor since the built-in \tfa,
\tfb, \tfc, \tfd, \tfx, and \tfxx are insufficient for one of my projects.

Troy Henderson

[-- Attachment #1.2: Type: text/html, Size: 254 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Arbitrary font size
  2012-07-05 23:34 Arbitrary font size Troy Henderson
@ 2012-07-06  4:15 ` Wolfgang Schuster
  2012-07-06  5:25 ` Khaled Hosny
  1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2012-07-06  4:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 06.07.2012 um 01:34 schrieb Troy Henderson:

> I would like to know if there is a command like \tfn{0.9} which would allow the user to specify an arbitrary font scale factor since the built-in \tfa, \tfb, \tfc, \tfd, \tfx, and \tfxx are insufficient for one of my projects.

\definefontsize[n]

\definebodyfontenvironment[default][n=0.9]

\starttext

Normal {\tfa Size A} {\tfb Size B} {\tfn Size N}

\stoptext

You can also change the scale values for \tfa, \tfb etc. with \setupbodyfontenvironment[default][a=…,b=…,…]

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Arbitrary font size
  2012-07-05 23:34 Arbitrary font size Troy Henderson
  2012-07-06  4:15 ` Wolfgang Schuster
@ 2012-07-06  5:25 ` Khaled Hosny
  2012-07-06 18:27   ` Troy Henderson
  1 sibling, 1 reply; 4+ messages in thread
From: Khaled Hosny @ 2012-07-06  5:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, Jul 05, 2012 at 06:34:40PM -0500, Troy Henderson wrote:
> I would like to know if there is a command like \tfn{0.9} which would allow the
> user to specify an arbitrary font scale factor since the built-in \tfa, \tfb, \
> tfc, \tfd, \tfx, and \tfxx are insufficient for one of my projects.

For one time uses, I use \definedfont[Serif sa 5] etc.
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Arbitrary font size
  2012-07-06  5:25 ` Khaled Hosny
@ 2012-07-06 18:27   ` Troy Henderson
  0 siblings, 0 replies; 4+ messages in thread
From: Troy Henderson @ 2012-07-06 18:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 17 bytes --]

Thank you.

Troy

[-- Attachment #1.2: Type: text/html, Size: 27 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-06 18:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-05 23:34 Arbitrary font size Troy Henderson
2012-07-06  4:15 ` Wolfgang Schuster
2012-07-06  5:25 ` Khaled Hosny
2012-07-06 18:27   ` Troy Henderson

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).