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!
General ⇒ attached file in footmark
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
attached file in footmark
Use the standard syntax for footnotes and marginpars.
For better setting in a marginpar try the marginnote package.
Code: Select all
\footnote{\attachfile[description=<text>]{<filename>}}
\marginpar{\attachfile[description=<text>]{<filename>}}
Code: Select all
\marginnote{\attachfile[description=<text>]{<filename>}}
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: attached file in footmark
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
Thanks
peter