Page 1 sur 1

Latex output problems

Publié : sam. mars 17, 2012 6:58 pm
par XcasEngGuy
Hello,
I am using xcas to generate and manipulate equations and I would like to include the results in latex document. I have two questions.

1. Is there a way to exclude the xcas commands in a printout?

2. Often two variables multiplied together are close together and read as one variable. Sometimes the output fromxcas puts a small dot between items that are multiplied together. Is there a way to make that happen all the time?

Thanks Matt

Re: Latex output problems

Publié : dim. mars 18, 2012 5:58 am
par alain974
XcasEngGuy a écrit :Is there a way to exclude the xcas commands in a printout?
I guess you would like to exclude the numbers in squares from the document, and do it automatically, am I right? Personally I do it "by hand" from inside the LaTeX editor. :?
XcasEngGuy a écrit :Often two variables multiplied together are close together and read as one variable.
Could you give us examples please? :?:

If you want something like 3 . x instead of 3x, why not go all the way and choose 3 \times x instead? Or are we the only ones in France to use this symbol? :roll:

Re: Latex output problems

Publié : dim. mars 18, 2012 7:44 am
par parisse
If you just need one answer translated to latex, then select it (with the mouse or click on the level then Ctrl-A), then Ctrl-T (T for tex, if you don't remember look at the Edit, selection->Latex menuitem), then do Ctrl-V in your latex editor.

Re: Latex output problems

Publié : dim. mars 18, 2012 9:58 pm
par XcasEngGuy
I mean:

multplying x*y*z

comes out as xyz in the latex file. It becomes more of a problem with variables that have more than single letter names.

try eq1:=z=2*x1*y4*3

I get: z=(2x1y4.3)

Matt

Re: Latex output problems

Publié : lun. mars 19, 2012 8:21 am
par parisse
I'm adding a \cdot between identifiers.

Re: Latex output problems

Publié : lun. mars 19, 2012 4:38 pm
par XcasEngGuy
Thank you