Re: [NTG-context] Is it possible to automatically determine font size to fit text to a given space?

2005-12-04 Thread Hans Hagen
Gerben Wierda wrote: While we're at it. can I get the name of the current font somehow? \fontname\font or often (in context): \lastfontname Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Is it possible to automatically determine font size to fit text to a given space?

2005-12-04 Thread Gerben Wierda
While we're at it. can I get the name of the current font somehow? G On Dec 2, 2005, at 15:02, Hans Hagen wrote: Daniel Pittman wrote: Hints about that, or a native TeX method[1], would be very much appreciated. At the moment it is a relatively slow process of manual trial and error. this

Re: [NTG-context] Is it possible to automatically determine font size to fit text to a given space?

2005-12-03 Thread Daniel Pittman
Hans Hagen <[EMAIL PROTECTED]> writes: > Daniel Pittman wrote: G'day Hans. >>Hints about that, or a native TeX method[1], would be very much >>appreciated. At the moment it is a relatively slow process of manual >>trial and error. > > this is something tex is pretty good at and it runs as fast a

Re: [NTG-context] Is it possible to automatically determine font size to fit text to a given space?

2005-12-02 Thread Hans Hagen
Wolfgang Zillig wrote: Could't it be done by metapost? no, that is overkill, but what can be done is: \startbuffer the label \stopbuffer \externalfigure[buffer][factor=max] or \scale[factor=max]{\framed[align=normal]{the label text}} that would scale each label to fit best but it would l

Re: [NTG-context] Is it possible to automatically determine font size to fit text to a given space?

2005-12-02 Thread Wolfgang Zillig
Could't it be done by metapost? Wolfgang Hans Hagen schrieb: Daniel Pittman wrote: Hints about that, or a native TeX method[1], would be very much appreciated. At the moment it is a relatively slow process of manual trial and error. this is something tex is pretty good at and it runs as

Re: [NTG-context] Is it possible to automatically determine font size to fit text to a given space?

2005-12-02 Thread Hans Hagen
Daniel Pittman wrote: Hints about that, or a native TeX method[1], would be very much appreciated. At the moment it is a relatively slow process of manual trial and error. this is something tex is pretty good at and it runs as fast as normal how does your current code look? (the solution d

[NTG-context] Is it possible to automatically determine font size to fit text to a given space?

2005-12-02 Thread Daniel Pittman
G'day. One of the things I (ab)use ConTeXt for is printing little text labels to Avery stock. This works quite well, and I was pleasantly surprised how easy it was to get working with some hints from Hans in the archives of this list. The labels, over time, have varying lengths of text on them,