Skip to main content

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
2 votes
1 answer
78 views

How to enter curly brace "{" as text in LaTex [duplicate]

In Wolfram Mathematica a 2x2 matrix can be entered with: matrix1 = {{a, b}, {c, d}} I want to capture this Mathematica specific notation in an LaTex document using Overleaf (that I may print out for ...
Chris O's user avatar
  • 21
9 votes
4 answers
1k views

Small slanted blackboard math

I got use to Mathematica typesetting, where imaginary unity has a special symbol: I would like to use it in my memoir document. I am using LaXeTeX (xelatex). The following is in my preamble: \...
yarchik's user avatar
  • 364
1 vote
1 answer
45 views

undefined control sequence. \unicode{f80d} how to workaround it

This is Latex auto-generated by Mathematica. It fails to compile under lualatex in TL 2023. Is there a workaround to make it compile or is this is a bug in the generated Latex. First will show screen ...
Nasser's user avatar
  • 20.3k
0 votes
0 answers
45 views

How can I update new command of Mathematica?

This is my code \documentclass[12pt]{article} \usepackage{listings,xcolor} \ProvidesPackage{latexalpha2Win} \lstset{language=Mathematica} \lstset{basicstyle={\sffamily\footnotesize}, numbers=...
John Paul Peter's user avatar
0 votes
0 answers
42 views

How to automatically break fractions generated by Mathematica

I am looking for an automated way of presenting my Mathematica results in latex. My workflow at the moment is the following I use TeXForm[] Mathematica function to generate a latex code from my ...
Paweł Korzeb's user avatar
4 votes
5 answers
452 views

How can I convert the code from Mathematica to text and put it in enumerate like this?

I have a list from Mathematica {{{1, 1, 1}, {1, 1, 1}}, {{1, 1, 1}, {1, 1, 2}}, {{1, 1, 1}, {1, 2, 1}}, {{1, 1, 1}, {1, 2, 2}}, {{1, 1, 1}, {2, 1, 1}}, {{1, 1, 1}, {2, 1, 2}}, {{1, 1, 1}, {2, 2, 1}},...
John Paul Peter's user avatar
1 vote
0 answers
123 views

mmacell shows a quotation mark instead of Input[1]:

Please help me with the following question. I would like to add Mathematica code to my latex file. I tried with the package \usepackage{mmacells} and followed the instruction as in the answer here. ...
Minh Doan's user avatar
0 votes
0 answers
66 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{...
Adam's user avatar
  • 101
5 votes
1 answer
448 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 ...
SolidMark's user avatar
  • 1,419
1 vote
0 answers
477 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 ...
jooanny's user avatar
  • 11
16 votes
6 answers
2k 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 ...
PrincessEev's user avatar
1 vote
0 answers
272 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.
Chris Guo's user avatar
  • 133
1 vote
1 answer
345 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 ...
rocky's user avatar
  • 175
0 votes
1 answer
186 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 ...
Math's user avatar
  • 775
4 votes
1 answer
865 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{...
Math's user avatar
  • 775
1 vote
0 answers
553 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 ...
user516076's user avatar
2 votes
2 answers
1k 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 ...
Diaa's user avatar
  • 9,689
1 vote
0 answers
122 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 ...
Junaid's user avatar
  • 11
1 vote
1 answer
80 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], ...
CY Qian's user avatar
  • 117
1 vote
0 answers
26 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?
Хранитель Рощи's user avatar
3 votes
1 answer
108 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
Abolfazl Alz's user avatar
0 votes
1 answer
177 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 ...
Sebastiano's user avatar
  • 56.7k
20 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 ...
Sebastiano's user avatar
  • 56.7k
0 votes
1 answer
114 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 $...
Souvik's user avatar
  • 1
0 votes
1 answer
76 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 + ...
user193663's user avatar
2 votes
3 answers
267 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 +...
Paul Ostmann's user avatar
4 votes
1 answer
537 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 ...
elcharlosmaster's user avatar
1 vote
0 answers
190 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 ...
Mark's user avatar
  • 755
2 votes
1 answer
448 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, ...
Mark's user avatar
  • 755
2 votes
0 answers
187 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. ...
K7PEH's user avatar
  • 245
2 votes
1 answer
172 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 ...
user1993416's user avatar
  • 1,046
4 votes
2 answers
2k 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 \...
neutrino's user avatar
2 votes
1 answer
340 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 ...
M.R.'s user avatar
  • 367
9 votes
2 answers
4k 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 ...
alhelal's user avatar
  • 2,451
0 votes
0 answers
232 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. \...
optimal control's user avatar
6 votes
2 answers
626 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} \...
LCarvalho's user avatar
  • 1,611
8 votes
1 answer
906 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{...
liurui39660's user avatar
0 votes
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 ...
Rico's user avatar
  • 23
4 votes
1 answer
1k 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 ...
Pedro's user avatar
  • 141
3 votes
0 answers
502 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 ...
stack-delay's user avatar
3 votes
2 answers
179 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 ...
theorist's user avatar
7 votes
1 answer
3k 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 ...
user110503's 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
0 votes
1 answer
431 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 ...
AlFagera's user avatar
  • 451
0 votes
0 answers
35 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{...
Paul B. Slater's 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 (\...
Paul B. Slater's user avatar
1 vote
1 answer
409 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 ...
Paul B. Slater's user avatar
2 votes
1 answer
145 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 ...
Cavents's 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 ...
smike's 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 ...
hhh's user avatar
  • 8,783