split line command "..."

split line command "..." - Сообщения

#1 Опубликовано: 28.03.2021 01:56:33
churichuro

churichuro

28 сообщений из 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 Опубликовано: 28.03.2021 05:58:00
fedeghi

fedeghi

25 сообщений из 112 понравились пользователям.

Группа: User

Already available, use SHIFT+Enter in the position where you want to split the line
#3 Опубликовано: 28.03.2021 09:08:36
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 28.03.2021 09:19:04
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... demo example.

Page3 Maple(op).sm (12 КиБ) скачан 52 раз(а).
1 пользователям понравился этот пост
churichuro 28.03.2021 11:38:00
#5 Опубликовано: 28.03.2021 11:58:34
churichuro

churichuro

28 сообщений из 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 Опубликовано: 28.03.2021 16:13:39
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

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


Attach the complete document to try something.
Jean
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений