From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
madiazm.eoicc@gmail.com
Subject: [NTG-context] Re: learning about the grid
Date: Mon, 20 Nov 2023 18:41:40 +0100 [thread overview]
Message-ID: <adf3c387-cb9d-a2b6-c218-2557d88a2d86@gmail.com> (raw)
In-Reply-To: <170043224614.1556.17339837485460986275@cgl.ntg.nl>
madiazm.eoicc@gmail.com schrieb am 19.11.2023 um 23:17:
> Thanks, Pablo and Henning
>
> I suppose I am making a mistake with my setupinterlinearspace. My school asks for Times New Roman (I use termes) 12pt and onehalfspacing. In latex I used linespread{1.3} and so I supposed setting ConTeXt with setupinterlinearspace[1.3ex] was the right way (I read somewhere that vertical spaces should be measured in ex and horizontal spaces in em; maybe it's not widely accepted).
> I tried setting my interlinearspace to 3ex and it looked much better, but I must compare it with a onehalfspacing of wordprocessors to be sure it is not such different.
The unit ex uses the x-height value of the font as dimension, the
x-height is the height of the lowercase x (actually it's a value in the
font which is most cases equal to the height of the lowercase x) as can
be seen in the output of the following example.
\starttext
\heightofstring{x}
\the\exheight
\stoptext
To get one and a half line of interlinespace with ConTeXt you can set a
fixed value with the \setupinterlinespace command.
\setupinterlinespace[line=18pt]
\showgrid
\starttext
\samplefile{lorem}
\stoptext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2023-11-20 17:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-19 12:27 [NTG-context] " Miguel Diaz
2023-11-19 13:36 ` [NTG-context] " Pablo Rodriguez via ntg-context
2023-11-19 15:34 ` Henning Hraban Ramm
2023-11-19 22:17 ` madiazm.eoicc
2023-11-19 22:42 ` Henning Hraban Ramm
2023-11-20 17:29 ` Pablo Rodriguez via ntg-context
2023-11-20 17:41 ` Wolfgang Schuster [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=adf3c387-cb9d-a2b6-c218-2557d88a2d86@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=madiazm.eoicc@gmail.com \
--cc=ntg-context@ntg.nl \
/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).