Command/blank
From ConTeXt wiki
< Command
\blank
Syntax
| \blank[...,...,...] | |
| [...,...,...] | small medium big nowhite back white disable force reset line halfline formula fixed flexible none samepage |
Description
Apply or disable blank lines. You can also use something like \blank[4*big]
See also
Help from ConTeXt-Mailinglist/Forum
All issues with:
Example
\enableregime[utf] % To fit all the examples on one page, we need a taller page \definepapersize[tall][width=15cm, height=35cm] \setuppapersize[tall] % Three columns: one to demonstrate \blank[#1] on its own, % one to show what the command does when it comes after a \blank[medium]; % one to show what the command does when it comes before a \blank[medium]. \defineparagraphs[whiting] [n=3, before={\blank[none]}, % Minimal padding, please. after={\blank[nowhite]}] % \definestartstop[whiteafter][ before={\blank[none]} , % No padding, please after={\blank[medium]} % The blank of interest ] \definestartstop[whitebefore] [before={\blank[medium]}, % The blank of interest after={\blank[none]} % No padding, please ] \def\example#1{% \startwhiting \type{#1} \crlf Antelope, caribou, ocelot. \blank[#1] Don’t want an antelope nibbling the hoops. \whiting medium + {\tt #1} % No crlf here, or it'll combine with \blank[none] to create a blank line anyway. % (I assume it's equivalent to \crlf\crlf, or something.) \startwhiteafter Antelope, caribou, ocelot. \stopwhiteafter \blank[#1] Don’t want an antelope nibbling the hoops. \whiting {\tt #1} + medium \crlf Antelope, caribou, ocelot. \blank[#1] \startwhitebefore Don’t want an antelope nibbling the hoops. \stopwhitebefore \stopwhiting \hairline } \starttext \example{small} \example{medium} \example{big} \example{nowhite} \example{back} \example{white} \example{disable} \example{reset} % doesn’t seem to work with mkiv \example{line} \example{halfline} \example{formula} %\example{fixed} % mkiv only? %\example{flexible} % mkiv only? \example{none} %\example{samepage} % mkiv only? \stoptext