# Questions tagged [output-formatting]

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

1,174 questions
Filter by
Sorted by
Tagged with
57 views

### Make Mathematica not to evaluate an integral?

I want the output to contain an integral, while everything under the integral sign evaluated. How can I prevent the system from evaluating the integral?
87 views

### How can I remove the negative sign to make sure the positive-signed term comes first?

I found the default dealing of the terms often display a negative sign at the beginning, including those beneath a square-root sign , which is a little bit annoying since for most cases, there exists ...
44 views

### How can I convert the inverse hyperbolic function I defined and built-in inverse trig functions to TeXForm the way I prefer?

In Mathematica,the inverse hyperbolic functions are displayed with the prefix "Arc" like "ArcSinh[]", which I thought incorrect and misleading. Since the hyperbolic angle is ...
53 views

### How to sort arguments in descending order in an orderless function

If I define an operator to be orderless SetAttributes[CirclePlus,Orderless] It puts the arguments into canonical sorting, i.e. ...
38 views

### How to map the outputs to different output lines?

I have the following code GraphIt[n, n2, IR, #] &/@ vanishpts where the function GraphIt print something, and returns a graph. I don't want my outputs to be ...
143 views

### Strings are constants? (Kind of output hack to circumvent that needed)

I have an "internal" notation (since some stuff is equivalent and can be manipulated via patterned expressions in the function F), say ...
66 views

### How to combine lists with plus minus signs?

I have two lists of Mathematica expressions, ...
25 views

### Output expressions with numerical coefficients and text separated

I have a Mathematica expression, t1 = (-10*wr20)/(7*Sqrt[3]) + (8*Sqrt[15]*wr40)/77 - (7*Sqrt[5/39]*wr60)/11; where some w terms are in the numerator, some are not....
50 views

### Change the default output form in mathematica 12

Is there a simple way I can change the default output form in Mathematica 12? In Mathematica 11, this option was simply in the "preference", but I can't find it anywhere in Mathematica 12.
36 views

### Print a string in TraditionalForm

I'd like to print all in TraditionalForm "f(z)=(z+1)/(z-1)" where f is a function defined in the usual way. What I obtain in Output for f(z) and (z+1)/(z-1) is not the TraditionalForm. What ...
200 views

### Is there an easy way to copy a TableForm column and convert it into a vector?

Is there an easy way to take a column output from a TableForm command, like this: ...
28 views

### Placement of PlotLabels in ComplexListPlot[]

In this example, would like the label $\gamma_a$ to appear below the line segment. ...
69 views

### How to force Mathematica throwing an error box intentionally?

When building a Module function, I try to throw an error box when this function facing some cases. But I don't know how to output this error box with ground methods. This picture is the Mma error bar ...
222 views

### How to export expression in mathematica to python [closed]

I have an expression in Mathematica; I want to convert this expression into python readable format. how to do this? ...
80 views

### How to change the form of fraction

One of my output result is (2 Sqrt[2/5])/3 Is there any method to let it become Sqrt[8/45] Thank you very much!
84 views

### Creating a table and exporting to LATEX

I have two functions as numeric[x, t] and exact[x, t]. I want to create a table including 5 columns as follows (table formatting doesn't matter) and to export it to LATEX: I use ...
34 views

### \ell with argument in legend

I want to have as a Legend in a figure. But don't get further than
63 views

### How can I simplify the output of the Reduce to a more compact form?

Below is the code. ...
54 views

### Extract subscript of variable in product

My input is a product of the variable x with index: x[1]^2 x[5] x[7] How do I extract the indices of the above product to get ...
44 views

### Replacing the print display in a for loop

I am running a For loop as follows: table = {}; For[n = 0, n < 10, n++, {table = Append[table, n], Print[table]}] I was wondering if there was a convenient way ...