ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* adjusting vertical space
@ 2021-11-24 23:06 jbf via ntg-context
  2021-11-25  8:22 ` Henning Hraban Ramm via ntg-context
  2021-11-25  8:33 ` Thomas A. Schmitz via ntg-context
  0 siblings, 2 replies; 4+ messages in thread
From: jbf via ntg-context @ 2021-11-24 23:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: jbf

The following MWE produces a passable result for a half-title page, but 
I need to reduce the vertical space between 'A JOURNEY' and 'from the' 
so that the 'h' of the 'the' is just touching the baseline of the 'R' in 
JOURNEY. At the moment there is some distance between them.

I thought I could do this with \setupinterlinespace[] (not represented 
in the MWE because it did not work) but no matter what dimensions I put 
in there, it makes no difference. Is there another way I can make 
infinitesimal adjustments to distance between the two lines in question?

Julian


\startstandardmakeup[top=]
\startalignment[middle]

\definedfont[name:SemplicitaPro-Medium.ttf*default at 34pt]
\color[gray]{A JOURNEY}

\definedfont[name:baskerville-italic.ttf*default at 26pt]
\color[gray]{from the}

\definedfont[name:SemplicitaPro-Medium.ttf*default at 34pt]
\color[gray]{BEGINNING}
\stopalignment
\stopstandardmakeup
\startstandardmakeup[top= ]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: adjusting vertical space
  2021-11-24 23:06 adjusting vertical space jbf via ntg-context
@ 2021-11-25  8:22 ` Henning Hraban Ramm via ntg-context
  2021-11-25  9:03   ` jbf via ntg-context
  2021-11-25  8:33 ` Thomas A. Schmitz via ntg-context
  1 sibling, 1 reply; 4+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2021-11-25  8:22 UTC (permalink / raw)
  To: jbf via ntg-context; +Cc: Henning Hraban Ramm

Am 25.11.21 um 00:06 schrieb jbf via ntg-context:
> The following MWE produces a passable result for a half-title page, but 
> I need to reduce the vertical space between 'A JOURNEY' and 'from the' 
> so that the 'h' of the 'the' is just touching the baseline of the 'R' in 
> JOURNEY. At the moment there is some distance between them.
> 
> I thought I could do this with \setupinterlinespace[] (not represented 
> in the MWE because it did not work) but no matter what dimensions I put 
> in there, it makes no difference. Is there another way I can make 
> infinitesimal adjustments to distance between the two lines in question?

You can try \offset[y=-3pt]{your text} or \vskip-3pt

Not good style, but could work.

Hraban
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: adjusting vertical space
  2021-11-24 23:06 adjusting vertical space jbf via ntg-context
  2021-11-25  8:22 ` Henning Hraban Ramm via ntg-context
@ 2021-11-25  8:33 ` Thomas A. Schmitz via ntg-context
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas A. Schmitz via ntg-context @ 2021-11-25  8:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Thomas A. Schmitz


On 11/25/21 00:06, jbf via ntg-context wrote:
> The following MWE

You do know what MWE stands for, right?

Thomas
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: adjusting vertical space
  2021-11-25  8:22 ` Henning Hraban Ramm via ntg-context
@ 2021-11-25  9:03   ` jbf via ntg-context
  0 siblings, 0 replies; 4+ messages in thread
From: jbf via ntg-context @ 2021-11-25  9:03 UTC (permalink / raw)
  To: Henning Hraban Ramm via ntg-context; +Cc: jbf, mailing list for ConTeXt users

That was the clue I needed - in particular the use of minus values, 
which I had entirely overlooked. And since \vskip works, so, therefore, 
does simple \blank with a minus value (and better style!), and for that 
matter also \hskip to make micro horizontal adjustments. In the end, so 
simple and another lesson learned - look to the simple rather than the 
more complicated solutions first.

Thank you for the patient mentoring.

Julian

On 25/11/21 7:22 pm, Henning Hraban Ramm via ntg-context wrote:
> Am 25.11.21 um 00:06 schrieb jbf via ntg-context:
>> The following MWE produces a passable result for a half-title page, 
>> but I need to reduce the vertical space between 'A JOURNEY' and 'from 
>> the' so that the 'h' of the 'the' is just touching the baseline of 
>> the 'R' in JOURNEY. At the moment there is some distance between them.
>>
>> I thought I could do this with \setupinterlinespace[] (not 
>> represented in the MWE because it did not work) but no matter what 
>> dimensions I put in there, it makes no difference. Is there another 
>> way I can make infinitesimal adjustments to distance between the two 
>> lines in question?
>
> You can try \offset[y=-3pt]{your text} or \vskip-3pt
>
> Not good style, but could work.
>
> Hraban
> ___________________________________________________________________________________ 
>
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________ 
>
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2021-11-25  9:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-24 23:06 adjusting vertical space jbf via ntg-context
2021-11-25  8:22 ` Henning Hraban Ramm via ntg-context
2021-11-25  9:03   ` jbf via ntg-context
2021-11-25  8:33 ` Thomas A. Schmitz via ntg-context

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