Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like everyline of a presentation to be numbered. Like the lineno package will do.

I tried the following but it does not print line numbers. I don't see why, I know there are some \par caveats. But I don't really understand them.

\documentclass{beamer}
\usepackage[mathlines]{lineno}

\linenumbers

\begin{document}

\begin{frame}

    A floating line

    \begin{theorem}
        Some line in a theorem
    \end{theorem}

    \begin{linenomath}
        \begin{eqnarray*}
            x + y 
        \end{eqnarray*} 
    \end{linenomath}

\end{frame}

\end{document}

output

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.