MWE:
\documentclass[12pt]{book}
\usepackage{lineno}
\begin{document}
\chapter{Hidden Line Number}\label{cha:hln}
\linenumbers
%\begin{nolinenumbers}
One
Two\linelabel{two}\label{two}
Three
The sentence about \textbf{two}, page-\pageref{two}, chapter-\ref{cha:hln}, line number-\lineref{two}
%\end{nolinenumbers}
\end{document}
That I want what to do, hide linenumbers. If it possible?
Best Answer