ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan via ntg-context <ntg-context@ntg.nl>
To: Jeroen via ntg-context <ntg-context@ntg.nl>
Cc: Aditya Mahajan <adityam@umich.edu>
Subject: Re: [NTG-context] Inline framed verbatim text
Date: Fri, 19 May 2023 11:29:02 -0400 (EDT)	[thread overview]
Message-ID: <q907rp64-7q63-pn12-3050-9o2p1o674n7n@hzvpu.rqh> (raw)
In-Reply-To: <CAPtmdbOcrjQhJwUz3OSmCzmP6ppWNL6S-GUaZ87hbrjUu9OoMw@mail.gmail.com>

On Fri, 19 May 2023, Jeroen via ntg-context wrote:

> Many thanks. Is there a proper way to add some space (a couple of pt or em)
> to the left and the right of the text itself so the frame does not get so
> close to the text?

\framed[loffset=0.2ex, roffset=0.2ex]{...}

Also see: https://wiki.contextgarden.net/Command/setupframed

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2023-05-19 15:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-19 12:22 Jeroen via ntg-context
2023-05-19 13:09 ` Wolfgang Schuster via ntg-context
2023-05-19 14:06   ` Jeroen via ntg-context
2023-05-19 15:29     ` Aditya Mahajan 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=q907rp64-7q63-pn12-3050-9o2p1o674n7n@hzvpu.rqh \
    --to=ntg-context@ntg.nl \
    --cc=adityam@umich.edu \
    /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).