Insert lecture number and page number of lecture in footline
Posted
by Liam
on Stack Overflow
See other posts from Stack Overflow
or by Liam
Published on 2010-01-31T01:03:50Z
Indexed on
2010/04/11
3:13 UTC
Read the original article
Hit count: 513
I am dividing a semester's worth of lectures via the \lecture command. I'd like to have in the footline (among other things) the lecture number, date, and page number of the current lecture. I would also like to use the default style footline, with the black box on the left and the blue on the right. So I define a lecture with e.g.
\lecture{January 28, 2010}{lecture01}
with
\title[Lecture \insertlecturenumber{}(\insertlecture)\quad{}Page \insertframenumber]{Course Title}
in the preamble, I get an error; it will not accept \insertlecture there. If I remove \insertlecture, it does what I want, except that the page number is counted from the start of the semester, not the lecture. Is there any way to do this? Thank you.
Liam
© Stack Overflow or respective owner