TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know the \date command inserts a date in the title, but as I keep working on this document of mine I want to be able to keep a record of what I wrote on each day. I've been simply writing the date now every time I write every day, but I was wondering if there was a command I could use to place the date in a less obtrusive part that's not the body of my document.

share|improve this question
You could use a % symbol in your source prior to the date. It would not appear in your typeset document, but would be part of your source code. – Steven B. Segletes Aug 28 '13 at 19:20
up vote 7 down vote accepted

I would recommend you to use a version control system (VCS) to keep track of changes on your document. VCS are not only for programming source code, it works great on LaTeX document also. I have used VCS for my own documents.

There are currently a few that you could choose from:

There maybe more, but those are the ones I have used.

share|improve this answer
See also ctan.org/pkg/vc. – Sean Allred Aug 29 '13 at 2:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.