split line command "..."

split line command "..." - 消息

#1 已发布: 2021/3/28 01:56:33
churichuro

churichuro

29个赞,共79个帖子。

组: User

Is it possible to enable a new operator "..."
whose function is to allow dividing
long expressions between several lines?

like this:


some_var := arg1 operator arg2 operador ...
arg3 operador arg4 etc.

x.1 := 2 + 3 + 4 ...
+ 5 + 6

x.1 = 20

Currently you can do something similar with the
key combination ctrl + Enter but it is a bit limited



I think this could be very useful, especially in the new document mode
#2 已发布: 2021/3/28 05:58:00
fedeghi

fedeghi

25个赞,共112个帖子。

组: User

Already available, use SHIFT+Enter in the position where you want to split the line
#3 已发布: 2021/3/28 09:08:36
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Is it possible to enable a new operator "..."
whose function is to allow dividing
long expressions between several lines ?


You mean: Mathcad style ?
Was rarely used, just to recollect a long symbolic result.
Not so much useful ... explain:
the "..." is a keystroke, thus the split does not update.
In lieu, the maple(op(,)), as applicable, is more convenient at no risk.
It updates following the user command from upstream the project.
As well, it updates the the result that you may have spooled to file.
Visit Samples Beam Analysis few days ago.

Jean
#4 已发布: 2021/3/28 09:19:04
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

... demo example.

Page3 Maple(op).sm (12.74 KiB)已下载 1868 次。
1位用户喜欢此帖子
churichuro 2021/3/28 11:38:00
#5 已发布: 2021/3/28 11:58:34
churichuro

churichuro

29个赞,共79个帖子。

组: User

thanks fedeghi but...

Yes, I know, but only one division of the line is allowed, but "..."
in the form of an operator could be used as many times as you want
on the same line
currently if at the point you want to divide your expression is between parentheses "(" it won't work

try with this:

z:=(3+5-8*60-32) you can't

thank Jean, very good about maple and collect

operator "..." for this will be great!
#6 已发布: 2021/3/28 16:13:39
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

operator "..." for this will be great!


Attach the complete document to try something.
Jean
  • 有新帖
  • 无新帖