* \blackrule and margin
@ 2021-02-19 15:02 Ursula Hermann
2021-02-19 15:41 ` Pablo Rodriguez
2021-02-19 16:31 ` Hans Hagen
0 siblings, 2 replies; 7+ messages in thread
From: Ursula Hermann @ 2021-02-19 15:02 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 474 bytes --]
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.
Uschi
[-- Attachment #1.2: Type: text/html, Size: 1686 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \blackrule and margin
2021-02-19 15:02 \blackrule and margin 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-19 16:31 ` Hans Hagen
1 sibling, 2 replies; 7+ messages in thread
From: Pablo Rodriguez @ 2021-02-19 15:41 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \blackrule and margin
2021-02-19 15:02 \blackrule and margin Ursula Hermann
2021-02-19 15:41 ` Pablo Rodriguez
@ 2021-02-19 16:31 ` Hans Hagen
1 sibling, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2021-02-19 16:31 UTC (permalink / raw)
To: mailing list for ConTeXt users, Ursula Hermann
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \blackrule and margin
2021-02-19 15:41 ` Pablo Rodriguez
@ 2021-02-22 9:05 ` Ursula Hermann
2021-02-23 10:28 ` Ursula Hermann
1 sibling, 0 replies; 7+ messages in thread
From: Ursula Hermann @ 2021-02-22 9:05 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1973 bytes --]
Dear Pablo!
Thank you so much for helping me. It is perfect. The formular is also a part of my documet.
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: 3869 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \blackrule and margin
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
1 sibling, 2 replies; 7+ messages in thread
From: Ursula Hermann @ 2021-02-23 10:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \blackrule and margin
2021-02-23 10:28 ` Ursula Hermann
@ 2021-02-23 12:54 ` Otared Kavian
2021-02-23 12:57 ` Otared Kavian
1 sibling, 0 replies; 7+ messages in thread
From: Otared Kavian @ 2021-02-23 12:54 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Uschi,
You may add \dontleavehmode at the right place as in the following:
\setuppapersize[A8,landscape]
\setuplayout[leftmargin=2.5cm,
leftmargindistance=0.2cm,
backspace=2.9cm,
width=4cm]
\showframe
\starttext
\margintext{\hairline\\{Me}}\dontleavehmode\hairline
\startformula
a^n + b^n = c^n.
\stopformula
\stoptext
Best regards: Otared
> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: \blackrule and margin
2021-02-23 10:28 ` Ursula Hermann
2021-02-23 12:54 ` Otared Kavian
@ 2021-02-23 12:57 ` Otared Kavian
1 sibling, 0 replies; 7+ messages in thread
From: Otared Kavian @ 2021-02-23 12:57 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-02-23 12:57 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-19 15:02 \blackrule and margin 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 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).