Questions tagged [if]
The if tag has no summary.
3 questions
4 votes
2 answers
124 views
About \def parameter list
I try to implement the currying function , and I start from implement the following : \myproc<=b<=a will print a \mapsto b \mapsto {\rm output} \myproc<=b will print {\bf a} \mapsto b \...
3 votes
1 answer
116 views
Is there a simpler way to accomplish the \ifx construction described below
I'm working on a long document that will eventually take the general form %<preamble stuff> \begin{document} \input{doc1} \input{doc2} \etc \end{document} And while writing it all, I want to ...
1 vote
1 answer
71 views
Parsing \currfile for number with fallback
dear latex wizards: my attempt for a findchapnum.sty file is \usepackage{currfile} \def\getprefix#1-#2\relax{% \ifnum#1=#1 #1 \else \warning{The filename did not begin with [0-9]-, fall ...