* Bugs in \framed
@ 2019-09-06 20:02 Henning Hraban Ramm
2019-09-06 21:56 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Henning Hraban Ramm @ 2019-09-06 20:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
In
ConTeXt ver: 2019.08.24 22:42 MKIV beta fmt: 2019.9.6
LuaTeX, Version 1.10.1
(i.e. today’s beta)
* framecorner doesn’t work any more (all the same)
* backgroundoffset is shifted downwards (used to be centered, but is wrong for a while)
examples:
\starttext
{\setupframed[foregroundstyle=mono,rulethickness=1pt,offset=0.5em,framecolor=darkgreen]
\startcombination[3*10]
{\framed[framecorner=00]{framecorner=00}}{}
{\framed[framecorner=01]{framecorner=01}}{}
{\framed[framecorner=02]{framecorner=02}}{}
{\framed[framecorner=03]{framecorner=03}}{}
{\framed[framecorner=04]{framecorner=04}}{}
{\framed[framecorner=05]{framecorner=05}}{}
{\framed[framecorner=06]{framecorner=06}}{}
{\framed[framecorner=07]{framecorner=07}}{}
{\framed[framecorner=08]{framecorner=08}}{}
{\framed[framecorner=09]{framecorner=09}}{}
{\framed[framecorner=10]{framecorner=10}}{}
{\framed[framecorner=11]{framecorner=11}}{}
{\framed[framecorner=12]{framecorner=12}}{}
{\framed[framecorner=13]{framecorner=13}}{}
{\framed[framecorner=14]{framecorner=14}}{}
{\framed[framecorner=15]{framecorner=15}}{}
{\framed[framecorner=16]{framecorner=16}}{}
{\framed[framecorner=17]{framecorner=17}}{}
{\framed[framecorner=18]{framecorner=18}}{}
{\framed[framecorner=19]{framecorner=19}}{}
{\framed[framecorner=20]{framecorner=20}}{}
{\framed[framecorner=21]{framecorner=21}}{}
{\framed[framecorner=22]{framecorner=22}}{}
{\framed[framecorner=23]{framecorner=23}}{}
{\framed[framecorner=24]{framecorner=24}}{}
{\framed[framecorner=25]{framecorner=25}}{}
{\framed[framecorner=26]{framecorner=26}}{}
{\framed[framecorner=27]{framecorner=27}}{}
{\framed[framecorner=28]{framecorner=28}}{}
{}{}
\stopcombination
% I had no idea how to do that with recursion
}
\framed[frame=off,
background=color,backgroundcolor=yellow,
]{Textmarker}
\framed[
background=color,backgroundcolor=red,
foreground=color,color=white,
]{{\color[white]{Pommes Rot-Weiß}}}
\framed[
frame=on, corner=round,
frameoffset=0.5em, framecolor=black,
background=color, backgroundcolor=darkgreen,
backgroundoffset=1em,
foreground=color,color=white,
]{{\color[white]{\ss\bf I wanted Center Green!}}}
\stoptext
Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD
___________________________________________________________________________________
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: Bugs in \framed
2019-09-06 20:02 Bugs in \framed Henning Hraban Ramm
@ 2019-09-06 21:56 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2019-09-06 21:56 UTC (permalink / raw)
To: mailing list for ConTeXt users, Henning Hraban Ramm
On 9/6/2019 10:02 PM, Henning Hraban Ramm wrote:
> In
> ConTeXt ver: 2019.08.24 22:42 MKIV beta fmt: 2019.9.6
> LuaTeX, Version 1.10.1
> (i.e. today’s beta)
>
> * framecorner doesn’t work any more (all the same)
typo .. i'll fix it
> * backgroundoffset is shifted downwards (used to be centered, but is wrong for a while)
hm
> \framed[
> frame=on, corner=round,
> frameoffset=0.5em, framecolor=black,
> background=color, backgroundcolor=darkgreen,
> backgroundoffset=1em,
> foreground=color,color=white,
> ]{{\color[white]{\ss\bf I wanted Center Green!}}}
btw, use
foregroundcolor=white
so
> backgroundoffset=1em,
> foregroundcolor=white]
> {\ss\bf I wanted Center Green!}
will do
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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:[~2019-09-06 21:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-06 20:02 Bugs in \framed Henning Hraban Ramm
2019-09-06 21:56 ` Hans Hagen
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).