* \framed command: (strange ?) difficulty to control the interlinespace between the first and the second line
@ 2020-11-16 20:07 Garulfo
2020-11-16 20:17 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Garulfo @ 2020-11-16 20:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-16 20:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-16 20:07 \framed command: (strange ?) difficulty to control the interlinespace between the first and the second line Garulfo
2020-11-16 20:17 ` Wolfgang Schuster
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).