## Does Maple offer facilities to devise a "computati...

Hi everybody,

I face the following problem :
I develop a Maple simulation code with its own maplets-based interface, and I would like to draw up an "execution report" that presents many informations in a smart and synthetic way :

1. a summary of the data the user provided through the interface (numerical values, files, ...)
2. the results of some preliminary operations (ie. the construction of the equations to solve)
3. some plots of the numerical solution (typically of an ode system)

This execution report should mix texts, plots, charts, ...
At least, I would like the report to be written in LaTeX.

I use to use the software R which provides some facilities to build reports of this kind  (packages knitr or Sweave for those who would know) , and I am wondering if there exists something comparable in Maple ?
Could the DocumentTools package (I know by name only) help me ?

More generally, if you were faced with such a problem, how would you deal with it?

As always any suggestion or advice will be greatly appreciated

## Exporting Maple to Latex...

Hello,

Whenever I export my Maple code to Latex, every line is exported twice. So the Latex code looks something like this:

\begin{Maple Normal}{
\begin{Maple Normal}{
\mapleinline{inert}{2d}{x := 3}{$\displaystyle x\, := \,3$}
}\end{Maple Normal}
}\end{Maple Normal}
\begin{maplegroup}
\begin{Maple Normal}{
\mapleinline{inert}{2d}{x := 3}{$\displaystyle x\, := \,3$}
}\end{Maple Normal}
\mapleresult
\begin{maplelatex}
\mapleinline{inert}{2d}{3}{$\displaystyle 3$}
\end{maplelatex}
\end{maplegroup}

I would be very grateful to anyone who could offer me a solution to this issue :)

Vince

## Why does copy/paste exclude # comments in code?...

I was posting some code on a forum tonight. I specificially added # comments to the code. I used Ctrl_c ,Crtl_v. All the # comments were removed including the 2016 grey boxes which appeared as NULL.

Is there away around this. The comments were very important to help in understanding. The pasted code did look readable though.

I also experimented with exporting the code as .txt and opening it in Word. Required loads of editing to make it look presentable, which really opend the door to introuucing errors, also all # coments were removed too.

The forum just has the normal type comments box. Nothing fancy. Actually it is a WordPress Blog. It does accept latex but that is ok for one or two lines. Could be a real mess if 30--40 lines of code go wrong and latex as far as I know can't be copy/pasted back in to Maple.

## How do I insert Maple plots into LaTeX documents?...

How do I insert Maple18 plots into LaTeX documents?

## exporting to latex...

I have exported a maple document to latex, but it only shows the output of the commands used. Rather than the commands, and the procedures.

How do I get both to export together? and show up together?

## latex document preparation from maple worksheets...

any assistence here will be much appreciated the website gave me a zip containing the template tex and other files, but for what ever reason its not working when i copy in output using the maple to latex conversion feature from inside the interface. literally im sick of having to work outside of the maple interface but yes believe it or not this is the one thing i use to procrastinate writting a formal publication yep i really need the first one of those to get this done and dusted.

## How to avoid auto simplification in LateX code gen...

How can I get the equation G1 automatically shown in Latex as stated? Example:

G1 := V = Pi*(d/2)^2*h;

latex(G1);

# yields V=1/4\,\pi\,{d}^{2}h

rendered:

How can I make G1 inert so that Latex generator accepts it as input?

## Question about Export As LaTeX...

Dear All,

I am using the comand " export as" form the file menu to obatain a latex version of my worksheet. The generated latex file use a package called amplestd2e.sty that should be loaded for latex compiler to function proper. Do somebody know where to find it. Thank you. N. Jand

## Latex to Maple ...

Dear All

The given Maple code can be easily converted into Latex code using "latex(.)", how can one perform reverse of it?? That, if we have latex code in proper format, can we convert it into Maple commands??

Regards

## Huge expression to Latex or Word?...

Hi my dear friends, I am haunted by a problem of how to convert a very very very long equation to Latex or Word properly?

Thank you for taking a look at the following 'long and boring' equation and sharing your brilliant idea.

"1/12*R^2*h^3*rho*diff(diff(alpha(t),t),t)*cos(beta(t))^2*Pi+1/2*R^4*h*rho*sin(gamma(t))*diff(diff(phi(t),t),t)*Pi-1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(diff(alpha(t),t),t)-1/4*R^4*h*rho*cos(alpha(t))*diff(beta(t),t)*diff(gamma(t),t)*Pi-1/12*R^2*h^3*rho*cos(alpha(t))*diff(beta(t),t)*diff(gamma(t),t)*Pi+1/2*R^4*h*rho*diff(gamma(t),t)*cos(gamma(t))*diff(phi(t),t)*Pi+1/12*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))^2*diff(diff(phi(t),t),t)*Pi+1/2*R^4*h*rho*cos(gamma(t))*diff(diff(theta(t),t),t)*cos(phi(t))*Pi-1/4*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))^2*diff(diff(phi(t),t),t)+1/2*R^4*h*rho*sin(gamma(t))*diff(diff(psi(t),t),t)*sin(theta(t))*Pi-1/12*R^2*h^3*rho*cos(beta(t))^2*cos(gamma(t))*diff(diff(psi(t),t),t)*cos(theta(t))*sin(phi(t))*Pi-1/4*R^4*h*rho*cos(beta(t))^2*sin(alpha(t))*diff(beta(t),t)*cos(gamma(t))*diff(phi(t),t)*Pi+1/4*R^4*h*rho*cos(alpha(t))*cos(beta(t))^2*diff(beta(t),t)*diff(theta(t),t)*sin(phi(t))*Pi-1/12*R^2*h^3*rho*cos(alpha(t))*cos(beta(t))^2*diff(beta(t),t)*diff(theta(t),t)*sin(phi(t))*Pi+1/4*R^4*h*rho*cos(alpha(t))*cos(beta(t))*sin(beta(t))*diff(diff(theta(t),t),t)*sin(phi(t))*Pi-1/4*R^4*h*rho*cos(alpha(t))*diff(beta(t),t)*sin(beta(t))^2*diff(theta(t),t)*sin(phi(t))*Pi-1/12*R^2*h^3*rho*cos(alpha(t))*cos(beta(t))*sin(beta(t))*diff(diff(theta(t),t),t)*sin(phi(t))*Pi+1/12*R^2*h^3*rho*cos(alpha(t))*diff(beta(t),t)*sin(beta(t))^2*diff(theta(t),t)*sin(phi(t))*Pi-1/6*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*diff(phi(t),t)*Pi*diff(beta(t),t)*sin(beta(t))+1/2*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))*diff(phi(t),t)*diff(beta(t),t)*sin(beta(t))-1/12*R^2*h^3*rho*cos(beta(t))^2*diff(gamma(t),t)*sin(gamma(t))*diff(theta(t),t)*cos(phi(t))*Pi-1/4*R^4*h*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(diff(phi(t),t),t)*Pi+1/4*R^4*h*rho*diff(beta(t),t)*sin(beta(t))^2*sin(alpha(t))*cos(gamma(t))*diff(phi(t),t)*Pi+1/12*R^2*h^3*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(diff(phi(t),t),t)*Pi-1/12*R^2*h^3*rho*diff(beta(t),t)*sin(beta(t))^2*sin(alpha(t))*cos(gamma(t))*diff(phi(t),t)*Pi-1/12*R^2*h^3*rho*cos(alpha(t))^2*cos(beta(t))^2*diff(gamma(t),t)*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi-1/12*R^2*h^3*rho*cos(alpha(t))^2*cos(beta(t))^2*cos(gamma(t))*diff(theta(t),t)*diff(phi(t),t)*sin(phi(t))*Pi-1/12*R^2*h^3*rho*cos(alpha(t))*cos(beta(t))^2*diff(beta(t),t)*diff(psi(t),t)*cos(phi(t))*cos(theta(t))*Pi+1/4*R^4*h*rho*sin(gamma(t))*cos(beta(t))^2*sin(alpha(t))*diff(beta(t),t)*diff(theta(t),t)*cos(phi(t))*Pi-1/4*R^4*h*rho*cos(beta(t))^2*sin(alpha(t))*diff(beta(t),t)*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi+1/12*R^2*h^3*rho*cos(beta(t))^2*diff(gamma(t),t)*sin(gamma(t))*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi+1/12*R^2*h^3*rho*cos(beta(t))^2*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*sin(theta(t))*sin(phi(t))*Pi-1/12*R^2*h^3*rho*cos(beta(t))^2*cos(gamma(t))*diff(psi(t),t)*cos(theta(t))*diff(phi(t),t)*cos(phi(t))*Pi-1/6*R^2*h^3*rho*cos(beta(t))*cos(gamma(t))*diff(theta(t),t)*cos(phi(t))*Pi*diff(beta(t),t)*sin(beta(t))-1/12*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(phi(t),t)^2*Pi+1/4*R^4*h*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*cos(alpha(t))^2*diff(psi(t),t)*cos(theta(t))+1/4*R^4*h*rho*sin(gamma(t))*sin(alpha(t))*diff(beta(t),t)*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi-1/4*R^4*h*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*sin(alpha(t))^2*diff(psi(t),t)*cos(theta(t))+1/12*R^2*h^3*rho*sin(alpha(t))^2*cos(beta(t))^2*cos(gamma(t))*diff(theta(t),t)*diff(phi(t),t)*sin(phi(t))*Pi+1/12*R^2*h^3*rho*sin(gamma(t))*sin(alpha(t))^2*cos(beta(t))^2*diff(psi(t),t)*diff(theta(t),t)*cos(theta(t))*Pi+1/12*R^2*h^3*rho*sin(alpha(t))^2*cos(beta(t))^2*diff(gamma(t),t)*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi-1/12*R^2*h^3*rho*sin(gamma(t))*sin(alpha(t))^2*cos(beta(t))^2*diff(gamma(t),t)*diff(theta(t),t)*cos(phi(t))*Pi-1/4*R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*sin(alpha(t))^2*sin(phi(t))*diff(phi(t),t)*cos(gamma(t))+1/12*R^2*h^3*rho*sin(gamma(t))*cos(alpha(t))^2*cos(beta(t))^2*diff(theta(t),t)^2*cos(phi(t))*sin(phi(t))*Pi+1/4*R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*cos(alpha(t))^2*sin(phi(t))*diff(phi(t),t)*cos(gamma(t))+1/12*R^2*h^3*rho*sin(gamma(t))*cos(alpha(t))^2*cos(beta(t))^2*diff(gamma(t),t)*diff(theta(t),t)*cos(phi(t))*Pi+1/4*R^4*h*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(phi(t),t)^2*Pi+1/12*R^2*h^3*rho*sin(gamma(t))*sin(alpha(t))*diff(beta(t),t)*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi-1/12*R^2*h^3*rho*sin(gamma(t))*cos(alpha(t))^2*cos(beta(t))^2*diff(psi(t),t)*diff(theta(t),t)*cos(theta(t))*Pi+1/6*R^2*h^3*rho*cos(alpha(t))*cos(beta(t))*sin(beta(t))*diff(psi(t),t)*cos(phi(t))*diff(theta(t),t)*sin(theta(t))*Pi+1/2*R^4*h*rho*diff(gamma(t),t)*cos(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(theta(t),t)*cos(phi(t))*Pi+1/2*R^4*h*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(gamma(t),t)*sin(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi-1/2*R^4*h*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*cos(theta(t))*Pi-1/6*R^2*h^3*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))^2*diff(theta(t),t)*cos(phi(t))*diff(phi(t),t)*Pi-1/2*R^4*h*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)^2*cos(theta(t))^2*Pi+1/4*R^4*h*rho*sin(alpha(t))*cos(beta(t))*sin(beta(t))*cos(gamma(t))*diff(theta(t),t)^2*cos(phi(t))*sin(phi(t))*Pi-1/2*R^4*h*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*cos(alpha(t))^2*diff(psi(t),t)*cos(phi(t))^2*cos(theta(t))-1/12*R^2*h^3*rho*cos(alpha(t))^2*cos(beta(t))^2*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*sin(theta(t))*sin(phi(t))*Pi+1/6*R^2*h^3*rho*sin(gamma(t))*cos(alpha(t))^2*cos(beta(t))^2*diff(psi(t),t)*diff(theta(t),t)*cos(phi(t))^2*cos(theta(t))*Pi-1/12*R^2*h^3*rho*cos(alpha(t))^2*cos(beta(t))^2*cos(gamma(t))*diff(psi(t),t)*cos(phi(t))*cos(theta(t))*diff(phi(t),t)*Pi-1/12*R^2*h^3*rho*cos(alpha(t))^2*cos(beta(t))^2*cos(gamma(t))*diff(psi(t),t)^2*sin(theta(t))*cos(phi(t))*cos(theta(t))*Pi-1/12*R^2*h^3*rho*sin(gamma(t))*cos(alpha(t))^2*cos(beta(t))^2*diff(gamma(t),t)*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi+1/12*R^2*h^3*rho*diff(theta(t),t)^2*sin(beta(t))*Pi*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*cos(phi(t))^2*cos(gamma(t))+1/6*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)^2*cos(theta(t))^2*Pi+1/2*R^4*h*rho*sin(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(psi(t),t)*diff(theta(t),t)*sin(theta(t))*sin(phi(t))*Pi+1/6*R^2*h^3*rho*diff(gamma(t),t)*cos(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi-1/6*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(psi(t),t)*diff(theta(t),t)*sin(theta(t))*sin(phi(t))*Pi+1/12*R^2*h^3*rho*sin(beta(t))*Pi*cos(beta(t))*diff(psi(t),t)^2*sin(phi(t))*cos(phi(t))*sin(alpha(t))*cos(theta(t))^2*cos(gamma(t))+1/2*R^4*h*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*cos(phi(t))*diff(phi(t),t)*cos(alpha(t))*cos(gamma(t))*sin(alpha(t))-1/2*R^4*h*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))^2*diff(psi(t),t)^2*sin(theta(t))*cos(theta(t))*sin(phi(t))*Pi+1/2*R^4*h*rho*sin(alpha(t))*cos(beta(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*cos(phi(t))^2*cos(theta(t))*Pi+1/2*R^4*h*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*diff(phi(t),t)*Pi+1/4*R^4*h*rho*sin(gamma(t))*sin(alpha(t))*cos(beta(t))*sin(beta(t))*diff(psi(t),t)^2*sin(theta(t))*cos(phi(t))*cos(theta(t))*Pi-1/6*R^2*h^3*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*cos(phi(t))*diff(phi(t),t)*cos(alpha(t))*cos(gamma(t))*sin(alpha(t))+1/2*R^4*h*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))^2*diff(psi(t),t)*diff(theta(t),t)*sin(theta(t))*cos(phi(t))*Pi-1/2*R^4*h*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))^2*diff(psi(t),t)*cos(theta(t))*diff(phi(t),t)*sin(phi(t))*Pi-1/6*R^2*h^3*rho*sin(alpha(t))*cos(beta(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*cos(phi(t))^2*cos(theta(t))*Pi-1/12*R^2*h^3*rho*sin(gamma(t))*sin(alpha(t))*cos(beta(t))*sin(beta(t))*diff(psi(t),t)^2*sin(theta(t))*cos(phi(t))*cos(theta(t))*Pi-1/6*R^2*h^3*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))^2*diff(psi(t),t)*diff(theta(t),t)*sin(theta(t))*cos(phi(t))*Pi+1/6*R^2*h^3*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))^2*diff(psi(t),t)*cos(theta(t))*diff(phi(t),t)*sin(phi(t))*Pi-1/12*R^2*h^3*rho*sin(beta(t))*Pi*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*diff(psi(t),t)^2*cos(phi(t))^2*cos(theta(t))^2*cos(gamma(t))-1/6*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*diff(phi(t),t)*Pi-1/2*R^4*h*rho*diff(gamma(t),t)*cos(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi+1/2*R^4*h*rho*diff(diff(alpha(t),t),t)*Pi-1/2*R^4*h*rho*cos(gamma(t))*diff(diff(psi(t),t),t)*cos(theta(t))*sin(phi(t))*Pi-1/4*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))^2*sin(theta(t))*diff(diff(psi(t),t),t)-1/4*R^4*h*rho*diff(diff(theta(t),t),t)*Pi*cos(beta(t))^2*cos(phi(t))*cos(gamma(t))+1/12*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))^2*diff(diff(psi(t),t),t)*sin(theta(t))*Pi-1/12*R^2*h^3*rho*cos(alpha(t))*cos(beta(t))^2*diff(beta(t),t)*diff(gamma(t),t)*Pi+1/4*R^4*h*rho*cos(alpha(t))*cos(beta(t))^2*diff(beta(t),t)*diff(gamma(t),t)*Pi+1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(gamma(t),t)^2*cos(alpha(t))*sin(alpha(t))+1/4*R^4*h*rho*diff(theta(t),t)^2*Pi*cos(beta(t))^2*cos(alpha(t))*sin(alpha(t))-1/12*R^2*h^3*rho*diff(theta(t),t)^2*Pi*cos(beta(t))^2*cos(alpha(t))*sin(alpha(t))-1/12*R^2*h^3*rho*cos(alpha(t))*diff(beta(t),t)*diff(theta(t),t)*sin(phi(t))*Pi+1/12*R^2*h^3*rho*sin(alpha(t))*diff(beta(t),t)*cos(gamma(t))*diff(phi(t),t)*Pi-1/4*R^4*h*rho*cos(alpha(t))*diff(beta(t),t)*diff(theta(t),t)*sin(phi(t))*Pi+1/4*R^4*h*rho*sin(alpha(t))*diff(beta(t),t)*cos(gamma(t))*diff(phi(t),t)*Pi-1/12*R^2*h^3*rho*Pi*cos(beta(t))^2*diff(gamma(t),t)^2*cos(alpha(t))*sin(alpha(t))+1/2*R^4*h*rho*Pi*cos(beta(t))*diff(alpha(t),t)*diff(beta(t),t)*sin(beta(t))-1/6*R^2*h^3*rho*diff(alpha(t),t)*cos(beta(t))*Pi*diff(beta(t),t)*sin(beta(t))+1/12*R^2*h^3*rho*diff(gamma(t),t)*cos(gamma(t))*cos(beta(t))^2*diff(phi(t),t)*Pi-1/2*R^4*h*rho*diff(gamma(t),t)*sin(gamma(t))*diff(theta(t),t)*cos(phi(t))*Pi-1/2*R^4*h*rho*cos(gamma(t))*diff(theta(t),t)*diff(phi(t),t)*sin(phi(t))*Pi-1/4*R^4*h*rho*Pi*diff(gamma(t),t)*cos(gamma(t))*cos(beta(t))^2*diff(phi(t),t)+1/2*R^4*h*rho*diff(gamma(t),t)*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi+1/2*R^4*h*rho*sin(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*cos(theta(t))*Pi+1/12*R^2*h^3*rho*cos(beta(t))^2*cos(gamma(t))*diff(diff(theta(t),t),t)*cos(phi(t))*Pi-1/12*R^2*h^3*rho*cos(alpha(t))*cos(beta(t))*sin(beta(t))*diff(diff(gamma(t),t),t)*Pi+1/12*R^2*h^3*rho*cos(alpha(t))*diff(beta(t),t)*sin(beta(t))^2*diff(gamma(t),t)*Pi+1/4*R^4*h*rho*cos(alpha(t))*cos(beta(t))*sin(beta(t))*diff(diff(gamma(t),t),t)*Pi-1/4*R^4*h*rho*cos(alpha(t))*diff(beta(t),t)*sin(beta(t))^2*diff(gamma(t),t)*Pi+1/2*R^4*h*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))^2*diff(theta(t),t)*cos(phi(t))*diff(phi(t),t)*Pi+1/4*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))^2*cos(alpha(t))^2*diff(psi(t),t)^2*sin(phi(t))*cos(phi(t))*cos(theta(t))^2+1/4*R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*sin(theta(t))*cos(alpha(t))^2*diff(psi(t),t)*sin(phi(t))*cos(gamma(t))+1/4*R^4*h*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*diff(psi(t),t)^2*sin(theta(t))*cos(theta(t))*sin(phi(t))*Pi-1/4*R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*sin(theta(t))*sin(alpha(t))^2*diff(psi(t),t)*sin(phi(t))*cos(gamma(t))-1/4*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))^2*sin(alpha(t))^2*diff(psi(t),t)^2*sin(phi(t))*cos(phi(t))*cos(theta(t))^2-1/4*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))^2*diff(gamma(t),t)*sin(alpha(t))^2*diff(psi(t),t)*sin(phi(t))*cos(theta(t))-1/4*R^4*h*rho*Pi*cos(beta(t))^2*sin(theta(t))*sin(alpha(t))^2*diff(psi(t),t)^2*cos(phi(t))*cos(theta(t))*cos(gamma(t))-1/4*R^4*h*rho*Pi*cos(beta(t))^2*sin(alpha(t))^2*diff(psi(t),t)*cos(phi(t))*diff(phi(t),t)*cos(theta(t))*cos(gamma(t))-1/12*R^2*h^3*rho*sin(alpha(t))*cos(beta(t))*sin(beta(t))*cos(gamma(t))*diff(theta(t),t)^2*cos(phi(t))*sin(phi(t))*Pi+1/4*R^4*h*rho*Pi*cos(beta(t))^2*cos(alpha(t))^2*diff(psi(t),t)*cos(phi(t))*diff(phi(t),t)*cos(theta(t))*cos(gamma(t))+1/4*R^4*h*rho*Pi*cos(beta(t))^2*sin(theta(t))*cos(alpha(t))^2*diff(psi(t),t)^2*cos(phi(t))*cos(theta(t))*cos(gamma(t))+1/4*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))^2*diff(gamma(t),t)*cos(alpha(t))^2*diff(psi(t),t)*sin(phi(t))*cos(theta(t))-1/12*R^2*h^3*rho*Pi*sin(gamma(t))*cos(beta(t))^2*cos(alpha(t))^2*diff(psi(t),t)^2*sin(phi(t))*cos(phi(t))*cos(theta(t))^2+1/6*R^2*h^3*rho*Pi*cos(beta(t))^2*sin(theta(t))*diff(psi(t),t)*diff(phi(t),t)*cos(alpha(t))*cos(gamma(t))^2*sin(alpha(t))-1/2*R^4*h*rho*Pi*cos(beta(t))^2*sin(theta(t))*diff(psi(t),t)*diff(phi(t),t)*cos(alpha(t))*cos(gamma(t))^2*sin(alpha(t))+1/12*R^2*h^3*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(phi(t))^2*cos(alpha(t))*cos(theta(t))^2*cos(gamma(t))^2*sin(alpha(t))-1/6*R^2*h^3*rho*Pi*cos(beta(t))^2*diff(gamma(t),t)*diff(psi(t),t)*cos(phi(t))*cos(alpha(t))*cos(theta(t))*sin(alpha(t))-1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(phi(t))^2*cos(alpha(t))*cos(theta(t))^2*cos(gamma(t))^2*sin(alpha(t))-1/2*R^4*h*rho*cos(alpha(t))*cos(beta(t))*sin(beta(t))*diff(psi(t),t)*cos(phi(t))*diff(theta(t),t)*sin(theta(t))*Pi-1/6*R^2*h^3*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(gamma(t),t)*sin(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi+1/6*R^2*h^3*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*cos(theta(t))*Pi-1/6*R^2*h^3*rho*diff(gamma(t),t)*cos(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(theta(t),t)*cos(phi(t))*Pi-1/4*R^4*h*rho*diff(theta(t),t)^2*sin(beta(t))*Pi*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*cos(phi(t))^2*cos(gamma(t))-1/12*R^2*h^3*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*diff(psi(t),t)^2*sin(theta(t))*cos(theta(t))*sin(phi(t))*Pi+1/2*R^4*h*rho*Pi*cos(beta(t))^2*diff(gamma(t),t)*diff(psi(t),t)*cos(phi(t))*cos(alpha(t))*cos(theta(t))*sin(alpha(t))+1/12*R^2*h^3*rho*Pi*sin(gamma(t))*cos(beta(t))^2*sin(alpha(t))^2*diff(psi(t),t)^2*sin(phi(t))*cos(phi(t))*cos(theta(t))^2+1/12*R^2*h^3*rho*sin(gamma(t))*sin(alpha(t))^2*cos(beta(t))^2*diff(gamma(t),t)*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi+1/12*R^2*h^3*rho*sin(alpha(t))^2*cos(beta(t))^2*cos(gamma(t))*diff(psi(t),t)^2*sin(theta(t))*cos(phi(t))*cos(theta(t))*Pi+1/12*R^2*h^3*rho*sin(alpha(t))^2*cos(beta(t))^2*cos(gamma(t))*diff(psi(t),t)*cos(phi(t))*cos(theta(t))*diff(phi(t),t)*Pi+1/12*R^2*h^3*rho*sin(alpha(t))^2*cos(beta(t))^2*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*sin(theta(t))*sin(phi(t))*Pi-1/6*R^2*h^3*rho*sin(gamma(t))*sin(alpha(t))^2*cos(beta(t))^2*diff(psi(t),t)*diff(theta(t),t)*cos(phi(t))^2*cos(theta(t))*Pi+1/2*R^4*h*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*sin(alpha(t))^2*diff(psi(t),t)*cos(phi(t))^2*cos(theta(t))-1/4*R^4*h*rho*sin(gamma(t))*cos(beta(t))^2*sin(alpha(t))*diff(beta(t),t)*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi+1/12*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))^2*sin(alpha(t))*diff(beta(t),t)*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi+1/4*R^4*h*rho*sin(gamma(t))*diff(beta(t),t)*sin(beta(t))^2*sin(alpha(t))*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi+1/12*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(diff(psi(t),t),t)*cos(theta(t))*sin(phi(t))*Pi-1/12*R^2*h^3*rho*sin(gamma(t))*diff(beta(t),t)*sin(beta(t))^2*sin(alpha(t))*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi+1/6*R^2*h^3*rho*cos(beta(t))*cos(gamma(t))*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi*diff(beta(t),t)*sin(beta(t))-1/4*R^4*h*rho*sin(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(diff(psi(t),t),t)*cos(theta(t))*sin(phi(t))*Pi-1/2*R^4*h*rho*Pi*cos(beta(t))*diff(psi(t),t)*sin(phi(t))*cos(theta(t))*cos(gamma(t))*diff(beta(t),t)*sin(beta(t))-1/6*R^2*h^3*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(phi(t))^2*cos(alpha(t))*cos(theta(t))^2*sin(alpha(t))-1/6*R^2*h^3*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*diff(gamma(t),t)*sin(phi(t))*cos(alpha(t))*sin(alpha(t))+1/12*R^2*h^3*rho*cos(beta(t))^2*sin(alpha(t))*diff(beta(t),t)*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi-1/12*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))^2*sin(alpha(t))*diff(beta(t),t)*diff(theta(t),t)*cos(phi(t))*Pi+1/2*R^4*h*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(alpha(t))*cos(theta(t))^2*cos(gamma(t))^2*sin(alpha(t))-1/12*R^2*h^3*rho*diff(theta(t),t)^2*Pi*cos(beta(t))^2*cos(phi(t))^2*cos(alpha(t))*cos(gamma(t))^2*sin(alpha(t))-1/6*R^2*h^3*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(alpha(t))*cos(theta(t))^2*cos(gamma(t))^2*sin(alpha(t))+1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(gamma(t),t)*sin(theta(t))*cos(alpha(t))^2*diff(psi(t),t)*cos(gamma(t))+1/4*R^4*h*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)^2*Pi-1/12*R^2*h^3*rho*sin(gamma(t))*sin(alpha(t))^2*cos(beta(t))^2*diff(theta(t),t)^2*cos(phi(t))*sin(phi(t))*Pi+1/4*R^4*h*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*diff(gamma(t),t)*sin(alpha(t))^2*cos(phi(t))+1/4*R^4*h*rho*diff(theta(t),t)^2*Pi*sin(gamma(t))*cos(beta(t))^2*sin(alpha(t))^2*sin(phi(t))*cos(phi(t))-1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(gamma(t),t)*sin(theta(t))*sin(alpha(t))^2*diff(psi(t),t)*cos(gamma(t))+1/2*R^4*h*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(phi(t))^2*cos(alpha(t))*cos(theta(t))^2*sin(alpha(t))+1/2*R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*diff(gamma(t),t)*sin(phi(t))*cos(alpha(t))*sin(alpha(t))+1/4*R^4*h*rho*diff(theta(t),t)^2*Pi*cos(beta(t))^2*cos(phi(t))^2*cos(alpha(t))*cos(gamma(t))^2*sin(alpha(t))-1/4*R^4*h*rho*diff(theta(t),t)^2*Pi*sin(gamma(t))*cos(beta(t))^2*cos(alpha(t))^2*sin(phi(t))*cos(phi(t))-1/4*R^4*h*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*diff(gamma(t),t)*cos(alpha(t))^2*cos(phi(t))-1/12*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)^2*Pi+1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(psi(t),t)*diff(phi(t),t)*cos(phi(t))*cos(theta(t))*cos(gamma(t))-1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(psi(t),t)*sin(phi(t))*diff(theta(t),t)*sin(theta(t))*cos(gamma(t))-1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(psi(t),t)*sin(phi(t))*cos(theta(t))*diff(gamma(t),t)*sin(gamma(t))+1/2*R^4*h*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(gamma(t),t)*sin(gamma(t))*diff(phi(t),t)*Pi-1/6*R^2*h^3*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(gamma(t),t)*sin(gamma(t))*diff(phi(t),t)*Pi-1/4*R^4*h*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(diff(psi(t),t),t)*sin(theta(t))*Pi+1/4*R^4*h*rho*diff(beta(t),t)*sin(beta(t))^2*sin(alpha(t))*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi-1/12*R^2*h^3*rho*cos(alpha(t))*cos(beta(t))*sin(beta(t))*diff(diff(psi(t),t),t)*cos(phi(t))*cos(theta(t))*Pi+1/12*R^2*h^3*rho*cos(alpha(t))*diff(beta(t),t)*sin(beta(t))^2*diff(psi(t),t)*cos(phi(t))*cos(theta(t))*Pi+1/4*R^4*h*rho*sin(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(diff(theta(t),t),t)*cos(phi(t))*Pi-1/4*R^4*h*rho*sin(gamma(t))*diff(beta(t),t)*sin(beta(t))^2*sin(alpha(t))*diff(theta(t),t)*cos(phi(t))*Pi-1/4*R^4*h*rho*cos(alpha(t))*diff(beta(t),t)*sin(beta(t))^2*diff(psi(t),t)*cos(phi(t))*cos(theta(t))*Pi+1/12*R^2*h^3*rho*cos(beta(t))*sin(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(diff(psi(t),t),t)*sin(theta(t))*Pi-1/12*R^2*h^3*rho*diff(beta(t),t)*sin(beta(t))^2*sin(alpha(t))*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi-1/12*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*sin(alpha(t))*sin(beta(t))*diff(diff(theta(t),t),t)*cos(phi(t))*Pi+1/12*R^2*h^3*rho*sin(gamma(t))*diff(beta(t),t)*sin(beta(t))^2*sin(alpha(t))*diff(theta(t),t)*cos(phi(t))*Pi+1/2*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))*sin(theta(t))*diff(psi(t),t)*diff(beta(t),t)*sin(beta(t))+1/2*R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))*cos(phi(t))*cos(gamma(t))*diff(beta(t),t)*sin(beta(t))-1/6*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*diff(psi(t),t)*sin(theta(t))*Pi*diff(beta(t),t)*sin(beta(t))+1/4*R^4*h*rho*cos(alpha(t))*cos(beta(t))*sin(beta(t))*diff(diff(psi(t),t),t)*cos(phi(t))*cos(theta(t))*Pi+1/4*R^4*h*rho*cos(alpha(t))*cos(beta(t))^2*diff(beta(t),t)*diff(psi(t),t)*cos(phi(t))*cos(theta(t))*Pi-1/6*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*cos(phi(t))*cos(theta(t))*sin(phi(t))*Pi+1/2*R^4*h*rho*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*cos(phi(t))*cos(theta(t))*sin(phi(t))*Pi+1/12*R^2*h^3*rho*cos(beta(t))^2*sin(alpha(t))*diff(beta(t),t)*cos(gamma(t))*diff(phi(t),t)*Pi+1/4*R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*diff(phi(t),t)*sin(phi(t))*cos(gamma(t))+1/4*R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*cos(phi(t))*diff(gamma(t),t)*sin(gamma(t))+1/12*R^2*h^3*rho*diff(gamma(t),t)*cos(gamma(t))*cos(beta(t))^2*diff(psi(t),t)*sin(theta(t))*Pi+1/12*R^2*h^3*rho*sin(gamma(t))*cos(beta(t))^2*diff(psi(t),t)*diff(theta(t),t)*cos(theta(t))*Pi-1/12*R^2*h^3*rho*cos(beta(t))^2*cos(gamma(t))*diff(theta(t),t)*diff(phi(t),t)*sin(phi(t))*Pi+1/2*R^4*h*rho*diff(gamma(t),t)*sin(gamma(t))*diff(psi(t),t)*cos(theta(t))*sin(phi(t))*Pi+1/2*R^4*h*rho*cos(gamma(t))*diff(psi(t),t)*diff(theta(t),t)*sin(theta(t))*sin(phi(t))*Pi-1/2*R^4*h*rho*cos(gamma(t))*diff(psi(t),t)*cos(theta(t))*diff(phi(t),t)*cos(phi(t))*Pi-1/4*R^4*h*rho*Pi*diff(gamma(t),t)*cos(gamma(t))*cos(beta(t))^2*sin(theta(t))*diff(psi(t),t)-1/4*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))^2*diff(theta(t),t)*cos(theta(t))*diff(psi(t),t)-1/12*R^2*h^3*rho*sin(gamma(t))*sin(alpha(t))*diff(beta(t),t)*diff(theta(t),t)*cos(phi(t))*Pi-1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(phi(t),t)^2*cos(alpha(t))*cos(gamma(t))^2*sin(alpha(t))-1/2*R^4*h*rho*diff(theta(t),t)^2*Pi*cos(beta(t))^2*cos(phi(t))^2*cos(alpha(t))*sin(alpha(t))+1/12*R^2*h^3*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(alpha(t))*cos(theta(t))^2*sin(alpha(t))+1/12*R^2*h^3*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(alpha(t))*cos(gamma(t))^2*sin(alpha(t))-1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(alpha(t))*cos(theta(t))^2*sin(alpha(t))-1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(psi(t),t)^2*cos(alpha(t))*cos(gamma(t))^2*sin(alpha(t))+1/12*R^2*h^3*rho*Pi*cos(beta(t))^2*diff(phi(t),t)^2*cos(alpha(t))*cos(gamma(t))^2*sin(alpha(t))+1/6*R^2*h^3*rho*cos(alpha(t))*cos(beta(t))^2*diff(theta(t),t)^2*cos(phi(t))^2*Pi*sin(alpha(t))+1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(gamma(t),t)*cos(alpha(t))^2*diff(phi(t),t)*cos(gamma(t))-1/12*R^2*h^3*rho*cos(alpha(t))*diff(beta(t),t)*diff(psi(t),t)*cos(phi(t))*cos(theta(t))*Pi+1/12*R^2*h^3*rho*sin(alpha(t))^2*cos(beta(t))^2*diff(gamma(t),t)*cos(gamma(t))*diff(phi(t),t)*Pi-1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(gamma(t),t)*sin(alpha(t))^2*diff(phi(t),t)*cos(gamma(t))-1/12*R^2*h^3*rho*cos(alpha(t))^2*cos(beta(t))^2*diff(gamma(t),t)*cos(gamma(t))*diff(phi(t),t)*Pi-1/4*R^4*h*rho*sin(gamma(t))*sin(alpha(t))*diff(beta(t),t)*diff(theta(t),t)*cos(phi(t))*Pi+1/4*R^4*h*rho*sin(alpha(t))*diff(beta(t),t)*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi-1/4*R^4*h*rho*cos(alpha(t))*diff(beta(t),t)*diff(psi(t),t)*cos(phi(t))*cos(theta(t))*Pi+1/12*R^2*h^3*rho*sin(alpha(t))*diff(beta(t),t)*cos(gamma(t))*diff(psi(t),t)*sin(theta(t))*Pi+1/4*R^4*h*rho*Pi*cos(beta(t))^2*diff(diff(psi(t),t),t)*sin(phi(t))*cos(theta(t))*cos(gamma(t))-1/3*R^2*h^3*rho*cos(alpha(t))*cos(beta(t))^2*diff(psi(t),t)*diff(theta(t),t)*cos(phi(t))*cos(theta(t))*sin(phi(t))*Pi*sin(alpha(t))+1/4*R^4*h*rho*sin(beta(t))*Pi*sin(gamma(t))*cos(beta(t))*cos(alpha(t))*diff(psi(t),t)^2*cos(phi(t))^2*cos(theta(t))^2*cos(gamma(t))-1/4*R^4*h*rho*sin(beta(t))*Pi*cos(beta(t))*diff(psi(t),t)^2*sin(phi(t))*cos(phi(t))*sin(alpha(t))*cos(theta(t))^2*cos(gamma(t))+1/6*R^2*h^3*rho*cos(beta(t))*cos(alpha(t))*sin(beta(t))*cos(gamma(t))^2*diff(psi(t),t)^2*sin(theta(t))*cos(theta(t))*sin(phi(t))*Pi+R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*diff(psi(t),t)*sin(phi(t))*cos(phi(t))*cos(alpha(t))*cos(theta(t))*sin(alpha(t))+1/6*R^2*h^3*rho*Pi*sin(gamma(t))*cos(beta(t))^2*sin(theta(t))*diff(psi(t),t)^2*sin(phi(t))*cos(alpha(t))*cos(theta(t))*cos(gamma(t))*sin(alpha(t))-1/2*R^4*h*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*diff(psi(t),t)*sin(phi(t))*cos(phi(t))*cos(alpha(t))*cos(theta(t))*cos(gamma(t))^2*sin(alpha(t))-1/2*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))^2*sin(theta(t))*diff(psi(t),t)^2*sin(phi(t))*cos(alpha(t))*cos(theta(t))*cos(gamma(t))*sin(alpha(t))-1/2*R^4*h*rho*Pi*sin(gamma(t))*cos(beta(t))^2*diff(psi(t),t)*sin(phi(t))*diff(phi(t),t)*cos(alpha(t))*cos(theta(t))*cos(gamma(t))*sin(alpha(t))+1/2*R^4*h*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*sin(theta(t))*diff(psi(t),t)*cos(phi(t))*cos(alpha(t))*cos(gamma(t))*sin(alpha(t))-1/6*R^2*h^3*rho*diff(theta(t),t)*Pi*sin(gamma(t))*cos(beta(t))^2*sin(theta(t))*diff(psi(t),t)*cos(phi(t))*cos(alpha(t))*cos(gamma(t))*sin(alpha(t))+1/6*R^2*h^3*rho*Pi*sin(gamma(t))*cos(beta(t))^2*diff(psi(t),t)*sin(phi(t))*diff(phi(t),t)*cos(alpha(t))*cos(theta(t))*cos(gamma(t))*sin(alpha(t))+1/6*R^2*h^3*rho*diff(theta(t),t)*Pi*cos(beta(t))^2*diff(psi(t),t)*sin(phi(t))*cos(phi(t))*cos(alpha(t))*cos(theta(t))*cos(gamma(t))^2*sin(alpha(t)) = 0"

## Export to LaTeX...

I'm trying to export a worksheet to Latex. I'm able to exprot it. But the long equations are not broken into multiple lines. I have used Mathlinebreaking width 5.0 inch in the export option. But it still does not work. I can see the linebreaking command (\\) in the tex file. But when I compile my latex code the pdf does not have any linebreak. The equation just overflows. Any help will be appreciated.

## How to make underline shorter?...

Hello,

How to make the length of underline shorter in latex ?

For example in this environment :

$\underline{\mathcal{G}}$

Thank you,

Gérard.

## How to change underline in LaTeX?...

Hello,

How to change the length underline in latex ?

For example in this environment :

$\underline{\mathcal{G}}$

Thank you,

Gérard.

## How to insert Maple mathematical expression to Mic...

I used to convert the expression to latex code and copy the code to MathType, the insert the expression.

Is there any easier way?

I want the expression I inserted is modifiable, so copy from Maple and paste to Word is not what I want.