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
0 answers
24 views

Customize copy-text for box

Motivation My end goal is to include more Mathematica expressions in LaTeX-pdfs that are copy-paste-able back into Mathematica notebooks. For instance, the code \usepackage{mmacells} ... \begin{...
user avatar
  • 101
5 votes
1 answer
158 views

How to convert this Mathematica code to pgfplot?

I have a Mathematica code which I would like to convert into pgfplot only to obtain the contours so that I can use the 'TikZ' version with other drawings made using TikZ. I actually am not familiar ...
user avatar
  • 1,177
1 vote
0 answers
60 views

Mathematica code to Latex

I want to export my Mathematica code to Latex, so I saved the mathematica notebook as LaTeX document. Copying this latex code to overleaf, I get the attention message "\hbox too wide" and ...
user avatar
  • 11
15 votes
6 answers
1k views

Parse WolframAlpha's matrices into LaTeX

I sort of have the same issue as this question, but the reverse. It is often the case that I need to write out a matrix in LaTeX, one resulting from a computation of some sort. Of course, the ...
user avatar
1 vote
0 answers
56 views

What's the best figure format when export plots from Mathematica to TeX

What is the best(or recommended) figure format when export plots from Mathematica to Tex? *.eps or *.jpg ? Thanks in advance.
user avatar
1 vote
1 answer
168 views

Understanding Bézier Curves in Asymptote

I am trying to correct Mathics' ability to draw Bézier curves properly in Asymptote, and I have a hard time understanding how to translate Mathematica's Specification into Asymptote. I haven't found ...
user avatar
  • 165
0 votes
1 answer
93 views

How to use a Mathematica plot saved as a pdf in TexMaker?

How to use a Mathematica plot saved as a pdf in TexMaker? When I use: \includegraphics[width=0.4\textwidth, angle=0]{Graphs.pdf} EDIT: The image is really small, how do I fix that? This is what I ...
user avatar
  • 523
3 votes
1 answer
226 views

How to use a Mathematica plot in LaTex as a figure?

How can I insert this Mathematica plot in LaTex as a figure? MWE: \documentclass[12pt, a4paper]{report} \usepackage{amsfonts, graphicx, verbatim, mathtools,amssymb, amsthm, mathrsfs} \usepackage{...
user avatar
  • 523
1 vote
0 answers
79 views

Need an alternative for \usepackage[none]hyphenat

I have a problem. When i want to use hyphenat package, the breaklines=true on mmacells package will not working. But it will work if i delete the hyphenat package. And i don't want to delete my ...
user avatar
2 votes
2 answers
536 views

Package latexalpha2 Error: WolframScript cannot be found, which is required to use latexalpha2

Although wolframscript is fully working on the command prompt of Windows 10, the package latexalpha2 gives this error Package latexalpha2 Error: WolframScript cannot be found, which is required to ...
user avatar
  • 8,759
1 vote
0 answers
87 views

Single word color in mathematica [closed]

When we give color to a word in latext, e.g., if we need red color to a word "Moon", we write \textcolor{red}{Moon}. How we can do same in a mathematica when we are writing text inside a ...
user avatar
  • 11
1 vote
1 answer
53 views

How to make at operator while listing program?

When I am inserting mathematica codes with the package listing, I find that it recognize at as a letter rather than an operator. This comes into a result that, for example when typing N@Table[10,5], ...
user avatar
  • 55
1 vote
0 answers
23 views

How to put wolfram notebook to pdf? [duplicate]

I am reading a book, written in Latex, and I saw a button, on which I can click and immediately I have a Wolfram notebook opened: I want to do such cool buttons too, can anyone tell me, how to add it?
user avatar
3 votes
1 answer
93 views

wish to replicate a symbol seen in an equation

i have a image and i want to write equation from the image how i can write g in equation ? at first i write g_{vix}\left ( s \right ) but g is not like g on the image
user avatar
0 votes
1 answer
116 views

Search for the symbol of Napier's number (e) used into wolframalpha

I've been searching since a few days the symbol of Napier's number (e). It is a symbol of and with a cut on the inside similary to the double struck commands (\mathbb). I vaguely remember that there ...
user avatar
  • 46.2k
21 votes
6 answers
2k views

Truncation of Napier’s number (e) to an amount of decimal digits of my choice

My students are always very happy when I write a number of decimal digits of the transcendental Napier's number e. I only remember 30 decimal digits as from example. I remind all readers that I'm not ...
user avatar
  • 46.2k
0 votes
1 answer
80 views

Matrix is not completely fitted in the PDF generated from LaTex

I have the following LaTex code for a 10x10 matrix (which I have imported from Mathematica), "$$\begin{bmatrix*}[r] -2 (\text{$\beta $111} +\text{$\beta $224} x^2 & 0 & 2 \text{$\alpha $...
user avatar
  • 1
0 votes
1 answer
72 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 + ...
user avatar
2 votes
3 answers
214 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 +...
user avatar
4 votes
1 answer
369 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 ...
user avatar
1 vote
0 answers
136 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 ...
user avatar
  • 625
2 votes
1 answer
368 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, ...
user avatar
  • 625
2 votes
0 answers
152 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. ...
user avatar
  • 193
2 votes
1 answer
164 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 ...
user avatar
  • 1,004
4 votes
2 answers
1k 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 \...
user avatar
2 votes
1 answer
254 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 ...
user avatar
  • 367
8 votes
2 answers
2k 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 ...
user avatar
  • 2,251
0 votes
0 answers
190 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. \...
user avatar
6 votes
2 answers
588 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} \...
user avatar
  • 1,621
1 vote
0 answers
496 views

Including Mathematica EPS Plot into Latex [closed]

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 ...
user avatar
  • 209
8 votes
1 answer
754 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{...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 33
4 votes
0 answers
817 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 ...
user avatar
  • 141
3 votes
0 answers
428 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 ...
user avatar
3 votes
2 answers
145 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 ...
user avatar
5 votes
1 answer
2k 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 ...
user avatar
4 votes
2 answers
3k 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 ...
user avatar
  • 143
0 votes
1 answer
371 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 ...
user avatar
  • 421
0 votes
0 answers
32 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{...
user avatar
0 votes
1 answer
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 (\...
user avatar
1 vote
1 answer
367 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 ...
user avatar
2 votes
1 answer
132 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 ...
user avatar
  • 123
2 votes
0 answers
2k 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 ...
user avatar
  • 151
1 vote
1 answer
1k views

Exporting graphs from Mathematica to LaTex document?

Matlab has Matlab2Tikz while open for Mathematica2Tikz, more here. How can I export graphs such as Harary graphs from Mathematica to LaTex? Example graph generated in Mathematica without finding ...
user avatar
  • 8,063
3 votes
1 answer
685 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? ...
user avatar
4 votes
3 answers
929 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 ...
user avatar
5 votes
1 answer
552 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} \...
user avatar
  • 230
0 votes
0 answers
113 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 ...
user avatar
  • 101
2 votes
1 answer
437 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 ...
user avatar
1 vote
1 answer
407 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 ...
user avatar
  • 265