On 4-10-2011 23:17, Meer, H. van der wrote:
I dare voicing a different opinion. Allthough there indeed is both a space before the \doifmode as well as after it, I am aware of that but that is besides my point. I expected the \doifmode to vanish completely when the condition is not met. As is the case, even if the condition is not met it has a measurable effect because of the extra space being typeset. To be more explicit, my expectations were: A \doifmode{condition-not-met}{B} C resulting in: AC whereas it becomes: A C.
spaces are always meaningful A \doifmode{condition-not-met}{B} C actually what you ask for is: A<space>\doifmode{condition-not-met}{B}<space>C so when the condition is not met you get A<space><space>C i can see no reason for ignoring spaces after a doifmode by default Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------