auctex
[Top][All Lists]
Advanced

[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: Fri, 19 Dec 2014 08:16:34 +0000

I know

Not having see Olehs patch, it was just a reminder that no all if constructions 
come in the \if ... \fi category

/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/address@hidden / More information: 
http://au.dk/en/address@hidden


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

Lars Madsen <address@hidden> writes:

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

That's usually written as

  \ifBooleanTF{#1}{%
    true}{%
    false}

and then the indentation is correct out of the box because auctex
indents the contents in braces.

Bye,
Tassilo



reply via email to

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