ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ursula Hermann <ursula.hermann@univie.ac.at>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \blackrule and margin
Date: Tue, 23 Feb 2021 10:28:50 +0000	[thread overview]
Message-ID: <082928b073d14a218290f4babd42432b@univie.ac.at> (raw)
In-Reply-To: <3b22fbd9-b5ba-c5eb-18c7-880281642de9@gmx.es>


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

Dear Pablo!


I have done some changes. How can I get both hairlines in the same height:


\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
             leftmargindistance=0.2cm,
             backspace=2.9cm,
             width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me}}
\hairline
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext


Thank you

Uschi



________________________________
Von: ntg-context <ntg-context-bounces@ntg.nl> im Auftrag von Pablo Rodriguez <oinos@gmx.es>
Gesendet: Freitag, 19. Februar 2021 16:41
An: ntg-context@ntg.nl
Betreff: Re: [NTG-context] \blackrule and margin

On 2/19/21 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.

Hi Uschi,

I don’t know whether this is similar to whay you might intend:

\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
             leftmargindistance=0.2cm,
             backspace=2.9cm,
             width=4cm]
\showframe
\starttext
\blackrule
\margintext{\blackrule[color=black, height=0.5ex, width=1cm]\\Me}
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext

BTW, it isn’t also clear to me whether the formula is part of your
document or not.

Just in case it helps,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

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

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

___________________________________________________________________________________
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-23 10:28 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 [this message]
2021-02-23 12:54     ` Otared Kavian
2021-02-23 12:57     ` Otared Kavian
2021-02-19 16:31 ` Hans Hagen

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=082928b073d14a218290f4babd42432b@univie.ac.at \
    --to=ursula.hermann@univie.ac.at \
    --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).