From: <denis.maier@unibe.ch>
To: <ntg-context@ntg.nl>
Subject: Re: Adjust Grid to last line textheight
Date: Wed, 23 Jun 2021 13:00:29 +0000 [thread overview]
Message-ID: <78ca15d3b7e245338100f13d2d60fd79@unibe.ch> (raw)
In-Reply-To: <1c9124b905154328aeb714cf9cff1b3f@unibe.ch>
[-- Attachment #1.1: Type: text/plain, Size: 1594 bytes --]
I've tried adjusting interlinespacing, but it seems to make no difference :
==========================
\setupinterlinespace[
height=.72,
depth=.28,
top=2,
%top=0,
%top=5,
%top=1,
bottom=0,
%bottom=0.4,
%bottom=0,
%bottom=1,
%bottom=5,
line=2.8ex,
]
\setuplayout[grid=yes]
\showgrid
\starttext
\dorecurse{5}{\input knuth\par}
\stoptext
==========================
Even extreme values for top and bottom (e.g. 0 or 10) seem to make no difference at all.
What am I missing? Is that even the right place to make that adjustment ?
Denis
Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von denis.maier@unibe.ch
Gesendet: Mittwoch, 23. Juni 2021 11:47
An: ntg-context@ntg.nl
Betreff: [NTG-context] WG: Adjust Grid to last line textheight
Hi,
I have to use grid typesetting and the grid has to be aligned to the last line of textheight. I have to replicate a layout made with Indesign where there seems to be a bit of additional spacing before the first line, whereas in ConTeXt that happens to be after the last line of the page (see attachment).
Is that possible?
I have already found the various grid snapping methods, but they seem to change how content is placed on the grid, not the placement of the grid itself.
=======
\setuplayout[grid=yes]
\showgrid
\starttext
\input knuth
\stoptext
=======
Best,
Denis
[-- Attachment #1.2: Type: text/html, Size: 7616 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2021-06-23 13:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <d4c1a2a8d2c045deabaefb8298272b39@unibe.ch>
2021-06-23 9:47 ` WG: " denis.maier
2021-06-23 13:00 ` denis.maier [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=78ca15d3b7e245338100f13d2d60fd79@unibe.ch \
--to=denis.maier@unibe.ch \
--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).