From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \blackrule and margin
Date: Tue, 23 Feb 2021 13:57:04 +0100 [thread overview]
Message-ID: <4CEBBD41-576B-4F82-BFB0-56A6055807E1@gmail.com> (raw)
In-Reply-To: <082928b073d14a218290f4babd42432b@univie.ac.at>
Sorry, I didn't send the correct example…
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline}\dontleavehmode\hairline
\startformula
\margintext{Me}
a^n + b^n = c^n.
\stopformula
\stoptext
> On 23 Feb 2021, at 11:28, Ursula Hermann <ursula.hermann@univie.ac.at> wrote:
>
> 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
> ___________________________________________________________________________________
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2021-02-23 12:57 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 [this message]
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=4CEBBD41-576B-4F82-BFB0-56A6055807E1@gmail.com \
--to=otared@gmail.com \
--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).