* WG: Adjust Grid to last line textheight
[not found] <d4c1a2a8d2c045deabaefb8298272b39@unibe.ch>
@ 2021-06-23 9:47 ` denis.maier
2021-06-23 13:00 ` denis.maier
0 siblings, 1 reply; 2+ messages in thread
From: denis.maier @ 2021-06-23 9:47 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 602 bytes --]
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: 3784 bytes --]
[-- Attachment #2: grid-indesign.PNG --]
[-- Type: image/png, Size: 43406 bytes --]
[-- Attachment #3: 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Adjust Grid to last line textheight
2021-06-23 9:47 ` WG: Adjust Grid to last line textheight denis.maier
@ 2021-06-23 13:00 ` denis.maier
0 siblings, 0 replies; 2+ messages in thread
From: denis.maier @ 2021-06-23 13:00 UTC (permalink / raw)
To: ntg-context
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-23 13:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <d4c1a2a8d2c045deabaefb8298272b39@unibe.ch>
2021-06-23 9:47 ` WG: Adjust Grid to last line textheight denis.maier
2021-06-23 13:00 ` denis.maier
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).