GeneralOutput document filename into document

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
johughes
Posts: 1
Joined: Thu Sep 24, 2009 10:42 pm

Output document filename into document

Post by johughes »

Hi Guys,

I'm working on some reports, and I want to be able to put the filename and file modified date in the footer. Is there a package somewhere that does this?

Thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Output document filename into document

Post by localghost »

For general customization of headers and footers for the standard classes see fancyhdr or titlesec. I recommend the latter one.

The name of the current document is obtained by \jobname and the date printed with \today.


Best regards and welcome to the board
Thorsten
Post Reply