This question already has an answer here:

I've got this .tex file



\lhead{name \date{\today}}
\lfoot{lecture, WS 2016/2017}
\rfoot{problem sheet no 2} 


But the Point is that the date isn't displayed anywhere?

Can anyone tell me what's wrong with this?

marked as duplicate by Johannes_B, ebosi, moewe, Mico, Zarko Nov 5 '16 at 17:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 9
    Welcome, leave out the outer \date and use just \today. – Johannes_B Nov 5 '16 at 13:59
  • 10
    \date saves a date for reuse with \maketitle. – Johannes_B Nov 5 '16 at 13:59
  • 6
    As Johannes say. The command \date is primarily used to specify which date \maketitle should print, so it does nothing useful here. – daleif Nov 5 '16 at 14:00
  • @Johannes_B -- I think you have the answer for this one. – jon Nov 5 '16 at 16:17
  • @jon This gotta be a duplicate, let me look for it. – Johannes_B Nov 5 '16 at 16:23

Browse other questions tagged or ask your own question.