I have many special characters in a filename e.g., ./CaMKII-8+PP1-32+L-125e-9+N-5+diff-0.1e-12.dat_processed.csv
. I want to write this filename in a footnote. To make matter worse, this filename is stored in a macro e.g., \edef\fiename\{./CaMKII-8+PP1-32+L-125e-9+N-5+diff-0.1e-12.dat_processed.csv}
.
When I try to print it using \texttt{\fileName}
, I run into a 'missing $ inserted' issue. If I use \verb!\fileName!
, it just prints \fileName
(it's not expanded.)
How to get the filename printed in my pdf?
\edef\fileName{\detokenize{./CaMKII-8+PP1-32+L-125e-9+N-5+diff-0.1e-12.dat_processed.csv}}
url
package.