Joseph Canedo <mailto:josephcan...@gmail.com>
3. August 2016 um 21:48

Thanks Wolfgang, out of curiosity what does \GotoPar macro ? Is this similar to \ignorespaces ?

The \GotoPar removes the following \par or empty line to ensure the previous and the following text stay on the same line.

%%%% begin example
\define\RuleOne{\dontleavehmode\blackrule[width=4cm,color=orange]}
\define\RuleTwo{\dontleavehmode\blackrule[width=4cm,color=yellow]\GotoPar}

\starttext

\RuleOne

\input ward

\RuleTwo

\input ward

\stoptext
%%%% end example

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to