# zim-wiki team mailing list archive

## Re: Symbol insertion more conveniently?

On Mon, Jun 18, 2012 at 12:34 PM, Yu <yu_icq@xxxxxx> wrote:
> The symbol auto-insertion feature seems to depend on having a
> whitespace before (and after) the text-to-be-replaced. Is there a way
> to circumvent this?
>
> E.g. I can write the formula
>  〈 α | H | ψ 〉
> by typing
>  \lang \alpha | H | \psi \rang
>
> However, if I want to write it as
>  〈α| H |ψ〉
> then I have to add a good deal of cursor movement.
>
> Is there some way to avoid this?
>
> If not, would it be possible to implement an option to make \' start
> sort of an "insertion mode"? I was thinking along the lines of Lyx in
> Math mode:
> - \ starts the insertion of a special character, in LyX even including
> completion.
> - The next space-press doesn't insert a whitespace but causes
> insertion of the symbol.
> - A literal \ is still available by typing \\.
>
> For Zim, a literal space would implicitly still be available by
> pressing space twice.

Sounds like a good improvement, especially since we still have <Ctrl>Z
to cancel unwanted substitutions.

Maybe you can put this request in a bug report, so we have it on the work list ?

Another suggestion that I already have on the list is to allow inline
latex equations with "" as start and end tag. Can be used for the
same use case, but a bit complementary. Main difference is that
equations will be rendered as images, while insert symbol relies on
unicode characters.

Regards,

Jaap

`