Document Classeslineno package

Information and discussion about specific document classes and how to create your own document classes.
dgmadival
Posts: 1
Joined: Mon Apr 22, 2019 10:34 am

lineno package

Post by dgmadival »

I found a solution. Just leave space above the "\begin{equation}" line.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

user22741
Posts: 35
Joined: Fri Nov 09, 2018 12:03 pm

lineno package

Post by user22741 »

@dgmadival Leaving an empty line above `\begin{equation}` will result in incorrect spacing. Compare the following 2 cases:

Code: Select all

\documentclass{article}

\begin{document}

test
\begin{equation}
a^2+b^2=c^2
\end{equation}
test

test

\begin{equation}
a^2+b^2=c^2
\end{equation}

test

\end{document}
Post Reply