Difference between revisions of "Command/hl"

From ConTeXt wiki
m (Categoly Rules)
m (Improve example)
Line 14: Line 14:
 
   </tr>
 
   </tr>
 
</table>
 
</table>
 
  
 
== Description ==  
 
== Description ==  
Line 21: Line 20:
  
 
== Example ==
 
== Example ==
<texcode>
+
<context source=yes>
\tex{hl} draws a horizontal line like this: \hl
+
\obeylines
</texcode>
 
 
 
<context>
 
\setuplayout[scale=0.8]
 
 
\tex{hl} draws a horizontal line like this: \hl
 
\tex{hl} draws a horizontal line like this: \hl
 +
\tex{hl[2]} draws a horizontal line like this: \hl[2]
 
</context>
 
</context>
  

Revision as of 10:06, 25 April 2012

\hl

Syntax

\hl[...]
[...] number

Description

Draws a horizontal rule with a width of 1em, multiplied with the optional factor. The horizontal rule is drawn on top of the baseline.

Example

\obeylines
\tex{hl} draws a horizontal line like this: \hl
\tex{hl[2]} draws a horizontal line like this: \hl[2]

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: