General ⇒ Referencing the section in which a label appears
Referencing the section in which a label appears
There is a command \pageref{x}, which gives the page number in which a label appears. Something similar which gives the section number in which a label appears would be satisfactory.
Any suggestions?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Referencing the section in which a label appears
welcome to the board!
Redefine \thecounter and use \thesection. Have a look at Manipulating the way counters are printed.
Stefan
Re: Referencing the section in which a label appears
Martin