ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Joel via ntg-context <ntg-context@ntg.nl>
Cc: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Subject: Re: How to achieve true double space text in ConTeXt?
Date: Mon, 17 Jan 2022 17:40:07 +0100	[thread overview]
Message-ID: <5fab5454-06cc-d210-a550-4fedf74b6c42@gmail.com> (raw)
In-Reply-To: <1447723482.573551.1642436322359@mail.yahoo.com>

Joel via ntg-context schrieb am 17.01.2022 um 17:18:
> I need to display one article within my book that is in double space, 
> like what is a basic requirement in US colleges for turning in papers. 
> Basically, I need readers to have lots of space above the text to be 
> able to write some notes above every line.
> 
> This is a line of text.
> % <-- here is the space between lines
> % <-- this space here is as tall as a line of text.
> % <-- here is the next space between lines
> This is the next visible line of text.
> 
> The closest I can get is the "big" setting in `\setupinterlinespace`, 
> but it isn't big enough. I've also tried manual measurements in cm, but 
> I have no idea which setting is typographically good.
> 
> \setupinterlinespace[on, big]
>      \startlinenumbering
>          \input article
>      \stoplinenumbering
> \setupinterlinespace[off]
> 
> How can I achieve double space text in ConTeXt?

The \setupinterlinspace accepts also numbers to choose a multiple of the 
default distance or you pass a dimension where you set a fixed value for 
the distance between the baselines.

%%%% begin example
\showgrid

\starttext

\samplefile{lorem}

\page

\start \setupinterlinespace[2]% 2 lines, also possible: 1.5, 3, ...
\samplefile{lorem}\par
\stop

\page

\start \setupinterlinespace[line=5.6ex]% also possible: 
\setupinterlinespace[5.6ex]
\samplefile{lorem}\par
\stop

\stoptext
%%%% end example

Wolfgang
___________________________________________________________________________________
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:[~2022-01-17 16:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1447723482.573551.1642436322359.ref@mail.yahoo.com>
2022-01-17 16:18 ` Joel via ntg-context
2022-01-17 16:40   ` Wolfgang Schuster via ntg-context [this message]

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=5fab5454-06cc-d210-a550-4fedf74b6c42@gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=wolfgang.schuster.lists@gmail.com \
    /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).