ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Square right aligned
@ 2024-02-08 11:23 Ursula Hermann
  2024-02-08 16:37 ` [NTG-context] " Henning Hraban Ramm
  2024-02-08 21:37 ` Otared Kavian
  0 siblings, 2 replies; 7+ messages in thread
From: Ursula Hermann @ 2024-02-08 11:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 518 bytes --]

Dear List,


I am at Home  and have the following example.:


\starttext
\margintext {1.1.1}
{\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).}
\par
{\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die
Aus-\par
sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen
machen Sie sich die Bedeutung der beiden Aussagen klar.\startalignment[right]\square\stopalignment}\stoptext}


There should be a sign like this □ at the end of the proof.


Uschi

[-- Attachment #1.2: Type: text/html, Size: 5038 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [NTG-context] Re: Square right aligned
  2024-02-08 11:23 [NTG-context] Square right aligned Ursula Hermann
@ 2024-02-08 16:37 ` Henning Hraban Ramm
  2024-02-08 21:37 ` Otared Kavian
  1 sibling, 0 replies; 7+ messages in thread
From: Henning Hraban Ramm @ 2024-02-08 16:37 UTC (permalink / raw)
  To: ntg-context

Am 08.02.24 um 12:23 schrieb Ursula Hermann:
> Dear List,
> 
> 
> I am at Home  and have the following example.:
> 
> klar.\startalignment[right]\square\stopalignment}\stoptext}
> 
> There should be a sign like this □ at the end of the proof.

What’s your problem – is the square missing? Then there’s probably an 
error message in the log that tells you about missing characters in your 
selected font.

I’d suggest \wordright{} instead of your alignment construction.

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [NTG-context] Re: Square right aligned
  2024-02-08 11:23 [NTG-context] Square right aligned 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 19:07   ` Pablo Rodriguez via ntg-context
  1 sibling, 2 replies; 7+ messages in thread
From: Otared Kavian @ 2024-02-08 21:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1882 bytes --]

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.

Best regards: Otared

> On 8 Feb 2024, at 12:23, Ursula Hermann <ursula.hermann@univie.ac.at> wrote:
> 
> Dear List, 
> 
> I am at Home  and have the following example.:
> 
> \starttext
> \margintext {1.1.1}
> {\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).}
> \par
> {\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die
> Aus-\par
> sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen
> machen Sie sich die Bedeutung der beiden Aussagen klar.\startalignment[right]\square\stopalignment}\stoptext}
> 
> There should be a sign like this □ at the end of the proof. 
> 
> Uschi
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl <https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl>
> webpage  : https://www.pragma-ade.nl <https://www.pragma-ade.nl/> / https://context.aanhet.net <https://context.aanhet.net/> (mirror)
> archive  : https://github.com/contextgarden/context <https://github.com/contextgarden/context>
> wiki     : https://wiki.contextgarden.net <https://wiki.contextgarden.net/>
> ___________________________________________________________________________________

Otared Kavian
e-mail: otared@gmail.com
Phone: +33 6 88 26 70 95





[-- Attachment #1.2: Type: text/html, Size: 16670 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [NTG-context] Re: Square right aligned
  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
  1 sibling, 1 reply; 7+ messages in thread
From: Ursula Hermann @ 2024-02-09  7:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2219 bytes --]

Dear Hraban,  Dear Otared!


Many Thanks,


Hraban: Because of \wordright: I took a look at wordright at the wiki, works perfect.


Otared, many thanks too. It also works perfect with your example


Uschi



________________________________
Von: Otared Kavian <otared@gmail.com>
Gesendet: Donnerstag, 8. Februar 2024 22:37:08
An: mailing list for ConTeXt users
Betreff: [NTG-context] Re: Square right aligned

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.

Best regards: Otared

On 8 Feb 2024, at 12:23, Ursula Hermann <ursula.hermann@univie.ac.at<mailto:ursula.hermann@univie.ac.at>> wrote:

Dear List,

I am at Home  and have the following example.:


\starttext
\margintext {1.1.1}
{\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).}
\par
{\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die
Aus-\par
sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen
machen Sie sich die Bedeutung der beiden Aussagen klar.\startalignment[right]\square\stopalignment}\stoptext}


There should be a sign like this □ at the end of the proof.

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

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

Otared Kavian
e-mail: otared@gmail.com<mailto:otared@gmail.com>
Phone: +33 6 88 26 70 95





[-- Attachment #1.2: Type: text/html, Size: 18150 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [NTG-context] Re: Square right aligned
  2024-02-09  7:39   ` Ursula Hermann
@ 2024-02-09  8:36     ` Ursula Hermann
  0 siblings, 0 replies; 7+ messages in thread
From: Ursula Hermann @ 2024-02-09  8:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2965 bytes --]

Dear Otared and Dear Hraban,

So this is my little example: works perfect, after our correspondence.

\starttext
\startalignment[normal]
\margintext {1.1.1}
{\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).}
\par
{\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die
Aus-\par
sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen
machen \par Sie sich die Bedeutung der beiden Aussagen klar.}\wordright{\square}
\stopalignment
\stoptext

Many thanks
Uschi


________________________________
Von: Ursula Hermann <ursula.hermann@univie.ac.at>
Gesendet: Freitag, 9. Februar 2024 08:39:10
An: mailing list for ConTeXt users
Betreff: [NTG-context] Re: Square right aligned


Dear Hraban,  Dear Otared!


Many Thanks,


Hraban: Because of \wordright: I took a look at wordright at the wiki, works perfect.


Otared, many thanks too. It also works perfect with your example


Uschi



________________________________
Von: Otared Kavian <otared@gmail.com>
Gesendet: Donnerstag, 8. Februar 2024 22:37:08
An: mailing list for ConTeXt users
Betreff: [NTG-context] Re: Square right aligned

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.

Best regards: Otared

On 8 Feb 2024, at 12:23, Ursula Hermann <ursula.hermann@univie.ac.at<mailto:ursula.hermann@univie.ac.at>> wrote:

Dear List,

I am at Home  and have the following example.:


\starttext
\margintext {1.1.1}
{\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).}
\par
{\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die
Aus-\par
sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen
machen Sie sich die Bedeutung der beiden Aussagen klar.\startalignment[right]\square\stopalignment}\stoptext}


There should be a sign like this □ at the end of the proof.

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

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

Otared Kavian
e-mail: otared@gmail.com<mailto:otared@gmail.com>
Phone: +33 6 88 26 70 95





[-- Attachment #1.2: Type: text/html, Size: 23707 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [NTG-context] Re: Square right aligned
  2024-02-08 21:37 ` Otared Kavian
  2024-02-09  7:39   ` Ursula Hermann
@ 2024-02-09 19:07   ` Pablo Rodriguez via ntg-context
  2024-02-09 19:25     ` Wolfgang Schuster
  1 sibling, 1 reply; 7+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-02-09 19:07 UTC (permalink / raw)
  To: ntg-context; +Cc: Pablo Rodriguez

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).

Functionality seems to have been enabled in \QED (line 45 in math-mis.mkxl).

Just in case it might help,

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [NTG-context] Re: Square right aligned
  2024-02-09 19:07   ` Pablo Rodriguez via ntg-context
@ 2024-02-09 19:25     ` Wolfgang Schuster
  0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2024-02-09 19:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Pablo Rodriguez via ntg-context
  Cc: Pablo Rodriguez

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-02-09 19:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-08 11:23 [NTG-context] Square right aligned 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 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).