Code: Select all
\RequirePackage[l2tabu,orthodox]{nag}
\documentclass[12pt,oneside]{article}
\usepackage[letterpaper,margin=1in]{geometry}
\usepackage{blindtext}
\usepackage[T1]{fontenc}
\usepackage{pgfplots}
\pgfplotsset{width=7cm,every tick/.style={black}}
\usepackage{fancyhdr}
\begin{document}
\fancyhead[L]{left head}
\fancyhead[C]{center head}
\fancyhead[R]{right head}
\pagestyle{fancy}
\section*{First section}
\blindtext
\section*{Second section}
\blindtext
\subsection*{A sub-section}
\blindtext
\end{document}
How can I fix these ? And why thePackage pgfplots Warning: running in backwards compatibility mode (unsuitable tick labels; missing features). Consider writing \pgfplotsset{compat=1.12} into your preamble.
on input line 10.
No complaints by nag.
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 14.49998pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
Package nag Warning: Command \rm is an old LaTeX 2.09 command.
(nag) Use \rmfamily or \textrm instead on input line 23.
\rm
nag warning ? There is no \rm
in that code ! Is there an obsolete package here ?