auctex
[Top][All Lists]
Advanced

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

Re: Indenting the code written in square brackets as optional parameters


From: Arash Esbati
Subject: Re: Indenting the code written in square brackets as optional parameters
Date: Sat, 19 Mar 2022 18:33:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50

Hi Keita,

Ikumi Keita <ikumi@ikumi.que.jp> writes:

> Thanks a lot! Based on your work, I added two examples as well as
> supplementary explanations.

Thanks, LGTM.  I have one question though:

> +@noindent
> +Note that this is an opt-in feature, both variables are initially set to
> +an empty string.  That is because it introduces non-trivial side effects
> +to include @code{[} and @code{]} in @code{TeX-indent-open-delimiters} and
> +@code{TeX-indent-close-delimiters}; if you only have an opening square
> +bracket in your text without closing it, wrong indentation persists in the
> +following text.  For example, in math expression, half-open intervals are
> +frequently written as @samp{[0,10)} or @samp{[0,10[[}.

What is [0,10[[ for an interval?  I was aware of () and [] combinations
but the double [[ is new to me (and my daily math business doesn't
involve intervals ;-)

Best, Arash



reply via email to

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