Re: [NTG-context] \blackrule and margin
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 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 im Auftrag von Pablo Rodriguez > > 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 ___
Re: [NTG-context] \blackrule and margin
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 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 im Auftrag von Pablo Rodriguez > > 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 ___
Re: [NTG-context] \blackrule and margin
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 im Auftrag von Pablo Rodriguez 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 ___
Re: [NTG-context] \blackrule and margin
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 im Auftrag von Pablo Rodriguez 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 ___
Re: [NTG-context] \blackrule and margin
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 ___
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 ___
[NTG-context] \blackrule and margin
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 ___ 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 ___
[NTG-context] blackrule
Dear Sirs, I want to prepare a forma for handwriting filling. With this propose e use \blackrule command for trace some lines inside paragraphs. For example, I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good... In the pdf document appears: I, !max___ , promise maintain a good... Are there a good reason for that? Thanks Jorge___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] blackrule
Hi Jorge, batela wrote: Dear Sirs, I want to prepare a forma for handwriting filling. With this propose e use \blackrule command for trace some lines inside paragraphs. For example, I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good... In the pdf document appears: I, *!max*___ , promise maintain a good... Are there a good reason for that? Which beta version do you use (texexec --version)? If it's not the latest one (17.09.) simply update to that version. This bug (typo) was fixed some beta versions ago. Greetings, Peter Thanks Jorge ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] blackrule
Peter Rolf wrote: Hi Jorge, batela wrote: Dear Sirs, I want to prepare a forma for handwriting filling. With this propose e use \blackrule command for trace some lines inside paragraphs. For example, I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good... In the pdf document appears: I, *!max*___ , promise maintain a good... Are there a good reason for that? Which beta version do you use (texexec --version)? If it's not the latest one (17.09.) simply update to that version. This bug (typo) was fixed some beta versions ago. normally this !xxx kind of errors point to a missing \protect Hans -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] blackrule
Hans Hagen wrote: Peter Rolf wrote: Hi Jorge, batela wrote: Dear Sirs, I want to prepare a forma for handwriting filling. With this propose e use \blackrule command for trace some lines inside paragraphs. For example, I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good... In the pdf document appears: I, *!max*___ , promise maintain a good... Are there a good reason for that? Which beta version do you use (texexec --version)? If it's not the latest one (17.09.) simply update to that version. This bug (typo) was fixed some beta versions ago. normally this !xxx kind of errors point to a missing \protect But in this case I had the same error in a prior beta. And if I remember it right, \blackrule works in the current stable version (and older ones). This is from a mail I sent you on 31.08. [..] \def\doblackrule[#1]% {\hbox\bgroup \getparameters[\??bj][#1]% \setstrut \doif\@@bjwidth\ v!max{\def\@@bjwidth {1em}}% I had the text !max in one of my gfx :) [..] The typo was corrected in the following beta version. This is the reason why I think Jorge uses an older beta. Peter Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] blackrule
Dear Sirs, I had updated my context version and now all works fine. Thanks to all Jorge Em 24/09/2006, às 9:07, Peter Rolf escreveu: Hans Hagen wrote: Peter Rolf wrote: Hi Jorge, batela wrote: Dear Sirs, I want to prepare a forma for handwriting filling. With this propose e use \blackrule command for trace some lines inside paragraphs. For example, I, \blackrule[width=5cm, height=0.05cm] , promise maintain a good... In the pdf document appears: I, *!max*___ , promise maintain a good... Are there a good reason for that? Which beta version do you use (texexec --version)? If it's not the latest one (17.09.) simply update to that version. This bug (typo) was fixed some beta versions ago. normally this !xxx kind of errors point to a missing \protect But in this case I had the same error in a prior beta. And if I remember it right, \blackrule works in the current stable version (and older ones). This is from a mail I sent you on 31.08. [..] \def\doblackrule[#1]% {\hbox\bgroup \getparameters[\??bj][#1]% \setstrut \doif\@@bjwidth\ v!max{\def\@@bjwidth {1em}}% I had the text !max in one of my gfx :) [..] The typo was corrected in the following beta version. This is the reason why I think Jorge uses an older beta. Peter Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context Um Abraço, Jorge Magalhães ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context