Indeed, I goofed big time...

It was most useful to refresh my (lack of) understanding about how
TeX's interline spacing works. <grin>

Alan

On Mon, Jan 5, 2009 at 10:34 AM, Alan STONE
<software.list.1e...@gmail.com>wrote:

> Thanks a lot for the clarification Wolfgang.
>
> I guess I was still playing with this kind of major flawed thinking coming
> from WYSIWYG wordprocessors where isn't concerned thinking about these
> technical aspects (what's underneath), instead type/edit as characters
> appear on screen in real time, then when switching to typesetting systems
> extrapolate and expect things to work in the same way.
>
> I'll digg into the manuals' corresponding chapters to get more familiar
> with these technicalities and let them sink in.
>
> Best,
> Alan
>   On Sun, Jan 4, 2009 at 8:54 PM, Wolfgang Schuster <
> schuster.wolfg...@googlemail.com> wrote:
>
>>
>> Am 04.01.2009 um 20:30 schrieb Alan STONE:
>>
>>
>> On Sun, Jan 4, 2009 at 6:35 PM, Wolfgang Schuster <
>>> schuster.wolfg...@googlemail.com> wrote:
>>>
>>> Am 04.01.2009 um 18:26 schrieb Alan STONE:
>>>
>>> \starttext
>>>
>>> \setbox\scratchbox\hbox{\switchtobodyfont[38pt]Text In A Frame}
>>>
>>> \the\htdp\scratchbox
>>>
>>> \stoptext
>>>
>>> From this example I conclude TeX does not do what you tell it to do.
>>>
>>> I must be missing something... ?
>>>
>>> What do you not understand in my example?
>>>
>>> From what I understand of it: asked 38pt, output 26.18pt
>>>
>>
>> The 26.18pt are only the height of the sample text, not each character
>> has the height of the font size which includes the height and depth.
>>
>> You can see here the output is correct and only characters with large
>> height and depth match the given fontsize.
>>
>> \starttext
>> \setbox\scratchbox\hbox{\switchtobodyfont[38pt](}
>> \the\htdp\scratchbox % 37.45pt
>> \stoptext
>>
>> I show you in another example why you value for the interlinespace
>> is to small for characters with depth.
>>
>> \starttext
>>
>> \vbox
>>  {\switchtobodyfont[38pt]
>>   \setupinterlinespace[line=30pt]
>>   \lineskiplimit-\maxdimen
>>   Big text\crlf written in\crlf three rows\par}
>>
>> \stoptext
>>
>>
>> Wolfgang
>>
>


-- 
Best,
Alan

* TeX engine = LuaTeX
*ConTeXt minimals ver: 2008.11.10 21:40 MKIV  fmt: 2008.11.21  int:
english/english
* Ubuntu 8.04 Hardy Heron
___________________________________________________________________________________
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 via email to