Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline churichuro  
#1 Posted : 28 March 2021 07:56:33(UTC)
churichuro


Rank: Advanced Member

Groups: Registered
Joined: 27/03/2019(UTC)
Posts: 75
Mexico
Location: coah

Was thanked: 27 time(s) in 22 post(s)
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

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline fedeghi  
#2 Posted : 28 March 2021 11:58:00(UTC)
fedeghi


Rank: Advanced Member

Groups: Registered
Joined: 14/09/2013(UTC)
Posts: 90
Italy

Was thanked: 24 time(s) in 16 post(s)
Already available, use SHIFT+Enter in the position where you want to split the line Wink
Offline Jean Giraud  
#3 Posted : 28 March 2021 15:08:36(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: churichuro Go to Quoted Post
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
Offline Jean Giraud  
#4 Posted : 28 March 2021 15:19:04(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
... demo example.

Page3 Maple(op).sm (13kb) downloaded 28 time(s).
thanks 1 user thanked Jean Giraud for this useful post.
on 28/03/2021(UTC)
Offline churichuro  
#5 Posted : 28 March 2021 17:58:34(UTC)
churichuro


Rank: Advanced Member

Groups: Registered
Joined: 27/03/2019(UTC)
Posts: 75
Mexico
Location: coah

Was thanked: 27 time(s) in 22 post(s)
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!
Offline Jean Giraud  
#6 Posted : 28 March 2021 22:13:39(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: churichuro Go to Quoted Post
operator "..." for this will be great!

Attach the complete document to try something.
Jean
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.