ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: mf via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: mf <massifr@fastwebnet.it>
Subject: Re: shrink inter-line space
Date: Sat, 18 Dec 2021 09:47:29 +0100	[thread overview]
Message-ID: <4f5963c4-cea5-8760-c7aa-dcfcf169e666@fastwebnet.it> (raw)
In-Reply-To: <07fe988c-330c-7f7c-ca7f-c51f36c63a7e@gmail.com>

Il 17/12/21 20:17, Wolfgang Schuster ha scritto:> \starttext
 >
 > \samplefile{ward}\par
 >
 > \blank
 >
 > \start \setupinterlinespace[line=12pt]
 > \samplefile{ward}\par
 > \stop
 >
 > \stoptext
Yes, but you can't say \setupinterlinespace[line=6pt] and make lines 
overlap. At a certain point baselines don't get closer any more.

----------------------------------------------
\starttext

\samplefile{ward}\par

\blank

\start \setupinterlinespace[line=12pt]
\samplefile{ward}\par
\stop

\blank

\start \setupinterlinespace[line=6pt]
\samplefile{ward}\par
\stop

\stoptext
----------------------------------------------

You can do something like this:

----------------------------------------------
\starttext

\samplefile{ward}\par

\blank

\start \setupinterlinespace[line=12pt]
\samplefile{ward}\par
\stop

\blank

The Earth, as a habitat for animal life, is in old age and has a fatal 
illness.\vadjust{\kern-6pt}
Several, in fact. It would be happening whether humans had ever evolved 
or not.\vadjust{\kern-6pt}
But our presence is like the effect of an old-age patient who smokes 
many packs\vadjust{\kern-6pt}
of cigarettes per day—and we humans are the cigarettes.

\stoptext
----------------------------------------------

but I had to insert all those \kern-6pt manually.
How can I obtain the same result automatically?
(please don't argue about the ugliness of the result ;) )

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

  reply	other threads:[~2021-12-18  8:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-17 15:28 mf via ntg-context
2021-12-17 19:17 ` Wolfgang Schuster via ntg-context
2021-12-18  8:47   ` mf via ntg-context [this message]
2021-12-18 11:53     ` Hans Hagen via ntg-context
2021-12-18 12:00     ` Wolfgang Schuster via ntg-context
2021-12-20 11:06       ` definedfont vs switchtobodyfont (was "shrink inter-line space") mf via ntg-context
2021-12-20 11:19         ` Hans Hagen via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4f5963c4-cea5-8760-c7aa-dcfcf169e666@fastwebnet.it \
    --to=ntg-context@ntg.nl \
    --cc=massifr@fastwebnet.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).