Search found 1 match

by Meiro
Mon Aug 11, 2025 1:13 pm
Forum: General
Topic: filename and ifthen
Replies: 0
Views: 1275

filename and ifthen

Hi,
I try to check the name of the latexfile with ifthenelse:

\newcommand{\mydocument}{testfile}
\ifthenelse{\equal{\mydocument}{testfile}}{Test File}{empty mydocument}
\\
\jobname:\\
\ifthenelse{\equal{\jobname}{testfile}}{job: Test File}{empty job}
\\
\currfilename:\\
\ifthenelse{\equal ...