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: Fri, 04 Mar 2022 10:33:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50

Hi Keita,

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

> Thanks for your suggestion, I think it is useful. It seems that the
> attached patch achieves what you want. Unless someone finds difficulties
> with it, I can polish it and commit into the git repo.

Does your proposal deal with cases where you only have an opening
bracket?  I mean something like this which is valid LaTeX code:

--8<---------------cut here---------------start------------->8---
\documentclass[a4paper]{article}
\begin{document}

Text {%
  this is indented and we trust that a closing \} will come.%
}

Text [%
Do we have the same level of confidence for [?
\end{document}
--8<---------------cut here---------------end--------------->8---

Best, Arash



reply via email to

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