[texhax] using lineno.sty with latex

William Adams will.adams at frycomm.com
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


-- 
William Adams
senior graphic designer
Fry Communications




More information about the texhax mailing list