[texhax] controlling line width

Uwe Lück uwe.lueck at web.de
Mon Oct 30 13:03:58 CET 2006

At 10:06 30.10.06, Susan Dittmar wrote:
>Quoting TEDY (tedytirtawidjaja at gmail.com):
> > how to control length of horizontal line, instead using 
> \hrule{.\textwidth}{2pt}
> > i want the line width change automaticly when margins of pages changed.
> > for example when i use horizontal line i itemize environment, why that
> > line width cannot follow margins of itemize environment?
>Perhaps try \hrule{\linewidth}{2pt} ?

Right -- apart from the fact that the brace after the \hrule gives an error
(unless a package that I don't know changes that TeX primitive).
\rule{\linewidth}{2pt} is correct with LaTeX.



More information about the texhax mailing list