ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* size in setuptype
@ 2016-02-24 12:25 Meer, Hans van der
  2016-02-24 12:37 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Meer, Hans van der @ 2016-02-24 12:25 UTC (permalink / raw)
  To: NTG ConTeXt


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

Why does \setuptyping has a parameter bodyfont= and is \setuptype missing it?
I am asking because in typesetting with
  \setuptype[style=small]\type{something}
I get another font and size than with
  \setuptyping[bodyfont=small]\starttyping ... \stoptyping
whereas in both the same is wanted in order to keep continuity in size and style.

\setuptype[bodyfont=small] definitely gave something different, i.e. no change.

\setuptype[bodyfont=small]: can this be incorporated in the next ConTeXt-beta producing the same effect as \setuptyping[bodyfont=small]?
It would be very nice.

Hans van der Meer





[-- Attachment #1.2: Type: text/html, Size: 1716 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: size in setuptype
  2016-02-24 12:25 size in setuptype Meer, Hans van der
@ 2016-02-24 12:37 ` Wolfgang Schuster
  2016-02-24 13:35   ` Meer, Hans van der
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2016-02-24 12:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> Meer, Hans van der <mailto:H.vanderMeer@uva.nl>
> 24. Februar 2016 um 13:25
> Why does \setuptyping has a parameter bodyfont= and is \setuptype 
> missing it?
> I am asking because in typesetting with
>   \setuptype[style=small]\type{something}
> I get another font and size than with
>   \setuptyping[bodyfont=small]\starttyping ... \stoptyping
> whereas in both the same is wanted in order to keep continuity in size 
> and style.
The bodyfont key for typing is usefull when you need a narrower font 
font for long listings.

\definetypeface[narrowtt][tt][mono][modern-condensed][default]

\starttext

\starttyping
\starttypescript [modern-designsize]
     \definetypeface [\typescriptone] [\s!rm] [\s!serif] 
[latin-modern-designsize] [\s!default] [\s!designsize=\s!auto]
     \definetypeface [\typescriptone] [\s!ss] [\s!sans]  
[latin-modern-designsize] [\s!default] [\s!designsize=\s!auto]
     \definetypeface [\typescriptone] [\s!tt] [\s!mono]  
[latin-modern-designsize] [\s!default] [\s!designsize=\s!auto]
     \definetypeface [\typescriptone] [\s!mm] [\s!math]  
[modern]                  [\s!default]
     \quittypescriptscanning
\stoptypescript
\stoptyping

\starttyping[bodyfont=narrowtt]
\starttypescript [modern-designsize]
     \definetypeface [\typescriptone] [\s!rm] [\s!serif] 
[latin-modern-designsize] [\s!default] [\s!designsize=\s!auto]
     \definetypeface [\typescriptone] [\s!ss] [\s!sans]  
[latin-modern-designsize] [\s!default] [\s!designsize=\s!auto]
     \definetypeface [\typescriptone] [\s!tt] [\s!mono]  
[latin-modern-designsize] [\s!default] [\s!designsize=\s!auto]
     \definetypeface [\typescriptone] [\s!mm] [\s!math]  
[modern]                  [\s!default]
     \quittypescriptscanning
\stoptypescript
\stoptyping

\stoptext

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 3602 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: size in setuptype
  2016-02-24 12:37 ` Wolfgang Schuster
@ 2016-02-24 13:35   ` Meer, Hans van der
  2016-02-24 13:38     ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Meer, Hans van der @ 2016-02-24 13:35 UTC (permalink / raw)
  To: NTG ConTeXt


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



On 24 Feb 2016, at 13:37, Wolfgang Schuster <schuster.wolfgang@gmail.com<mailto:schuster.wolfgang@gmail.com>> wrote:

Meer, Hans van der<mailto:H.vanderMeer@uva.nl>
24. Februar 2016 um 13:25
Why does \setuptyping has a parameter bodyfont= and is \setuptype missing it?
I am asking because in typesetting with
  \setuptype[style=small]\type{something}
I get another font and size than with
  \setuptyping[bodyfont=small]\starttyping ... \stoptyping
whereas in both the same is wanted in order to keep continuity in size and style.
The bodyfont key for typing is usefull when you need a narrower font font for long listings.

I can understand that, but it is not the problem to be solved here. That problem is the fact that I cannot typeset with both \type{...} and \starttyping ... \stoptyping and get the same appearance in type, spacing and size of the symbols.
That is apparently not only usefull for narrower text in long lists, but has a usefullness in other cases too.
Why should I have to use other mechanisms in order to get similar appearance than just through a symmetry between \setuptype and setuptyping?



\definetypeface[narrowtt][tt][mono][modern-condensed][default]

\starttext

\starttyping
\starttypescript [modern-designsize]
    \definetypeface [\typescriptone] [\s!rm] [\s!serif] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto]
    \definetypeface [\typescriptone] [\s!ss] [\s!sans]  [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto]
    \definetypeface [\typescriptone] [\s!tt] [\s!mono]  [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto]
    \definetypeface [\typescriptone] [\s!mm] [\s!math]  [modern]                  [\s!default]
    \quittypescriptscanning
\stoptypescript
\stoptyping

\starttyping[bodyfont=narrowtt]
\starttypescript [modern-designsize]
    \definetypeface [\typescriptone] [\s!rm] [\s!serif] [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto]
    \definetypeface [\typescriptone] [\s!ss] [\s!sans]  [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto]
    \definetypeface [\typescriptone] [\s!tt] [\s!mono]  [latin-modern-designsize] [\s!default] [\s!designsize=\s!auto]
    \definetypeface [\typescriptone] [\s!mm] [\s!math]  [modern]                  [\s!default]
    \quittypescriptscanning
\stoptypescript
\stoptyping

\stoptext

Wolfgang

Hans van der Meer


[-- Attachment #1.2: Type: text/html, Size: 5170 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: size in setuptype
  2016-02-24 13:35   ` Meer, Hans van der
@ 2016-02-24 13:38     ` Wolfgang Schuster
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2016-02-24 13:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> Meer, Hans van der <mailto:H.vanderMeer@uva.nl>
> 24. Februar 2016 um 14:35
>
>
>
> I can understand that, but it is not the problem to be solved here. 
> That problem is the fact that I cannot typeset with both \type{...} 
> and \starttyping ... \stoptyping and get the same appearance in type, 
> spacing and size of the symbols.
> That is apparently not only usefull for narrower text in long lists, 
> but has a usefullness in other cases too.
> Why should I have to use other mechanisms in order to get similar 
> appearance than just through a symmetry between \setuptype and 
> setuptyping?

\setuptyping[style=\ttx]
\setuptype  [style=\ttx]

\starttext

before
\starttyping
content
\stoptyping
after

before \type{content} after

\stoptext

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1964 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:[~2016-02-24 13:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-24 12:25 size in setuptype Meer, Hans van der
2016-02-24 12:37 ` Wolfgang Schuster
2016-02-24 13:35   ` Meer, Hans van der
2016-02-24 13:38     ` Wolfgang Schuster

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