[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Indentation of \if statements

From: Lars Madsen
Subject: Re: [AUCTeX] Indentation of \if statements
Date: Thu, 18 Dec 2014 13:19:03 +0000

people can define their own, so there are lots and lots and lots

/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: / More information:

From: Oleh address@hidden
Sent: 18 December 2014 14:11
To: Lars Madsen
Cc: Tassilo Horn; address@hidden
Subject: Re: [AUCTeX] Indentation of \if statements

Hi Lars,

> Just out of interest, would the patch still handle
> \IfBooleanTF{#1}{true}{false}
> (xparse package)

It does handle it well, because of capitalization.  It wouldn't handle
"\ifBoolean" though.

As a work-around, I could look for braces on the same line.  But I'm
not really a LaTeX expert, I've used only "\ifdefined" and
"\ifstrequal" in my documents.  And now that I've checked, the patch
works for "\ifdefined" but not for "\ifstrequal" (I'll add a follow-up
patch shortly).

What other commands that start with "\if" come up?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]