ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Text and Remark
@ 2023-11-16 12:52 Ursula Hermann
  2023-11-16 14:58 ` [NTG-context] " Bruce Horrocks
  0 siblings, 1 reply; 3+ messages in thread
From: Ursula Hermann @ 2023-11-16 12:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Dear List:


I would like to have text next to the Remark Number


\setupindenting[yes,small,first]

\defineenumeration
  [remark]
  [location=top,text=Remark,inbetween={\blank[nowhite]},after=\blank,headstyle=bold,margin=1in]

\starttext
  \remark
    An enumeration (\tex{remark}, in this case) takes the paragraph that follows
    it as its argument.

  \remark
    This is the first paragraph after \tex{remark}. It is part of the remark.

    This is the second paragraph after \tex{remark}. It is not part of the remark.

  \startremark
    This is the first paragraph inside \tex{startremark}. It is part of the remark.

    This is the second paragraph inside \tex{startremark}. It is part of the remark.
  \stopremark

  \subsubremark Presto!

\stoptext

It should look like:


Remark 1 I am here.


How can I do that.


Many Thanks Uschi

[-- Attachment #1.2: Type: text/html, Size: 5046 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] 3+ messages in thread

* [NTG-context] Re: Text and Remark
  2023-11-16 12:52 [NTG-context] Text and Remark Ursula Hermann
@ 2023-11-16 14:58 ` Bruce Horrocks
  2023-11-17 10:38   ` Ursula Hermann
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Horrocks @ 2023-11-16 14:58 UTC (permalink / raw)
  To: ntg-context mailing list

On 16 Nov 2023, at 12:52, Ursula Hermann <ursula.hermann@univie.ac.at> wrote:
> 
> \defineenumeration
> [remark]
> [location=top,text=Remark,inbetween={\blank[nowhite]},after=\blank,headstyle=bold,margin=1in]

Does

[alternative=left,text=Remark,inbetween={\blank[nowhite]},after=\blank,headstyle=bold,margin=1in]

give what you want?

—
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
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] 3+ messages in thread

* [NTG-context] Re: Text and Remark
  2023-11-16 14:58 ` [NTG-context] " Bruce Horrocks
@ 2023-11-17 10:38   ` Ursula Hermann
  0 siblings, 0 replies; 3+ messages in thread
From: Ursula Hermann @ 2023-11-17 10:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


Dear Bruce


Yes, it was better. But i show you how it should loook:

\definemargindata  [MyInMargin][inright]
\definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1cm]

\margintext{\blackrule[color=black, height=0.25ex, width=1cm]\\}\blackrule[color=black, height=0.25ex, width=7cm]

\starttext

\margintext{2.1.1}\remark{Remark 1 Ach ist das schön, dass du da bist}
\stoptext


But Remark should be a number as you wrote  in your example.


Thank you

Uschi


________________________________
Von: Bruce Horrocks <ntg@scorecrow.com>
Gesendet: Donnerstag, 16. November 2023 15:58:50
An: ntg-context mailing list
Betreff: [NTG-context] Re: Text and Remark

On 16 Nov 2023, at 12:52, Ursula Hermann <ursula.hermann@univie.ac.at> wrote:
>
> \defineenumeration
> [remark]
> [location=top,text=Remark,inbetween={\blank[nowhite]},after=\blank,headstyle=bold,margin=1in]

Does

[alternative=left,text=Remark,inbetween={\blank[nowhite]},after=\blank,headstyle=bold,margin=1in]

give what you want?

—
Bruce Horrocks
Hampshire, UK

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

[-- Attachment #1.2: Type: text/html, Size: 3477 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] 3+ messages in thread

end of thread, other threads:[~2023-11-17 10:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-16 12:52 [NTG-context] Text and Remark Ursula Hermann
2023-11-16 14:58 ` [NTG-context] " Bruce Horrocks
2023-11-17 10:38   ` Ursula Hermann

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