I am writing a paper based on Elsevier's two-column latex class. The page number is shown in the picture below: page x of y (but x > y)!! It shows page 13 of 11!!
This is the problem that I need to solve.
\documentclass[5p,times]{cas-dc}
Maybe just run LaTeX another time. While it's typesetting the first page, it doesn't yet know how many pages there will be. Once it's finished, it stores that information in some separate file, where it will be read from upon the next run.
For example, if the lastpage
package is used, there will be a warning the first time you run it:
Package lastpage Warning: Rerun to get the references right on input line 14.