Ask Your Question

How to avoid closing brace in Formula editing?

asked 2019-04-08 15:40:47 +0200

TAB gravatar image

In math Formula editing, entering a left brace ({) at the end of the line (or in an empty line) immediately adds a matching right brace (}) as well as extra spaces. This may be handy, but it becomes a nuisance if the left brace is part of a keyboard macro, eg, produced by AutoHotKey. How to avoid it?

edit retag flag offensive close merge delete


OS and LO version? (edit your question, do not answer)

LO Math on the present computer does not behave like that. No extra right brace when I enter a left brace. Have you any extensions enabled?

ajlittoz gravatar imageajlittoz ( 2019-04-08 15:49:06 +0200 )edit

I'm on

Build-ID: 2b840030fec2aae0fd2658d8d4f9548af4e3518d
CPU-Threads: 8; BS: Linux 4.12; UI-Render: GL; VCL: kde5; 
Gebietsschema: de-DE (de_DE.UTF-8); UI-Sprache: de-DE
Calc: threaded

and I can confirm the behavior

Opaque gravatar imageOpaque ( 2019-04-08 16:51:14 +0200 )edit

The computer I was using in my comment above had 5.x. My private machine has several 6.x releases and behaviour is like OP has described. SO, this is a change between 5.x and 6.0.x. Behaviour is the same with any "parenthesis": () {} and []. And this happens even when "bracket" is preceded by a solidus (i.e. {). I agree this is nuisance in some editing contexts, even manual editing. Could this auto-complete action be under user control?

ajlittoz gravatar imageajlittoz ( 2019-04-09 14:34:22 +0200 )edit

@ajlittoz wrt user control of the behavior please see my answer.

Opaque gravatar imageOpaque ( 2019-04-09 17:24:40 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2019-04-09 15:35:31 +0200

Opaque gravatar image

updated 2019-04-09 15:39:55 +0200

Hello @TAB

you can switch off this behavior under Tools -> Options -> Advanced -> Open Expert Configuration. Type AutoCloseBrackets click Search button and set the value to false (double click):

image description

Hope that helps.

edit flag offensive delete link more


It worked! (after restarting LO). Thank you!

TAB gravatar imageTAB ( 2019-04-09 20:11:16 +0200 )edit

Would you mind to mark the question as correct by checking the grey hook near the start of the answer. LO QA will be happy tp report some answered questions :-)

Opaque gravatar imageOpaque ( 2019-04-09 22:27:56 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-04-08 15:40:47 +0200

Seen: 95 times

Last updated: Apr 09 '19