开发者

Page X of Y in LaTeX Footer

Is there a way to dynamically get Page X of Y in LaTeX using the fancy pagestyl开发者_StackOverflowe or is some other package needed?


Use the lastpage package:

\usepackage{lastpage}
\usepackage{fancyhdr}
...
\cfoot{\thepage\ of \pageref{LastPage}}

will put the current page counter \thepage, in front of the total number of pages.

Edit Thanks! I added fancyhdr.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜