a Computer Algebra System (CAS) used for symbolic manipulation, graphing, and many more mathematical/scientific tasks. There is a SE site dedicated to it at mathematica.stackexchange.com.

learn more… | top users | synonyms

0
votes
0answers
33 views

Binom/frac the way I need them

I have been trying to get this equation to work in my Latex file for over an hour now and I wasn't able to get it to look the same way. Can anyone help me and let me know what the correct commands ...
0
votes
0answers
22 views

Importing Mathematica code in TexShop

I am using TEXShop on my Mac and I need to import some Mathematica input and output to TEXShop. I did some research on the internet where I found some useful tools that could help but I did not find ...
2
votes
0answers
89 views

Smooth Contour Plots in PGFPlots

I am trying to use gnuplot within pgfplots to draw contour plots for a data file. The contour curves are unfortunately not smooth enough, and the additional limitation is the size of the data file (a ...
2
votes
1answer
76 views

Plot a data/Table from Mathematica using `pgfplots`

I use data1 = Table[] in Mathematica 9 (M9) to generate a table of values. The thing is that when I read the data file, there's only one column! How can I plot this data file in LaTeX using pgfplots? ...
2
votes
3answers
91 views

LaTeX and Mathematica plot with same font/style

I know there are a couple of questions with answers to this but none of them seems to work for me so I ask here. Some basic facts: I have 1. Mac OSX 2. Very limited knowledge in Terminal (so things ...
4
votes
0answers
119 views

PGF Contour Plot with complicated (nested) functions

I have succeeded in making a simple contour plot by using the function \newcommand\expr[2]{ (-#2^4+#2^2)*e^-(#2^2+#1^2) + (cos((-#1/1.85*pi-0.45) r)/2.0-#1/3.0)/1.5 } MWE: \documentclass{report} ...
0
votes
0answers
78 views

LaTeX rasterizes Mathematica 10 PDF figures when PDF document is printed, but not Mathematica 9 figures

Not sure whether to post here or on Mathematica SE (or somewhere else), but I'll give it a go here first. I recently updated to Mathematica 10 and then discovered that when I printed a LaTex ...
0
votes
0answers
54 views

Plugging a Mathematica code into a given template (before winter comes)

I have the following code sample, \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{listings,xcolor} \lstset{language=Mathematica} \lstset{basicstyle={\sffamily\footnotesize}, ...
2
votes
1answer
202 views

TikZ \filldraw command acting strange

I am attempting to plot a region in TikZ using data exported from a Mathematica RegionPlot. But the TikZ \filldraw command is giving me a strange-looking output. The problem with the generated TikZ ...
1
vote
1answer
102 views

What is the most precise way of including a Mathematica code in a LaTeX document?

I have tried to insert my Mathematica notebook into LaTeX by converting it as a PDF file and then using \includepdf[pages=1-4]{blablabla.pdf}. However, there are now two problems I faced: This code ...
0
votes
1answer
154 views

plot not showing legend when used in Miktex

A have density plot in Mathematica as ShowLegend[ DensityPlot[Sin[x y], {x, 0, \[Pi]}, {y, 0, \[Pi]}, Mesh -> False, PlotPoints -> 30], {ColorData["LakeColors"][1 - #1] &, 10, " 1", ...
4
votes
1answer
297 views

Tikz surface plot

Does anyone know how to replicate this Mathematica plot in tikz? (If possible: I'd like to use "pattern=crosshatched dots" to fill in the shaded region.) Below is the Mathematica code: ...
3
votes
2answers
234 views

Labeling in Mathematica to match the font size same as in LaTeX

I have some plot Plot[a, {a, -6, 6}] I need to use it in Latex. However the problem is that labeling text style in Mathematica does not match with LaTeX text. So what I do, I copy the figure ...
2
votes
1answer
507 views

Installing Mathematica Fonts in MikTeX

I would like to use Mathematica fonts with pdfLaTex in Miktex, but I'm having trouble installing them. I have only found guides as to how to install them in TexLive and I don't know how to alter the ...
2
votes
2answers
720 views

using mathematica plots in LaTeX

I would like to use plots created with Mathematica inside my LaTeX environment. Is it possible to plot the Mathematica code completely inside the LaTeX environment? If it is not possible, does anyone ...
1
vote
1answer
47 views

How to make the pdf file that inserted stayed the position I give?

I'd like to typeset the Mathematica code.My solution is Select it (by clicking on the right square bracket ]). Then, following the menu's File>Save Selection As... and saving as a PDF ...
0
votes
0answers
51 views

A problem about typesetting Mathematica code [duplicate]

I want to typesetting the words as below: My code: \documentclass[b5paper,UTF8]{article} \usepackage{graphicx} \usepackage{geometry} \usepackage{fancyhdr} ...
0
votes
0answers
225 views

Wolfram Mathematica Functions in Lyx

Can I use all functions of mathematica in Lyx? I want to use functions like Solve[]
1
vote
0answers
134 views

Hide the LaTeX output after importing PDF files generated by mathematica version 10

\documentclass[10pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{makeidx} \usepackage{graphicx} \begin{document} ...
2
votes
1answer
121 views

How to only have similar font in latex to that of a Mathematica codes

After I used the answer posted to this question of mine: How to show similar display of codes of different programming languages in LaTeX, it seems that the package and styles I use have problems with ...
5
votes
5answers
396 views

How to plot a complicated multi-variable function in a tex document automatically, not just importing an image

I have the following Tex functions and I want to plot them in my tex thesis, but I don't know how. I mean, I want the Tex to draw the function, not just to include an external image to it. ...
13
votes
1answer
1k views

How to show similar display of codes of different programming languages in LaTeX

I am very new to LaTeX and I am writing my thesis. In a chapter, I want to show my codes, which are in Mathematica. I use the listings package as follows: \documentclass{article} ...
0
votes
0answers
49 views

Shaded environment using WinEdt

I am currently using WinEdt 5.5 on a Win7 machine. I am using the shaded option to highlight a block of Mathematica code: \documentclass[a4paper,11pt,twoside,english]{book} \usepackage{xcolor} ...
18
votes
2answers
2k views

Mathematica notebook into latex document

Whereas Mathematica allows us to dump an entire notebook into a readable LaTeX file. However, the formatting of that file is not optimal. There are many posts on how to "beautify" a single ...
1
vote
1answer
1k views

Mathematica logo in LaTeX?

Is there any command for inserting the Mathematica logo, in the same way Matlab's can be inserted with \Matlab?
0
votes
0answers
75 views

vectorized pdf in latex : i can't see the letters/numbers [closed]

Here is a screenshot when I compile my latex file with a pdf graphic from Mathematica : Symbol or sign are ok but i can't see any letter or number, why?
5
votes
2answers
468 views

Prettying up this equation from Mathematica

I like to type in 2d maths into Mathematica and then generate latex code for it. It has been working fine so far until I attempted this expression: TeXForm[HoldForm[ S (k*L) = (4*l + 1)/ 2 ...
1
vote
0answers
230 views

how to generate Mathematica code into more-appealing LaTeX code?

Subscript[R, c] (Subscript[m, d] (g+Overscript[y, ¨]) sin(Subscript[\[Alpha], c]+Subscript[\[Theta], 1])+Subscript[k, d] cos(Subscript[\[Alpha], c]+Subscript[\[Theta], 1]) (Subscript[d, c] ...
5
votes
2answers
537 views

Why does my Mathematica figure not work with PSFrag?

I created an image in Mathematica with some labels that, for some reason, refuse to be substituted when using PSFrag. Specifically, the Mathematica code image = Plot[Sin[x], {x, 0, 2 π}, ...
9
votes
5answers
1k views

Mathematica equations to LaTeX but equation is too long, how to split it?

I am new user of LaTeX. I have a problem of splitting long equation which I generate by Mathematica. I tried to use \\, multiline, and split commands but it gives error. Is there way to export ...
4
votes
2answers
281 views

PDF's not working in LATEX

I was not sure if I should ask this on Mathematica or LATEX or here. I am very new to LATEX and using \includegraphics to put images into my paper. I am using plots generated in Mathematica as PDF's. ...
1
vote
1answer
987 views

How can I include an interactive CDF in a LaTeX document?

A CDF is an interative format of Mathematica 9. You must have cdf-player installed. How can I include an interactive CDF in a LaTeX document?
4
votes
2answers
685 views

Strange lack of scaling/resizing of an embedded swf-animation

I am a noob in adding animations. I'm making progress, but new problems apparently show up all the time. Hardly a surprise actually. Anyway. System: WinEdt 7.0, MikTeX 2.9, Windows 7 ...
7
votes
0answers
134 views

How to create vertical Bullet Graphs with PSTricks? [duplicate]

I was looking for a package to create bullet gauge graphs, but I couldn't find any. A good person in this forum show me how he would make it in TikZ, with a little options. I was waiting any moths ...
2
votes
0answers
306 views

Automatically generated plots with Mathematica

I am currently using Mathematica to generate several plots later included in a LaTeX document. The process of exporting each of the graphs to eps/pdf and including these in the document is quite ...
6
votes
1answer
275 views

Mathematica code in LaTeX document

Consider the following example: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{mathtools} \usepackage{xcolor} \newcommand*\variable[1]{\textcolor{teal}{\texttt{#1}}} \begin{document} ...
5
votes
1answer
353 views

Mathematical symbols as keywords in listing

Is it possible to use mathematical symbols as keywords in listing? I'm using listings package to typeset Mathematica code and I have used emph parameter of lstset to use blue bold font for some of my ...
4
votes
0answers
426 views

Creating plots in Latex - easy to learn? [closed]

I am currently working on my summer project for which I created the following plot with Mathematica: Now I am not 100% satisfied with the results and one of my professors recommended PGF and TikZ. ...
4
votes
2answers
163 views

\(\(f(x)\)\) double \('s problem

Here is one problem I encountered with in Converting Mathematica Notebook to TeX: http://mathematica.stackexchange.com/questions/25928/save-as-tex-fx-double-s-problem And I got some double \('s ...
0
votes
1answer
10k views

LaTeX symbol formatting

\int_{\mathbb R^D} \Delta S \cdot S \, dx = -\int_{\mathbb R^D} \nabla S\cdot \nabla S\, dx = \mean{(\nabla S)^2} I want to write average symbol on $(\nabla S)^2$ but it is not workig. How can ...
18
votes
3answers
9k views

How to plot a surface from a set of data?

Disclaimer: I already read questions like 2D surface on a 3D surface plot external data in a file and 3D surface plots in TikZ but these did not solve my problem. I have this set of data: x y ...
2
votes
1answer
311 views

dvipng error when using htlatex on eps file. includegraphics Unrecoverable error 36096

I am hoping someone here can give me a hint about this error. I am not really sure this is latex problem, but part of the software that I am using to process the latex document. The setup is very ...
5
votes
1answer
235 views

How to align this long equation which out put from Mathematica

I use Mathematica, and use the command TeXForm from Mathematica, I get \{\{x\to -19,y\to 4,z\to 11,t\to -14,m\to 11,n\to 19\},\{x\to -19,y\to 4,z\to 11,t\to 19,m\to 11,n\to ...
10
votes
3answers
929 views

Drawing spherical harmonics with pst-3dplot

For my lecture notes in theoretical physics (namely quantum mechanics) I'm trying to visualize the spherical harmonics. I got Mathematica to plot them an this is what I did: ...
27
votes
4answers
10k views

Fanciest way to include Mathematica code in LaTeX

I am trying to include a Mathematica code in LaTeX. To obtain the Mathematica code I just exported notebook as PDF. I didn't like the way it was included in my TEX code so I just thought of adding a ...
4
votes
2answers
129 views

Figure from Mathematica is printed on separate page

I am trying to include a Mathematica code in LaTeX. To do that, I just exported the code as PDF. The thing is that when I am trying to include the PDF figure in my TeX code, the figure is printed on ...
5
votes
1answer
865 views

LaTeX: Syntax highlighting for Maple, Mathematica, Sage

I'm typing up a short comparison of Maple, Mathematica, and Sage in LaTeX. My problem is this: I'd like to include highlighted source code in one column (left) and output in another (right). I ...
0
votes
2answers
537 views

Formatting LaTeX-dump from Mathematica equations for A4-paper without manual adjusting?

I asked this question here in Mathematica.SE but they encouraged to ask also on this site. How can make this writing process easier from Mathematica to LaTeX? Please, note that I have a lot of ...
0
votes
1answer
327 views

TeX Syntax In Mathematica [closed]

Why cant I write Tex syntax directly in Mathematica however, I can paste it in from another editor and it is converted to pretty syntax?
17
votes
2answers
3k views

convert Mathematica LaTeX to regular LaTeX

I often want to copy formulas from Mathematica into a LaTeX document. Mathematica has a “copy as LaTeX” function, but it gives me not really the results that I want: \text{Cos}[x]+\text{Sin}[x] I ...