Items tagged with typesettingtypesetting Tagged Items Feed

How to put degree symbol on tickmark?...

April 18 2016
0 5

Suppose that I have a plot:

plot(sin((1/180)*Pi*x), x = -180 .. 180)

I want to add a degree symbol after the tickmarks on the x-axis.  One approach which seem promising is to add a plot option for the x-axis:

axis[1] = [tickmarks = [90 = typeset("90", degree)]]

where "degree" is replaced by a code for the degree symbol. Maple is helpful here because I can point and click using the Common Symbols palette and insert a degree symbol. However this does not work delivering an error "Error, invalid neutral operator". This error is undocumented.

I can insert a Pi or an infinity symbol. If I want to I can put a degree sysmbol into ther title, but apparently not on the axes.

How to subscript plot point labels...

January 25 2016
1 6

I'm trying to insert $(x_0,y_0)$ into a Maple plot (that's how LaTeX would be written). I want to do this with a Maple command rather than creating the plot then hand-tailoring with mouse clicks. This is what I've tried without success:

p1:=plot(sin, -Pi..Pi,-1..1):

t1:=textplot(Pi/2,0.9,something):

display(p1,t1)

For *something* I've tried such as

Typesetting:-typeset(try)

and

typeset(try)

where try is something like (x[0],y[0]) and [(x[0],y[0])] and similar forms.

No joy! Any help appreciated.

Possible Bug in Maple ?...

December 02 2015
0 6

A strange verical line in output of dsolve.Should be a comma in Jacobi SN function and comma's in invert Jacobi SN function.

Possible_Bug.mw

Can anyone help me confirm this?

Why doesn't typesetting option work for MathConta...

November 24 2015
3 0

Why the interface typesettings option doesn't affect the content of a MathContainer?

I opened a new document. Then I inserted the command interface(typesetting=extended); to improve the visualization of a disequation's solution. It works in the worksheet, but it doesn't work in the content of a MathContainer.

Important Bug in Series...

June 03 2015
1 2

In Maple 2015, on windows 8.1 64-bit the command
series(2*x*(x-y)/y, y = 0, 3);
gives

which is incorrect. The answer is

You can notice the minus sign in front the the -2x is incorrectly typeset, which makes me wonder if it's a bug in the typsetting program and not series itself.

Extracting 'f(x)' from Int(f(x), x=0..1)....

March 08 2015
1 6

Sorry for the bad format, maple input is not working.

In particular,from an expression, something like

Int(x*f(x), x = 0 .. 1)+ Int(x, x = 0 .. 1/3)+3* Int(x*f(x), x = 0 .. 2/3)

I want to extract

x*f(x)+x+3*x*f(x)

That is all the integrands occuring in the expression. GetIntegrand helps to find the integrand but only for one integral, how do I do it for an expression like above.

I tried to apply following approach

subs(sin(c::anything)=c, sin(x)+f);

and the output was

f

I was expecting to get only 'x+f' for output.

EDIT 1:

Thank you so much for your help. You guys answered exactly what I asked for. I needed this to do something different but I should have been more careful. I realized, I could not get that part now. This is what I actually need to do, if

A:=-(5/8)*x*(Int(f(x), x = 0 .. x))+(5/24)*(Int(f(x), x = 1/3 .. x))-(1/4)*x*(Int(x*f(x), x = 1/3 .. x));

then I wish to get a function, g(xi),

g(xi)= -(5/8)x*f(xi) ;   if 0<= xi <= x
(5/24)*f(xi)-(1/4)*x*xi*f(xi) ; if 1/3<= xi<= x

Notice, all the terms after integral should use variable 'xi' and terms occurring before integral remains as it is.

Latex typesetting of delayDotProduct...

December 16 2014
2 0

I would like to implement a rule for typeseting delayDotProduct in latex exports (in which this expressions appears in plain form). It corresponds to dot products of vectors/matrices with the "." operator. I tried to define

latex/Typesetting:-delayDotProduct:=proc(f1,f2,f3)
sprintf("{ {%s}{%s} }",cat(latex/print(f1)),cat(latex/print(f2)))
end proc:

which does not do the job.

Edit:

A related question: How can I make

D[1,1](x)(t)

produce x''(t) in latex output?

How to put vertical text on a plot...

November 01 2014
1 0

How is vertical text created in a plot?  It would be similiar to using the labeldirection option set to "vertical", but my text in question will be an annotation within the field of the plot.  A more general question would be how to place rotated text within a plot.

how to use alias(x=x(t)) and keep the extended typ...

September 08 2014
1 6

Using Maple 18.01 on windows 7.

When setting typesetting level to extended, I get this (which is what I want):

restart;
diff(x(t),t);

But I also wanted to use alias, to make the above show just as \dot(x), i.e. without the (t) as well, since the equations are long, and not having (t) printed next to each letter would make them easier to read. But I found out that if I use an alias as follows

alias(x=x(t))

then now the typesetting level extended no longer works:

restart;
alias(x=x(t));
diff(x,t);

What do I need to make Maple display  only \dot(x) without the argument (t) everywhere?

Symbols, subscript and superscript in Maple 18...

April 27 2014
2 3

Hello,

I am a student and using Maple to type homework assignments because of the math symbols available.  I was using Maple 17 but upgraded to 18, and its not as easy to use as 17.  For right now I am using it in text mode, because that is what I need.  But I can't figure out an easy way to do subscripts and superscripts in text mode.  Also, the "element symbol," where is it?  I feel like a lot of stuff is missing.  For instance, the arrows, the sideways triangle, lots of symbols I used before the upgrade I cant find.  Can someone help please???

control of italics in a maple plot...

September 15 2013
1 10

Hello, I am exporting a plot (numerous plots actually) directly to eps files. In my axis labels, I have Greek and non-Greek characters. I am using the following in my plot command:

How to print cross-product instead of -delay?...

June 03 2013
1 4

After typing

with(LinearAlgebra):
avector:=Vector(3,symbol=a):
bvector:=Vector(3,symbol=b):
'a x b'=CrossProduct(avector,bvector)

Maple writes out

Error, subscript.Unsure of how to proceed...

March 24 2013
0 1

ErrorHelp.docx

SEE ATTACHMENT.. Cannot find how to fix this error. Thanks!

>

Error, Got internal error in Typesetting:-Parse : "invalid subscript selector"

Change Atomic definition back to 2-D or 1-D...

November 07 2012
1 12

How does one change a previous Atomic setting back to non-Atomic?  This seems so simple, but I can't find anyway to Undo this change.

Thanks,

make 2D math output NOT DISPLAY syle? (i.e. not ce...

July 26 2012
0 3
hi;Using Maple 16. In Document mode. Tools->OutputDisplay->2D Math

I want when the output comes out, to be LEFT justified and Not Centered.

The reason is that when I export to Latex, it comes out as

\[\displaystyle \,{.....

And I do not want the result to be centered.
I want the math just to be that each equation in the output to start from the left edge of the page. So that if I have 3 equations in the output, in my latex document,...
 1 2 Page 1 of 2
﻿