Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [nag]

{nag} is a package that provides routines to warn the user about the use of commands, classes and packages that are outdated and superseded.

Filter by
Sorted by
Tagged with
2 votes
1 answer
170 views

nag: "Warning: Unmatched ``\flushright'' command"

I'm getting "nag Warning: Unmatched ``\flushright'' command" from nag: \RequirePackage[orthodox]{nag} \documentclass{article} \begin{document} \flushright some text \end{document} It does ...
user avatar
  • 1,894
0 votes
1 answer
153 views

nag package complaining about the label of a chapter after {table}[H]

Consider the following MWE: \RequirePackage[l2tabu, orthodox]{nag} \documentclass[oneside, a4paper, 10pt]{book} \usepackage{float} \begin{document} \begin{table}[H] \end{table} \chapter{Chapter}\...
user avatar
4 votes
2 answers
555 views

.Nag complains about footnotesize environment. Why?

I use in my document: \begin{footnotesize} .. \end{footnotesize} This indeed give me footnote sized text, however nag is complaining: Package nag Warning: There is no environment ``footnotesize''. ...
user avatar
  • 1,185
4 votes
1 answer
137 views

xelatex and nag problem

Somet time ago xelatex stopped to compile my document. LaTeX Warning: You have requested package xpatch, but the package provides xparse. Package: xparse 2016/03/28 v6468 L3 Experimental ...
user avatar
  • 829
2 votes
1 answer
100 views

babel, beamer and nag conflict

With the MWE below, I experience some problem. As shown, the MWE compiles fine. If I change from book to beamer, I receive the "TeX capacity exceeded" error. If I comment out either nag or babel, it ...
user avatar
  • 1,377
1 vote
1 answer
548 views

center environment nag-warning for floats in beamer

The nag packages gives a warning when using floats in beamer presentations. When removing the figure or table environment, no warnings are given. How to proceed from here? Tried \begin{center}...\end{...
user avatar
  • 778
3 votes
1 answer
174 views

Why highlighting math with soul doesn't combine with l2tabu option for the nag package?

I have found that highlighting mathematical formulas with soul package does not work if the nag package is used with l2tabu option. A minimal (not) working example is: \documentclass{book} \...
user avatar
4 votes
2 answers
618 views

nag [l2tabu] and \phantomsubcaption

The nag package used with the l2tabu option complains when \label is used in a float without following a \caption. Unfortunately, it does not understand that a \phantomsubcaption, from the subcaption ...
user avatar
  • 667
8 votes
3 answers
1k views

Is nag.sty authoritative for LaTeX?

I just (re?)discovered nag.sty. is this a (TUG-endorsed?) authoritative tool to get all of us away from non-recommended use of latex, or just the work of the author? given that latex never seems to ...
user avatar
  • 3,271
9 votes
1 answer
232 views

\endcsname error with nag and newest babel/greek update

Did I miss something with babel and polutonikogreek? I just updated my TeX distribution on my mac through TeX Live Utility, and now I get the error: ./document.tex:5: Missing \endcsname inserted. &...
user avatar
9 votes
1 answer
275 views

Why the placement of \title makes a difference when using amsart with nag?

% !TeX program = pdfLaTeX \RequirePackage[l2tabu,orthodox]{nag} \documentclass{amsart} \begin{document} \title{The $n$-th term} \maketitle \end{document} If the \title command is placed after \begin{...
user avatar
  • 235
17 votes
1 answer
3k views

How to use nag?

I've just added \RequirePackage[l2tabu, orthodox]{nag} to a big document (200+ pages, 100+ images) about computer science. My .log-file was 3119 lines long before, now it is 4349 lines long. How can ...
user avatar
  • 17.2k
15 votes
1 answer
285 views

Is there a nag package for TikZ?

It turns out that I've been using several deprecated commands, such as \tikzstyle and right of. Is there any way to have TikZ or pdfLaTeX warn in those cases, such as nag does?
user avatar
  • 9,761
6 votes
1 answer
706 views

can't find issues identified by nag

I am somewhat new to LaTeX, but am currently working on a project (trying to use pdflatex for automated .pdf report rendering). I just learned about \RequirePackage[l2tabu, orthodox]{nag} today, ...
user avatar
  • 63
3 votes
2 answers
181 views

Use of \GetIdInfoAuxI doesn't match its definition and other errors

I have several errors reported with this minimal example (latest TeX Live 2012). The errors were introduced with recent TeX Live updates. \RequirePackage[l2tabu, orthodox]{nag} \documentclass{...
user avatar
24 votes
2 answers
53k views

center and \centering both add space above; \centerline does not

The nag package suggests I use the center environment in LaTeX, rather than the TeX \centerline command. When I do that, however, I find that the former inserts a blank line above the line (in my ...
user avatar
  • 373
7 votes
1 answer
517 views

Do I need onlyamsmath when using nag?

I already read questions about recommended packages, and they often have the advice for \RequirePackage[l2tabu, orthodox]{nag} and \usepackage[all, warning]{onlyamsmath} I use nag for quite some ...
user avatar
  • 12.5k
5 votes
1 answer
622 views

nag complains about \centerline in environment "shaded" from package framed

Running this with Miktex, pdflatex, Windows, TeXnicCenter, everything fully up to date: \documentclass{article} \usepackage[l2tabu]{nag} \usepackage{xcolor} \usepackage{framed} \definecolor{...
user avatar
  • 12.5k
9 votes
2 answers
427 views

Conflict between nag and babel spanish

The following code gives me loads of Font csname csname T1/cmtt/m/sc/10endcsname not found errors. \RequirePackage[l2tabu,orthodox]{nag} \documentclass{article} \usepackage[utf8]{inputenc} \...
user avatar
  • 7,705
10 votes
1 answer
826 views

nag l2tabu caption/label checking versus \subcaptionbox

The nag package used with the l2tabu option complains when \label is used in a float without following a \caption. Unfortunately, it does not understand that the first argument of \subcaptionbox from ...
user avatar
  • 1,408