Hi,
I would like to print the name of the file in the document. I have found the command \jobname, but the underscores in my filename is replaced by dots. How can I fix this? BTW: I use miktex 2.7.
/Daniel
General ⇒ Printing filename with underscore in document?
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Printing filename with underscore in document?
Hi Daniel,
welcome to the board!
Change the font encoding to T1 (Cork encding), that should solve it:
Stefan
welcome to the board!
Change the font encoding to T1 (Cork encding), that should solve it:
Code: Select all
\usepackage[T1]{fontenc}
LaTeX.org admin
Re: Printing filename with underscore in document?
Perfect! thanks alot!
/D
/D