ecterrab

13431 Reputation

24 Badges

19 years, 358 days

MaplePrimes Activity


These are replies submitted by ecterrab

@nm 

It looks great. The setting is old, not new.

Among the first feedback I got for what was Physics:-Latex, in August, some people said right away they prefer "\\," instead of " " as invisible times. Mainly, other people don't think of this as having a "global adverse effect", so it is not a matter of "is" or "is not" but more of a preference. The same happens with this space after \sqrt{xxx} that the default latex typesetting does not have.

Anyway, I still don't have a definite opinion about such an exception ... I tend to think "the closer to what I see on the worksheet while not interfering with latex typesetting ideas". Somehow this space after \sqrt{xxx} is quite in the middle of those two concepts.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@johan162 
That is an excellent suggestion. Naturally, I cannot tell the future, but concretely see the menu Copy Special -> Copy as LaTeX happening for the next Maple release.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

Hi

Yes this new \! is intentional, to not leave a space between a function name and its arguments, i.e. have y(x) displayed by latex as you see when you input $y(x)$, instead of what you see when you input $y\left(x\righ)$. So:

This space, in this example between y and (x), is, however, configurable. Try Latex:-Settings(leavespaceafterfunctionname = true) and you will see the space there (i.e., no \!), as before. And then if you want to use the mleftright for some other reason, using this option is the way to go.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@nm 

The issue was not related to the Maplesoft Physics Updates, but to the download of any Maple Cloud package, only happening in the Windows platform, and not for everybody but only for some Windows users. This problem got noticed - then mentioned - in connection with the Maplesoft Physics Updates because the number of downloads of this package is bigger than the number of downloads of other packages. All that is explained in this Mapleprimes post.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft.

This is good news and turns unnecessary the workaround for the problem of installing MapleCloud packages that some people experienced, as per comments also in this other Mapleprimes post.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft.

 

@nm

In the upcoming versions of the Maplesoft Physics Updates, maybe already tomorrow, only Latex, not Physics:-Latex, will be present. As said, these two commands are the same bit-by-bit. The project started as Physics:-Latex, but now that it is essentially finished, it is time to remove the Physics:- duplication.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@nm

In the upcoming versions of the Maplesoft Physics Updates, maybe already tomorrow, only Latex, not Physics:-Latex, will be present. As said, these two commands are the same bit-by-bit. The project started as Physics:-Latex, but now that the it is essentially finished, it is time to remove the Physics:- duplication.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@nm 

Latex is a replica of Physics:-Latex with its own variables. So if you use Latex:-Settings, then expect Latex to follow that, and if you use Physics:-Latex:-Settings expect Physics:-Latex to follow that. We know this is Physics:-Latex but I mentioned that Latex is now also a user-level command - I recommend(ed already) for you to forget about the 'Physics:-' prefix and in that way avoid having these confusions, where you set one of them but mistakenly use the other one.

By the way I just uploaded the Updates v.871 with some other changes and one more tweak about this: powersoftrigonometricfunctions can now be textbook, computer or mixed, and default is now mixed. With mixed, only trig (not arctrig) functions have their powers displayed as powers of the function's name (\cos^3(x) instead \cos(x)^3). The keywords textbook and computer continue representing the same as before. Additionally, usetypesettingcurrentsetting=true turns OFF this specialy different typeset of powers of trig functions.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

 

@nm 

It is explained in the previous reply, use Latex:-Settings(powersoftrigonometricfunctions = computernotation)

Regarding the notation cos^(-1) for arccos, I already gave my opinion (see above), but would add that for several people that is good notation. To mention but one, Mathematica, that you frequently refer to, tex-translate ArcCos as \cos^{-1}.

So this is not about "this is bad notation" or "this is good notation" but about giving options to accomodate different preferences. Then there is the default - for which I use to collect opinions, take time to think, and then I decide; my opinion so far is also explained above.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@nm@dharr

That single \rm is now replaced by \mathrm, and the change is distributed for everybody using Maple 2020 within the Maplesoft Physics Updates v.869 and newer. Thanks for pointing out the problem and providing feedback - Best!

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@lemelinm 
After installing any MapleCloud package, I recommend: entirely close Maple. Then open Maple; and in the case of the Maplesoft Physics Updates only after closing and opening try Physics:-Version();

Independent of that, some people using Windows have problems in installing MapleCloud packages, if that is the case see that Mapleprimes post I mentioned in the previous replay (this window, above).

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@nm 

In the Maplesoft Physics Updates v.866 and newer, there is a new Latex setting:

> Latex:-Settings(powersoftrigonometricfunctions);   # tentatively running with this as default

              [powersoftrigonometricfunctions = textbooknotation]

With this setting, for trig functions only, things like sin(x)^2 tex-translate as \sin^2 x, and arcsin(x) as \sin^{-1} x. The other value of this new keyword is 'computernotation', in which case everything is as before this change, sin(x)^2 tex-translate as \sin(x)^2 and arcsin(x) as \textrm{arcsin}(x).

No changes to the other variants I mentioned in my previous reply. The question I am still thinking about is the default value, textbook or computer. @max125, I realize you prefer the notation 'computer' but both have advantages and disadvantages - in fact for instance @nm prefers the other notation. This more of a preference, and for me what counts is textbooks, the closer we get to them the better.

Note: any portion of the-long-keyword powersoftrigonometricfunctions works as well, and the right-hand side can also be textbook or computer (without 'notation'), both work.

By the way, to query about all the settings enter Latex:-Settings(), without arguments. To query about one, enter that argument, and to set it enter an equation, for example as in Latex:-Settings(pow = computer);

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@lemelinm 

Input Physics:-Version(); and you will see the version in use. By the way, if you are using Windows and are having problems to install MapleCloud packages, see this other Mapleprimes post.

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@nm 

Within the Maplesoft Physics Updates, v.861, you have:

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

@nm 

About the ODE case, since Latex (not latex) works based on Typesetting, I just noticed the following is already working as expected:

 

So I suppose this does what you want for the ODE case? The use of Suppress is necessary for this to work - is that an issue?

About the PDE case, the notation you show from Haberman's book is not really good for me; for one, in - say - D[1](u)(0,a) the information on the dependency of u is not present so you cannot translate that to du/dx(0,a). My idea was to use u[1](0, a) (Jet notation = jetnumbers, see ?PDEtools,ToJet).

This requires further thoughts since, e.g., the notation D[1,1](u)(x,t) actually means the second derivative with respect to x and D[1,2](u)(x,t) means the mixed derivative, w.r.t x and t, and this notation can be seen as non-standard. Still, u[1,1](0, a) (where [1,1] is displayed as a subscript) is for me more clear than D[1,1](u)(0,a).

Alternatively, this other jet notation = jetvariables is good for me but, again, requires information on the dependency of u(x,t):

Finally, a comment on your "not commas": you know, when using computer algebra, your variables could be xt, t, then if you remove the comma separating each derivative you receive thingsl like xtt, which are ambiguous. even x0t doesn't look clear, while x0, t does. So no, we cannot ommit the commas, at least not by default. Maybe as a user requested Latex:-Setting ...

 

Edgardo S. Cheb-Terrab
Physics, Differential Equations and Mathematical Functions, Maplesoft

First 11 12 13 14 15 16 17 Last Page 13 of 60