# [texhax] using lineno.sty with latex

Wed Feb 4 20:11:10 CET 2009

On Feb 4, 2009, at 1:48 PM, Uwe Lück wrote:

> I expect \documentclass{minimal} would crash here since lineno.sty
> by default invokes \tiny to typeset line numbers, while \tiny is not
> defined under minimal.

I knew I should've taken a moment to either type (untested)'' or to
test it.

Okay, \documentclass{article} then.

But apparently one needs some additional bit of code to turn on line
numbering....

\documentclass{article}
\usepackage{lineno}
\begin{document}

\linenumbers

Test.

Testing.

Testing 1, 2, 3

\end{document}

(tested)

If the above doesn't work for Joao, then there must be something wrong
in the copy of lineno.sty which is being used.

William

--