Forgot password?
 Register account
View 351|Reply 3

按章节编页码

[Copy link]

3153

Threads

7906

Posts

610K

Credits

Credits
64096
QQ

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
怎么做到的呢

3153

Threads

7906

Posts

610K

Credits

Credits
64096
QQ

Show all posts

 Author| hbghlyj Posted 2023-2-21 22:06
在页码框输入4-9就能跳转到第46页

682

Threads

110K

Posts

910K

Credits

Credits
90973
QQ

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
怎么样😉😉😉

Mobile version|Discuz Math Forum

2025-6-5 01:33 GMT+8

Powered by Discuz!

× Quick Reply To Top Edit