Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I’m so so sorry for yet another message in this thread. I’ve solved it, but still don’t quite understand why it works. I post the solution here so that nobody has to spend any time crafting the solution. But I still have 1 key question. Key question: Why does \setwhitespace[line]

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, Ok, last message in this topic, I promise. I’ve crafted a MWE. If I \setupwhitespace[line], the \blank[-0.5em] stops working. I’m sure I need to revise my TeX notes. For now, can somebody give me a little encouragement and tell me the answer? :-P \usecolors[xwi] %

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, Ah, found the solution in TextBackground. At here: https://www.contextgarden.net/TextBackground Can I have a 2-segment (2 vboxes) TextBackground (presumably with 2 TextBackgrounds, zero vspace between them)? For the top segment, I want

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, Sorry, my solution didn’t work. My purpose of using \startnarrower is to have some paragraphs of text inside the \framed. Unfortunately, it seems \framed doesn’t take paragraphs. \startframedtext doesn’t have as many border options as \framed. Should I use overlays? Or layers? It

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I got some progress! \setupnarrower[left=2cm, right=2cm] % what does middle do, actually? \startnarrower \dontleavehmode\framed[width=local]{testing} Since this works for left offset: \framed[width=local]{testing} \endnarrower So, how do I do a gradient background? Yeah, I know I

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Hans Hagen
On 8/21/2019 2:14 PM, Jon Wong wrote: \startnarrower \framed{testing} Seems framed doesn’t observe startnarrower commands. \endnarrower \starttext Seems framed doesn’t observe startnarrower commands. \startnarrower \dontleavehmode \framed{testing} Seems framed doesn’t observe

[NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I want to have a \startnarrower effect. But I also want that segment to have a border (hopefully a gradient background color too!). I tried: \startnarrower \framed{testing} Seems framed doesn’t observe startnarrower commands. \endnarrower How do I achieve that? Regards Jon