Questions tagged [wolfram-mathematica]

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.

Filter by
Sorted by
Tagged with
0
votes
1answer
53 views

What is the operation in mathematical do this order? [closed]

I have long rational equation. How I can make one denominator by mathematical \begin{eqnarray*} f^{\prime \prime}(x)=\frac{4(3x^2+2x+1)}{(2x+1)(2x+1)^2}+\frac{2735 (547 + 5443200 x^5)}{(547 x + ...
2
votes
3answers
102 views

Plotting a function defined by equation without closed form solution

I'm trying to have the a silimiar plot to the one Wolfram Alpha provides me here to the equation $24.6347 \left(246.347 x + \sqrt{(246.347 x + 20)^2 + 1} + 20\right)^{-a} =\ 30.2879 \left(-33.6532 x +...
3
votes
1answer
71 views

Link to Open local Mathematica file in Latex

I know that one can use href or url to create links to open webpages, is there a way to insert a link to open a notebook file (mathematica?) i have it in the local folder but I cannot seem to get it ...
0
votes
0answers
46 views

Mathematica code for Beamer in LaTeX

I am trying to include a Mathematica code in Beamer. I tried lstlisting and verbatim environments but I am not satisfied with the outcome. A fancy way to include Mathematica code in LaTeX has been ...
2
votes
1answer
108 views

Tikz picture of two mathematical functions

I'm trying to draw the functions y=(0.05*0.4+0.1*2*x)/(0.05+0.1*2) and x=-0.1/(2*10*(y - 0.1))+y, by using tikz as follows \begin{tikzpicture} \begin{axis}[xmin=0,xmax=1,ymin=0,ymax=1, samples=1000, ...
1
vote
0answers
67 views

Using PGFPlots to plot Mathematica Interpolated Function

I use a number crunching application that generates coordinate and function value data that I import into Mathematica. Using this raw data I create an Interpolated Function of coordinates x and y. ...
2
votes
1answer
156 views

Same shading for the patches in the same plane (2)

I am trying to plot and shade a 3D figure using patch table with point meta as in question "Same shading for the patches in the same plane", but I am obtaining triangles in the same plane but with a ...
4
votes
2answers
825 views

Exporting Mathematica table to LaTeX

I have generated a code for a table using Mathematica using TeX as output. The code did not get compile. Kindly guide me. %% AMS-LaTeX Created by Wolfram Mathematica 7.0 : www.wolfram.com \...
2
votes
1answer
152 views

How to achieve this two column style?

I’d like to add some code examples in two column form. The left is a description and the right is the REPL input code and output. Here’s an example of what I’d like to achieve: Are there well known ...
8
votes
2answers
1k views

Are there any tools that convert Mathematica code into LaTeX code?

My roommate knows Mathematica. He draw 3-d graph for each term of (a+b)^3 = a^3 + 3a^2b + 3ab^2 + b^3. He doesn't know LaTeX. I want to write his thesis document in LaTeX. So, If there is a tool that ...
0
votes
0answers
117 views

Missing parts of graphics on LyX

I am exporting some images from Mathematica 11 as EPS images and use them on LyX. Here is an example. It should be normally c(t,b). Here is the all code that I use for preambule of LateX. \...
6
votes
2answers
463 views

Import from Wolfram Mathematica: Purpose of \pmb and \noindent?

The code below was created from Mathematica software: %% AMS-LaTeX Created with the Wolfram Language : www.wolfram.com \documentclass{article} \usepackage{amsmath, amssymb, graphics, setspace} \...
0
votes
0answers
309 views

Including Mathematica EPS Plot into Latex

I made a plot in Mathematica of a unit circle. I then saved the Mathematica notebook as a .tex file and it generated a .tex file and an .eps file of the plot with the name "Unit Circle_gr1.eps". I'm ...
7
votes
1answer
365 views

How to paste a Mathematica formula to the latex(\unicode{} included)?

Recently, I'm learning how to use Mathematica, and I want to make some notes with LaTeX. I noticed that Mathematica have provide a function "TeXForm", but when dealing with this: the output is \text{...
1
vote
1answer
666 views

How to include Mathematica code in LaTeX/Beamer [duplicate]

I found the best (IMHO) way to include Mathematica code in LaTeX: Fanciest way to include Mathematica code in LaTeX (@jkuczm) To the test I put the TeX code from link above, but it doesn't work with ...
4
votes
0answers
570 views

Embed interactive 3d objects in a pdf

I have seen pdf files with interactive objects. For example, objects that you can rotate by using the mouse. I would like to know what such formats can be embedded into a pdf using latex, and how. I ...
1
vote
0answers
311 views

Mathematica fonts with MikTeX

I am trying to use the Mathematica fonts that the mathalfa package is said to support. But when I add \usepackage[cal=mma]{mathalfa} I get the following error: Sorry, but miktex-makemf did not ...
3
votes
2answers
107 views

Does TexShop include the exscale, lmodern, and pdf/standalone pkgs,& Ghostscript 9.15+?

I'm interested in installing MaTeX, a LaTeX typesetting package for Mathematica. The installation instructions say I need the following. Are they included with the latest TexShop distribution? A ...
5
votes
1answer
1k views

Plotting streams of vector fields

So I have the vector field ${x^2+2*x*y,y^2+2*x*y} and I would like to plot 'streams.' quiver from pgfplots does produce arrows (which I normalise) but I think that streams would make things easier to ...
3
votes
2answers
1k views

Convert a latex-terminology equation into a version suitable for wolfram alpha [closed]

I asked a combinatorics question on math stack exchange and received the following LaTeX-flavored answer. I have attempted to convert that equation into something that can be understood by wolfram ...
0
votes
1answer
281 views

Matlab-latex or latex-mathematica for matrices with symbolic elements and involving some calculus?

I'm working on some matrices involving symbolic expressions and calculus as well, should I start typing these matrices in Matlab and do the calculus and all the calculations in Matlab, and then use ...
0
votes
0answers
29 views

Can I incorporate a \unicode-based formula into TeXShop 3.64?

The Mathematica TeXForm command gives me \text{DifferenceRoot}[\{\unicode{f818},\unicode{f80d}\}\unicode{f4a1}\{(-15 \unicode{f80d}-42) \unicode{f818}(\unicode{f80d})-15 \unicode{f818}(\unicode{...
0
votes
1answer
2k views

(II) How to render a large TexForm expression from Mathematica

As a follow-up to my question of two days ago How to render readable a large TeXForm expression from Mathematica I'd like to also similarly incorporate the following two expressions: 1. \frac{2 (\...
1
vote
1answer
269 views

How to render readable a large TeXForm expression from Mathematica

I am using \documentclass[preprint,showpacs,preprintnumbers,amsmath,amssymb]{revtex4} \usepackage{amsmath} \newcommand\numberthis{\addtocounter{equation}{1}\tag{\theequation}} I'd like to know how ...
2
votes
1answer
97 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
1k 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
384 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? ...
3
votes
3answers
540 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 ...
5
votes
1answer
366 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
102 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 ...
2
votes
1answer
358 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
196 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
259 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
718 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: Show[(*...
2
votes
2answers
737 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 without ...
3
votes
1answer
1k 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
4k 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
60 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
54 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} \usepackage{...
1
vote
1answer
948 views

Wolfram Mathematica Functions in Lyx

When using LyX, how can I call Mathematica to input a mathematical expression, such as using Mathematica's Solve[] function, and return the result directly to LyX?
1
vote
1answer
292 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
749 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. y[\text{x$\...
13
votes
1answer
2k 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} \usepackage{...
20
votes
2answers
6k 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 ...
0
votes
1answer
3k 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?
6
votes
2answers
670 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 (...
2
votes
0answers
300 views

how to generate Mathematica code into more-appealing LaTeX code? [closed]

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] cos(...
4
votes
2answers
791 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 π}, PlotLabel-&...
8
votes
5answers
2k 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
366 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. ...