ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: [NTG-context] Re: Square right aligned
Date: Fri, 9 Feb 2024 20:25:06 +0100	[thread overview]
Message-ID: <e7fdc923-c631-5563-7614-e7eb7a5852df@gmail.com> (raw)
In-Reply-To: <713fafec-76eb-3948-ab44-2497d9317580@gmx.es>

Pablo Rodriguez via ntg-context schrieb am 09.02.2024 um 20:07:
> On 2/8/24 22:37, Otared Kavian wrote:
>> Hi Ursula,
>>
>> I think you mean the so-called end of the proof sign, or QED (Quod Erat
>> Demonstrandum). You can use this:
>>
>> \definesymbol[QED][\mathematics{\square}]
>> \def\qed{\wordright{\symbol[QED]}}
>> \starttext
>> This is the end of our proof. \qed
>> \stoptext
>>
>> In principle it is included in ConTeXt, but it seems that in the latest
>> version I have (2024.01.23), the command \qed is broken.
> 
> Hi Otared,
> 
> \qed seems to have been disabled (line 988 in strc-con.mklx).


The \qed command works only in a description or enumeration environment.

\definedescription [qedtest] [closesymbol=\symbol{qed}]

\starttext

\startqedtest
\samplefile{lorem}\qed
\stopqedtest

\stoptext

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________

      reply	other threads:[~2024-02-09 19:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-08 11:23 [NTG-context] " Ursula Hermann
2024-02-08 16:37 ` [NTG-context] " Henning Hraban Ramm
2024-02-08 21:37 ` Otared Kavian
2024-02-09  7:39   ` Ursula Hermann
2024-02-09  8:36     ` Ursula Hermann
2024-02-09 19:07   ` Pablo Rodriguez via ntg-context
2024-02-09 19:25     ` Wolfgang Schuster [this message]

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=e7fdc923-c631-5563-7614-e7eb7a5852df@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=oinos@gmx.es \
    /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).