Generalattached file in footmark

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Port
Posts: 2
Joined: Sun Jun 10, 2007 8:12 pm

attached file in footmark

Post by Port »

Hi!
I want to put a reference (using attachefile.sty) to an external file into a foortmark or marginpar. Is somebody there who is knowing the right way to do this? Thanks in advance!

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

attached file in footmark

Post by localghost »

Use the standard syntax for footnotes and marginpars.

Code: Select all

\footnote{\attachfile[description=<text>]{<filename>}}
\marginpar{\attachfile[description=<text>]{<filename>}}
For better setting in a marginpar try the marginnote package.

Code: Select all

\marginnote{\attachfile[description=<text>]{<filename>}}
Port
Posts: 2
Joined: Sun Jun 10, 2007 8:12 pm

Re: attached file in footmark

Post by Port »

Thanks for the quick reply. It works fine - bur only for files which are standing in the same directory as the .tex-files. For others it dosn´t work. But so far it´s good enough.
Thanks
peter
Post Reply