auctex
[Top][All Lists]
Advanced

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

Re: \hologo with selected text


From: Tassilo Horn
Subject: Re: \hologo with selected text
Date: Tue, 02 Mar 2021 20:54:24 +0100
User-agent: mu4e 1.5.8; emacs 28.0.50

Denis Bitouzé <denis.bitouze@univ-littoral.fr> writes:

Hi Denis,

> when the `hologo` package is loaded and its \hologo command used, it
> is asked to specify the logo name in the minibuffer. It is nice,
> except if the logo name is already present and selected in the
> document.
>
> IMO, it would be nice when this command is used:
>
> - without any selected text, to ask for the logo name in the minibuffer,
> - with    a   selected text, to silently use this selected content as
>   logo name.

I've now implemented that.  If the region is active and the region's
text is a logo name contained in `LaTeX-hologo-logo-names', it'll just
be wrapped like \hologo{existingLogoName} instead of being queried.

Please test!

Bye,
Tassilo



reply via email to

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