Command/backgroundline

From Wiki
Jump to navigation Jump to search


\backgroundline

Summary

The command \backgroundline is used for typeset a content on one line, on coloring the background.

Settings

\backgroundline[...]{...}
[...]color
{...}content

Description

Examples

Example 1

  • \setuppapersize[A7,landscape]
    \setupbodyfont[16pt]
    \setupheadertexts[]
    
    \starttext
    
    \backgroundline[gray]{\tt       line1 \par and line2}
    
    \blank[small]
    
    \backgroundline[gray]{\tt\strut line1 \par and line2}
    
    \stoptext
    

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: