ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: It works after a few changes but ..
Date: Fri, 17 Nov 2023 15:47:40 +0100 (CET)	[thread overview]
Message-ID: <6n17sp06-ro98-9o12-8r45-9q3253329012@hzvpu.rqh> (raw)
In-Reply-To: <536a5e995e2547d9b3e60cd60017c9e9@univie.ac.at>

[-- Attachment #1: Type: text/plain, Size: 657 bytes --]

On Fri, 17 Nov 2023, Ursula Hermann wrote:

> Dear List,
> After a few changes i have here an example:
> It works, but what I wanted to know is why are there
> 
> round brackets after writing \starttheroem if i compile it.
> Should be without round brackets.

Are you looking for something like this?

\defineenumeration
  [theorem]
  [    
    text=Theorem,
    title=yes,
    width=fit,
    distance=0.5em,
    alternative=serried,
  ]

\starttext
  \starttheorem 
    The square on the hypotenuse is equal to the sum of the squares on the
    other two sides. Ach is das schön, dass du da bist
  \stoptheorem
\stoptext

Aditya

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

  reply	other threads:[~2023-11-17 14:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-17 14:06 [NTG-context] " Ursula Hermann
2023-11-17 14:47 ` Aditya Mahajan [this message]
2023-11-17 16:11   ` [NTG-context] " Ursula Hermann
2023-11-18 14:47 ` Bruce Horrocks
2023-11-20  8:54   ` Ursula Hermann
2023-11-21 23:19     ` Bruce Horrocks
2023-11-23  9:25     ` Ursula Hermann

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=6n17sp06-ro98-9o12-8r45-9q3253329012@hzvpu.rqh \
    --to=adityam@umich.edu \
    --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).