113

I'm an on and off user of LaTeX so I'm not familiar with every package out there. Having said that, whenever I use LaTeX and need to accomplish a certain goal (i.e. generate a list of appendices), I search around and find some kind of solution that involves a package that I didn't know about. I think that's great, I learn something new, and it goes in my template file.

Every now and then, though, my search comes up with a package that, after much wrangling, I find out that it's obsolete. An example of this is just recently I came across the subfigure package and wanted to try it out. Soon after I found out from here that it has become superseded by the subfig package. I usually keep my TeX up-to-date because I like keeping up with new XeLaTeX features.

My question is, is there a map or timeline of what TeX packages should be avoided because there are better ways of doing things? An idea I have is some kind of list of all packages split by what they accomplish, then cancelling out packages whose features are incorporated into and improved upon by newer packages.

Edit: another example is lscape versus pdflscape. The latter implements rotating pages in the final PDF not just for pdftex but also for other drivers such as xetex. The only way I found out about this was Googling latex lscape rotate xelatex, for which the second link leads to the pdflscape texdoc (PDF).

Great answers so far. I'll check them out and see which one works best for me.

Edit 2: Turns out that my question is a bit of a dupe in the sense that a great answer came up on an unrelated question. The nag package apparently consults l2tabu and checks your document. Gotta try it!

fideli
  • 1,345

6 Answers6

114

Here's a list of possibly obsolete packages and classes, and recommendable successors. It's not intended as a judgement – it's supposed to help in choosing packages or checking preambles. Readers can make their own decision based on the package documentation of the compared packages.

I took the list from my TeX blog where I started to maintain it some time ago, for sharing it here. It's in form of a list, since tables are not supported on SE posts. Feel free to suggest edits.

Werner
  • 603,163
Stefan Kottwitz
  • 231,401
  • Is type1cm made obsolete by lmodern? – Canageek Oct 06 '11 at 22:05
  • @Werner You did good; moreover, I believe that there are many versions of psfig around and rather different from one another. – egreg May 05 '12 at 17:45
  • I suggest to add: algorithm: algorithm2e (fixed hyperref problems for me), and algorithmic: algorithmicx. – mafp Feb 01 '13 at 15:47
  • What about xifthen? – Lover of Structure Apr 13 '13 at 23:04
  • What about xcolor instead of color? – Lover of Structure Apr 13 '13 at 23:04
  • There is also din1505. – Lover of Structure Apr 13 '13 at 23:05
  • I think newtx (= {newtxtext,newtxmath}) supersedes txfonts. – Lover of Structure Apr 13 '13 at 23:06
  • 1
    Some additional obsolete packages, including one on your lists: times, nimbus, txfonts:tgtermes or newtx| mathptmx:newtxmath| helvet:tgheros| cm-super:lmodern or cfr-lm| avant:tgadventor| – Canageek Dec 18 '13 at 00:06
  • How about adding scrlayer-scrpage as successor of / alternative to scrpage2? The latter one is nearly “final” but not yet obsolete. See p. 200 in scrguien.pdf (p. 220 in scrguide.pdf). – Tobi Jul 07 '14 at 19:09
  • 2
    @Tobi I took the liberty to add scrlayer-scrpage as scrpage2 officially got declared deprecated by Markus. – Johannes_B Jul 16 '15 at 19:38
  • I think it is unhelpful to classify packages in this way because those being grouped as 'obsolete' in fact have a variety of different statuses. These range from officially obsolete (declared obsolete by their maintainers, marked as such on CTAN etc.) all the way through to those which are simply less powerful than alternatives or, even, just older. ifthen is not obsolete in the sense that something like times or t1enc are obsolete. And, while, times is obsolete, tgtermes is not its successor any more than lmodern or cfr-lm replaces non-package cm-super. – cfr Jan 01 '16 at 22:30
  • My comment is only partially aimed at the answer, of course. It is partly addressing discussion in comments. Is the fact that the first and last items in the list relate to identical lists of successors intentional? It seems rather confusing. – cfr Jan 01 '16 at 22:33
  • Not only that, the lists seem to include conflicting information with mathptmx being recommended as a replacement for times and being itself deprecated in favor of newtxmath. Same thing about txfonts. – TeX Apprentice Feb 19 '24 at 18:01
20

If you search on the CTAN catalogue, many obsolete packages have notes pointing to the newer packages they have been superseded by. For the particular example of subfigure, its catalogue entry has to say:

The package is now considered obsolete: it was superseded by subfig, but users may find the more recent subcaption package more satisfactory.

Whenever I find about a new package, I tend to have a look at CTAN before using it to watch out for any of these notes and also quickly browse through it's documentation.

Leone
  • 576
Juan A. Navarro
  • 62,139
  • 32
  • 140
  • 169
15

Actually subfig isn't maintained anymore. I would use packages like »subcaption« (shipped with caption) or floatrow. A good list of obsolete packages and other outdated stuff can be found in l2tabu.

9

The German-speaking forum mrunix.de includes a thread about obsolete LaTeX packages and their successors. Among others, subfig is listed as "Nachfolgepaket" (successor package) of subfigure.

lockstep
  • 250,273
8

I'd also like to point out that subscribing to the ctan-ann mailing list is a great way to learn about new packages (and new versions of them).

mbork
  • 13,385
7

This document checker is quite old but helps perhaps with the most deprecated stuff.

I mean people are still using eqnarray and similar stuff even when several manuals list them as deprecated/problematic since decades.

Of course this does not help with your request for ongoing deprecation/supersede news.

maxschlepzig
  • 12,082