From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: Joseph Canedo <josephcanedo@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How to typeset a line as if it had zero height
Date: Thu, 04 Aug 2016 06:56:10 +0200 [thread overview]
Message-ID: <57A2CAEA.9090901@gmail.com> (raw)
In-Reply-To: <57a24a76.47cbc20a.13c7.3dde@mx.google.com>
[-- Attachment #1.1: Type: text/plain, Size: 561 bytes --]
> Joseph Canedo <mailto:josephcanedo@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
[-- Attachment #1.2: Type: text/html, Size: 2498 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2016-08-04 4:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-02 20:16 Joseph Canedo
2016-08-02 21:40 ` Henri Menke
2016-08-03 14:11 ` Wolfgang Schuster
[not found] ` <57a24a76.47cbc20a.13c7.3dde@mx.google.com>
2016-08-04 4:56 ` Wolfgang Schuster [this message]
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=57A2CAEA.9090901@gmail.com \
--to=schuster.wolfgang@gmail.com \
--cc=josephcanedo@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).