ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Ursula Hermann <ursula.hermann@univie.ac.at>
Subject: Re: \blackrule and margin
Date: Fri, 19 Feb 2021 17:31:14 +0100	[thread overview]
Message-ID: <522d553a-b0f5-aaf7-40c5-e52dbe7757d6@xs4all.nl> (raw)
In-Reply-To: <f59174243f8042e8a4a4359c62ed1aff@univie.ac.at>

On 2/19/2021 4:02 PM, Ursula Hermann wrote:
> Dear List,
> i have the little following example:
> 
> \setuppapersize[A8,landscape]
> \setuplayout[leftmargin=2.5cm,
>               leftmargindistance=0.2cm,
>               backspace=2.9cm,
>               width=4cm]
> \showframe
> \starttext
> \blackrule
> \margintext{Me}
> \blackrule[color=black, height=0.5ex, width=1cm]
> \stoptext
> \startformula
> a^n + b^n = c^n.
> \stopformula
> \stoptext
> What i want is a\blackrule over the margintext, but i do not get what I 
> wantend.
\definemargindata  [MyInMargin][inleft]
\definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=fit]

\starttext
     \inmargin[][topframe=on,bottomframe=on,rulethickness=1pt,width=fit]{Me}
     \startformula
     a^n + b^n = c^n.
     \stopformula
     \blank[3*big]
     \MyInMargin{You}
     \startformula
     a^n + b^n = c^n.
     \stopformula
\stoptext


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      parent reply	other threads:[~2021-02-19 16:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-19 15:02 Ursula Hermann
2021-02-19 15:41 ` Pablo Rodriguez
2021-02-22  9:05   ` Ursula Hermann
2021-02-23 10:28   ` Ursula Hermann
2021-02-23 12:54     ` Otared Kavian
2021-02-23 12:57     ` Otared Kavian
2021-02-19 16:31 ` Hans Hagen [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=522d553a-b0f5-aaf7-40c5-e52dbe7757d6@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    --cc=ursula.hermann@univie.ac.at \
    /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).