# Questions tagged [output-formatting]

Specify and control how Mathematica formats its output, including rich text, equations and graphics.

1,381 questions
Filter by
Sorted by
Tagged with
309 views

### How to make a polynomial so that f(i) = 1/(2^i)?

I know that, sequence has formula $f(n) = \dfrac{1}{2^n}$ satifying the conditions $f(1)=\dfrac{1}{2}$, $f(2)=\dfrac{1}{4}$, $f(3)=\dfrac{1}{8}$, $f(4)=\dfrac{1}{16}$. Now I am trying to find a ...
54 views

### How to use Format in TeXForm keeping expression as shown in Format?

I have expression expr = int[1 - x + x^2 - x^3 + x^4 - x^5, x] and I want to convert it to Latex. But want to replace int by <...
40 views

1 vote
49 views

### Filling a specified area of a Plot`

I have a very simple Plot: Plot[{n, 5*n^(1/2), 4.27517*n^0.49047}, {n, 1, 50}] I want to fill the areas where the two' ...
214 views

### How can I get scheme product of two polynomials like this?

I use LaTeX by hand to make this table With Mathematica, I get the answer dirrectly Expand[(x^2 + x - 1) (2 x^2 - 7 x + 9)] -9 + 16 x - 5 x^3 + 2 x^4 or my code ...
1 vote
44 views

### How do I format output in Mathematica to recognize variables are between zero and one?

I frequently work with variables that are between zero and one. For example, if r is a depreciation rate: Factor[k-r*k] gives: ...
144 views

### Keep Log10[] in result

I want to work using Log10[...] yet it keeps reformatting to Log[...]/Log. This simple example can be avoided by using ...
32 views

### Print into different cell groups inside module

I have a function with the following (simplified) structure: ...
68 views

### How to shorten the output of an Association

I'm writing a function that steps through a parameter and returns the outputs of NDSolve to make crude bifurcation diagrams. It seems like an ...
87 views

### On displaying association, including all items in a nice way?

Currently I use Dataset to display an association in a nice to see way on the screen. However, only top level items are shown this way. And have to click on each ...
87 views

### Is there a way to make Mathematica support Chemmacros of LaTeX?

On Mathematica 13 or later version, the ChemicalFormula and ChemicalReaction functions helpe a lot to deal with chemical formula ...
1 vote
27 views

### Is there an easy way to standardize quadratic irrationals formatting?

FromContinuedFraction returns quadratic irrationals when the continued fraction is periodic. Examples: In:=FromContinuedFraction[{0, 3, {2, 6}}] Out:=1/(2 Sqrt) In:=FromContinuedFraction[{0, 2, {5, ...
94 views

### Is there a way to make WolframScript give outputs as a single line?

When the output of a calculation includes exponents or fractions, WolframScript is writing them out on separate lines (exponents one line above, then a line with the rest of the numerator, then a line ...
41 views

### Table with an angle | rotate the co-ordintae

I have the following, Flatten[MapAt[Reverse, 2]@ Table[{i, j}, {i, 0, 10, 10}, {j, 0, 90, 90}], 1] that gives, ...
36 views

### saving output and ListPlot the output:

Let's say I have x = 1; y = 2; d = x^2 + y^5 ; and x = 5; y = 3; d = x^2 + y^5 ; and ...
58 views

### How to print all output in FullForm

How do I set all output to be printed/shown in FullForm. Setting the FormatType of the stream as in e.g. https://mathematica....
1 vote
180 views

### Generating a table of squares and square roots up to 100

I want to generate a table of roots and perfect squares similar to the image, but I can't find the right code, I have searched the forum for something that works for me without favorable results. Can ...
1 vote
111 views

### Why does Mathematica produce answers involving multiplication by 1?

I have an answer involving multiplication by 1., like -1. Subscript[c, 1] ... produced by ...
39 views

### Is it possible to make your own output format that uses the "Data not in notebook. Store now" mechanism?

Several functions in WL have a custom elided typesetting form that does not automatically embed large amounts of data into the notebook but presents you with the option to do so if you wish. ...
1 vote
86 views

### SummaryBox and Recursion

How can I make it so that what is under the dropdown block is not calculated/constructed at once? Example code: ...
1 vote
52 views

### Mathematica truncates output from an external python session

I am running an external python session in Mathematica via ExternalEvaluate. It sends commands to the Bloomberg API in command prompt on Microsoft Windows. I start ...
49 views

### How to make Mathematica give the output differently?

When you compute the Fourier transform FourierTransform[Sqrt[2/π] 1/(1 + λ^2), λ, p] Mathematica gives the output E^-Abs[p] ...
80 views

### How to use this result of this function with the # symbol? [closed]

I typed in the following expression to yield the roots of a quaternionic quadratic equation, since the entire argument concerns only the real part: g=(n^2)*cot^2(t)-(1/(4n^2))(h^2tan^2(t)+sin^2(t)), ...
104 views

### TeXForm on table, how to make empty cells?

I have the code: l = {{1, 2, 3}, {1, 2, 3}}; l = Append[l, PadLeft[{1}, 3, Null]]; TeXForm[TableForm[l]] Returns ...
28 views

### FontSize of fraction after TableForm is small [duplicate]

FontSize of fraction after applying TableForm is small. ...
1 vote