ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Garulfo <garulfo@azules.eu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: \framed command: (strange ?) difficulty to control the interlinespace between the first and the second line
Date: Mon, 16 Nov 2020 21:07:36 +0100	[thread overview]
Message-ID: <2da47917-6299-bcf1-8a90-531e6af3fd31@azules.eu> (raw)

Hi,

with a simple application of \framed, see MWE below, the space between 
the first line and the second line doesn't match with the others (gap is 
bigger).

I get similar results:
- with my computer and live.contextgarden.net
- with context 2019.03.21 and 2020.11.08


1. Is it the expected behavior ?
2. What is the recommended way to benefit from the functionnalities of
    \framed but without this effect ?


Many thanks again for your support.



== MWE =================================================================

\setupbodyfont[sans, 16pt]

\starttext

\framed[align=flushleft,offset=0pt,frame=off,foregroundcolor=darkred]
{\WORD\tfb
Ce titre est trop long pour ce
Ce titre est trop long pour ce
Ce titre est trop long pour ce
Ce titre est trop long pour ce}

\blank[big]
\startalignment[flushleft]
{\WORD\tfb
Ce titre est trop long pour ce
Ce titre est trop long pour ce
Ce titre est trop long pour ce
Ce titre est trop long pour ce}
\stopalignment

\blank[big]
\vbox{\raggedright\WORD\tfb
Ce titre est trop llong pour ce
Ce titre est trop llong pour ce
Ce titre est trop llong pour ce
Ce titre est trop llong pour ce}

\blank[big]
\ruledvtop{\raggedright\WORD\tfb
Ce titre est trop llong pour ce
Ce titre est trop llong pour ce
Ce titre est trop llong pour ce
Ce titre est trop llong pour ce}

\blank[big]
\framed[offset=0pt,frame=off,foregroundcolor=darkgreen]
{\ruledvtop{\raggedright\WORD\tfb
Ce titre est trop llong pour ce
Ce titre est trop llong pour ce
Ce titre est trop llong pour ce
Ce titre est trop llong pour ce}}

\stoptext
___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2020-11-16 20:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-16 20:07 Garulfo [this message]
2020-11-16 20:17 ` Wolfgang Schuster

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=2da47917-6299-bcf1-8a90-531e6af3fd31@azules.eu \
    --to=garulfo@azules.eu \
    --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).