New answers tagged

3

There are several ways to do that. I propose two solutions, one using xifthen, the other using expl3. It would also be doable with ifthen and functions from datatool. Note that for tests on \B, I used string comparison because the contents is not always a number, contrary to \No. I replaced one 2222 with 22222 in your logical expression (looks like a ...


2

Here is an approach where possible reviewers' names are "John Doe" and "John Smith" and response-and-answer-entries go to external files \jobname.rvall and \jobname.rvdoe/\jobname.rvsmith. the second and the third argument of \response (comment and response) will be read under verbatim-category-code-regime. Instead of nesting these arguments into braces ...


2

\ifx compares the first level expansion of two macros, but also their status with respect to \long. If you do \def\temp{\somename{}}, the replacement text is definitely not empty. Even if you do \edef\temp{\somename{}} (with empty replacement text for \somename) you'd get not empty, because the braces are still there. Note that you need \somename{} in ...


Top 50 recent answers are included