From: Wolfgang Schuster via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Subject: Re: Two minor questions
Date: Mon, 6 Jun 2022 22:48:49 +0200 [thread overview]
Message-ID: <e6407593-f6a3-1bc8-91b9-2f427ceb4a25@gmail.com> (raw)
In-Reply-To: <CAGraPNe-WippXeo6WVQXtYtG3BTfMVxjnUs92ByGL2eAHqB8=A@mail.gmail.com>
Stefan Nedeljkovic via ntg-context schrieb am 06.06.2022 um 22:07:
> Wolfgang, Aditya, thank you both very much!
>
> I have 2 more questions:
>
> Observe the files here:
> https://drive.google.com/drive/folders/18ve5_F-BKOa-TxCWmD02mhPqNXQvNyWK?usp=sharing
>
> 1. I'd like to shift the text area down so that the red lines
> align with the blue lines (I think this amount is called depth). How
> would I do that?
Quick and dirty:
\setuplayout
[...,
topspace=\dimexpr5\measured{base}+2bp+\strutdp\relax,
...]
> 2. The font is such that exactly 2 characters fit into the grid cell,
> but I see that towards the end of the line it gets out of sync with
> the grid. How would I ensure that all text rendered is strictly
> monospaced without any stretching/shrinking trickery?
Change the text alignment:
\setupalign[flushleft,broad]
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
___________________________________________________________________________________
next prev parent reply other threads:[~2022-06-06 20:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-06 5:55 Stefan Nedeljkovic via ntg-context
2022-06-06 15:46 ` Wolfgang Schuster via ntg-context
2022-06-06 15:50 ` Aditya Mahajan via ntg-context
2022-06-06 20:07 ` Stefan Nedeljkovic via ntg-context
2022-06-06 20:48 ` Wolfgang Schuster via ntg-context [this message]
2022-06-07 5:25 ` Stefan Nedeljkovic via ntg-context
2022-06-07 10:34 ` Stefan Nedeljkovic via ntg-context
2022-06-07 15:05 ` Wolfgang Schuster via ntg-context
2022-06-07 15:20 ` Stefan Nedeljkovic via ntg-context
2022-06-07 16:22 ` Stefan Nedeljkovic 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=e6407593-f6a3-1bc8-91b9-2f427ceb4a25@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).