ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Framed Blockquote?
Date: Tue, 16 Sep 2025 18:47:54 +0200	[thread overview]
Message-ID: <bb2de9d7-56b5-43f2-a364-13667f13bed8@fiee.net> (raw)
In-Reply-To: <803C5509-4B10-4DD4-A2CD-352B8CFF350A@gmail.com>

Sorry, I answered privately by accident.

I don’t think you need delimitedtext at all.
Did you try your framedtext within \startalignment[flushright]?
Or \hbox to \textwidth{\hfill\framedtext … }?

Hraban

Am 16.09.25 um 16:20 schrieb Matthias Weber:
> Thanks, Hraban,
> 
> The frame now has the right size. However, I wanted the whole blockquote on the right side of the page, which is why I set the left margin so big.
> How do I “shift” the quote to the right? I have played with \indentation without success.
> 
> Matthias
> 
>> On Sep 16, 2025, at 9:24 AM, Henning Hraban Ramm <texml@fiee.net> wrote:
>>
>> Am 16.09.25 um 13:23 schrieb Matthias Weber:
>>> Unfortunately,
>>> offset=overlay
>>> Eliminates the space on all sides *except* on the left, so it doesn’t quite help yet
>>
>> You set a left margin explicitely.
>>
>> \defineframedtext	[quotebackground]
>> 				[backgroundcolor=quotecolor,
>> 				background=color,
>>   				corner=round,
>> 	 			width=fit,
>>   				frame=on,
>> 				framecolor=black,
>>                 offset=overlay,
>> 				color=quotetxt]	
>>
>> \setupdelimitedtext[blockquote][style=\slx,
>> 	leftmargin=0pt,
>> 	rightmargin=0pt,
>> 	before={\startquotebackground},
>> 	after={\stopquotebackground\blank[2cm]}]
>>
>> Hraban
> 

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

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2025-09-16 16:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-16  5:31 [NTG-context] " Matthias Weber
2025-09-16  7:07 ` [NTG-context] " Henning Hraban Ramm
2025-09-16 11:23   ` Matthias Weber
     [not found]     ` <64e4d6b1-8e21-420b-8b75-afd638aace22@fiee.net>
     [not found]       ` <803C5509-4B10-4DD4-A2CD-352B8CFF350A@gmail.com>
2025-09-16 16:47         ` Henning Hraban Ramm [this message]
2025-09-16 17:23           ` Wolfgang Schuster
2025-09-16 16:48 ` Wolfgang Schuster
2025-09-16 17:08   ` Matthias Weber

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=bb2de9d7-56b5-43f2-a364-13667f13bed8@fiee.net \
    --to=texml@fiee.net \
    --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).