Hello list,
i'm trying to understand the \blank command.
The following example leaves a blank line between the two lines of
text.

\showgrid
\starttext
A line.\par
\blank[line]
Another line.\par
\stoptext

When you add "force" to the blank, the vertical space between the two
lines shrinks. You can also add "fixed", but nothing changes.

\showgrid
\starttext
A line.\par
\blank[line,force]
Another line.\par
\stoptext

Wolfgang asked about this in 2015(https://www.mail-archive.com/ntg-cont
e...@ntg.nl/msg77729.html), but i could not find any answer on the
mailing list.

The next doubt is about the "disable" option.
In the following example, \blank[2*line] wins over \blank[line] because
it's bigger, and you get a vertical space of 2 lines between the 2
lines of text.

\showgrid
\starttext
A line.\par
\blank[line]\blank[2*line]
Another line.\par
\stoptext

Then add "disable" to the first blank to cancel the next one:

\showgrid
\starttext
A line.\par
\blank[line,disable]\blank[2*line]
Another line.\par
\stoptext

I expected a vertical space of 1 line, instead there's none.
Why?

Conversely, this disables the second \blank, as you would expect:

\showgrid
\starttext
A line.\par
\blank[line]\blank[disable]\blank[2*line]
Another line.\par
\stoptext

Best greetings,
Massimiliano
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to