Forgot password
 Register account
View 325|Reply 3

按章节编页码

[Copy link]

3211

Threads

7832

Posts

52

Reputation

Show all posts

hbghlyj posted 2023-2-20 23:37 |Read mode
Last edited by hbghlyj 2023-3-15 14:04阅读器打开这个PDF, 页码是5-9这种格式(第5章第9页)
Screenshot 2023-02-20 at 15-37-08 Differential Equations II.pdf.png
怎么做到的呢

3211

Threads

7832

Posts

52

Reputation

Show all posts

original poster hbghlyj posted 2023-2-21 22:06
在页码框输入4-9就能跳转到第46页

673

Threads

110K

Posts

218

Reputation

Show all posts

kuing posted 2023-2-21 23:03
这有何难:
  1. \documentclass{article}
  2. \usepackage{hyperref}
  3. \let\oldsection\section
  4. \renewcommand\section{\setcounter{page}{1}\oldsection}
  5. \renewcommand\thepage{\thesection--\arabic{page}}
  6. \begin{document}
  7. \section{aaa}
  8. aaa\newpage aaa\newpage aaa\newpage
  9. \section{aaa}
  10. aaa\newpage aaa\newpage aaa\newpage
  11. \section{aaa}
  12. aaa\newpage aaa\newpage aaa\newpage
  13. \end{document}
Copy the Code
怎么样😉😉😉

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-20 05:54 GMT+8

Powered by Discuz!

Processed in 0.013641 seconds, 26 queries