Skip to Content.
Sympa Menu

texmacs-users - Re: accolade à droite

Subject: mailing-list for TeXmacs Users

List archive

Re: accolade à droite


Chronological Thread 
  • From: Giovanni Piredda <address@hidden>
  • To: Massimiliano Gubinelli <address@hidden>, Frank <address@hidden>
  • Cc: marc lalaude-labayle <address@hidden>, texmacs-users <address@hidden>
  • Subject: Re: accolade à droite
  • Date: Mon, 11 Jan 2021 13:56:17 +0100

I saw that it is possible to insert a right parenthesis of any type in math mode, but it is entered using the menu "middle", not using the menu "right".

G.

Am 11.01.2021 um 09:44 schrieb Massimiliano Gubinelli:
I think is ok. The design choice is that closed brackets are not allowed by themselves
in math mode unless part of a \around environement. The standard way to create one is
to type an open bracket (which then insert both open and closed parenthesis in the
document within an \around environment) and then edit to obtain the required behaviour.
If you want to type text freely you have to insert a text-mode box inside math, there
you can then use again parenthesis freely, i.e the key ')' insert a ")" glyph.

Of course you can change the behaviour and bind the ')' key to the same
command the '(' key is bound to, i.e. create an \around environment. But I
haven't tried.

m


On 11. Jan 2021, at 09:32, Frank <address@hidden> wrote:

Hi,

I suppose that this is a feature, rather than a bug. It seems a reasonable
setting to avoid unbalanced parentheses.

Best,
Frank

于 January 10, 2021 4:26:23 PM UTC, marc lalaude-labayle <address@hidden> 写到:
Hi,

I just noticed a bug, at least under Ubuntu 20.04 : when on math mode,
I
choose right delimiter (to close) only in the menu, I don't get
anything.
And in math mode, with my keyboard, I can't neither get any closing
symbol.
In order to get one, I have to open, for example (a*x+b) and then
manually
delete the opening (.

Does anybody has the same problem ? If so, I'll fill a bug.

Marc

Le dim. 10 janv. 2021 à 17:20, Giovanni Piredda <address@hidden> a
écrit :

Waiting for someone else to comment, I propose this

<assign|rightChoice|<\macro|x>


<math-table-base|<left|.><tformat|<cwith|1|-1|1|-1|cell-swell|<value|table-math-swell>>|<arg|x>><right|}>>
\;
</macro>>

I started from the macro that defines choice (that I got from the
"Edit
macro" menu command) and I moved both the brace from left to right
and the
point from right to left. I do not master yet the editing of macros
in the
TeXmacs source mode, but it worked and it gives what you want as far
as I
can tell. Let me know if you need step by step instructions to make
it work.
G.


Am 10.01.2021 um 16:56 schrieb Vincent Douce Mathoscope:
bonjour
two TeXmacs users ask me how to make right l'accolade } , thus the
symétric of \choice
i mean not only typing } but having this :

x=1|
|->x+y=3
y=2|

with a large vertical } instead of the |->
----
Vincent Douce
https://lemathoscope.com/
cours de maths postbac par visio

--
使用 K-9 Mail 发送自我的Android设备。



Archive powered by MHonArc 2.6.19.

Top of Page