* Re: Keeping margin note on the same line
[not found] <mailman.1445.1275744962.4277.ntg-context@ntg.nl>
@ 2010-06-05 13:55 ` Vyatcheslav Yatskovsky
0 siblings, 0 replies; 3+ messages in thread
From: Vyatcheslav Yatskovsky @ 2010-06-05 13:55 UTC (permalink / raw)
To: ntg-context
No, no, your idea is exactly what I missed! :) Thanks!
> I somehow feel that this is not what you want:
>
> \def\chorus#1{\startnarrower{\itx CHORUS}\doiftext{#1}{\inmargin{#1}}\stopnarrower}
> \starttext
> \chorus{}
>
> \chorus{B}
> \stoptext
>
--
Best Regards,
Vyatcheslav Yatskovsky
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Keeping margin note on the same line
2010-06-05 11:25 ` Vyatcheslav Yatskovsky
@ 2010-06-05 12:38 ` Rogutės Sparnuotos
0 siblings, 0 replies; 3+ messages in thread
From: Rogutės Sparnuotos @ 2010-06-05 12:38 UTC (permalink / raw)
To: ntg-context
Vyatcheslav Yatskovsky (2010-06-05 14:25):
> Hello,
>
> Please, advise me.
>
> Is there a way to keep margin text and body text on the same line in
> the following situation?
>
> \define[0]\chorus{\startnarrower{\itx CHORUS}\stopnarrower}
>
> \starttext
> \chorus
>
> \chorus
>
> \inmargin{B}\chorus
> \stoptext
>
> Now "B" is above "CHORUS", I want it to be exactly on the same line.
I somehow feel that this is not what you want:
\def\chorus#1{\startnarrower{\itx CHORUS}\doiftext{#1}{\inmargin{#1}}\stopnarrower}
\starttext
\chorus{}
\chorus{B}
\stoptext
--
-- Rogutės Sparnuotos
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Keeping margin note on the same line
[not found] <mailman.1418.1275666112.4277.ntg-context@ntg.nl>
@ 2010-06-05 11:25 ` Vyatcheslav Yatskovsky
2010-06-05 12:38 ` Rogutės Sparnuotos
0 siblings, 1 reply; 3+ messages in thread
From: Vyatcheslav Yatskovsky @ 2010-06-05 11:25 UTC (permalink / raw)
To: ntg-context
Hello,
Please, advise me.
Is there a way to keep margin text and body text on the same line in the
following situation?
\define[0]\chorus{\startnarrower{\itx CHORUS}\stopnarrower}
\starttext
\chorus
\chorus
\inmargin{B}\chorus
\stoptext
Now "B" is above "CHORUS", I want it to be exactly on the same line.
Regards,
Vyatcheslav
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-06-05 13:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.1445.1275744962.4277.ntg-context@ntg.nl>
2010-06-05 13:55 ` Keeping margin note on the same line Vyatcheslav Yatskovsky
[not found] <mailman.1418.1275666112.4277.ntg-context@ntg.nl>
2010-06-05 11:25 ` Vyatcheslav Yatskovsky
2010-06-05 12:38 ` Rogutės Sparnuotos
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).