# Questions tagged [output-formatting]

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

1,095 questions
Filter by
Sorted by
Tagged with
28 views

### How do I separate the two solutions?

Consider the differential equation $$f''[x]==a f[x]$$ The result is a combination of trigonometric or hyperbolic functions, something like: ...
50 views

### Exporting string with newline and tab symbols to LaTeX

We have a string that has "tab" symbol between letters "B" and "C" and "newline" symbol between letters "C" and "D": Input: ...
83 views

### Force results to be displayed in a way often seen in traditional math [closed]

I want to get my output in the form that I would write by hand. I have tried with TraditionalForm, but it did not work. I've looked at several answers in this SE ...
32 views

### In warning messages, can multi-storey expressions be flattened?

I receive the following output in command line: ...
57 views

### Hiding the result of a calculation in an interactive panel until all the inputs are entered

I created a partial fraction calculator using the Mathematica command Apart. The image below displays the value 1 before the numerator and/or denominator are entered. How can the code be fixed so that ...
32 views

### Padding decimal output with ending zeros

I want to pad with ending zero and tried the following code ...
52 views

### How can I display an expression in unevaluated form?

How can I display an expression in unevaluated form? TraditionalForm[2*3^3 + 5^2] I´d like to obtain 2*3^3 + 5^2 displayed in traditional form without being ...
37 views

### Mathematica not computing Matrix problem, just returning multiplication expression [closed]

I'm doing some very simple matrix operations in Mathematica, but for some reason, the last operation I'm trying to evaluate is not returning the actual product, just shows the symbolic multiplication. ...
33 views

### How to change behavior of Echo or turn it off without removing it from code?

I wish to use Echo for output of intermediate results if an OptionValue I call ...
31 views

### How to get function to 'expand' while inactivating inner functions

This is sort of a two question problem: Question 1 So I have a function as follows f[x_] := x + 2; I want a way to have a statement such as: ...
96 views

### Colouring faces of a graph according to an overlap of edges

I have a basic graph such as the following; ...
90 views

### Stacked/Percentile Bar Chart formatting

There seem to be a lot of questions regarding the formatting of bar charts. Sadly, I couldn't find solutions to my problems, despite all the skimming. Apologies if I missed something. Problem ...
35 views

### Convert expression to LaTeX string

How do I convert a Mathematica expression to the equivalent TeXForm string as shown when applying TeXForm? For example: ...
48 views

### Plot is cutting off axes labels

I am trying to create a plot with the axes labelled and for some reason the x axis label is getting cutoff. I've tried resizing the plot and it does not fix it. I am using the following code: The ...
75 views

### Highlight part of the expression like this

I want to highlight the coefficient of the polynomial is not ±1, I have tried ...
24 views

### Export table of mixed data without shortened decimal notation?

My question is similar to this one, except the solution presented there does not work in my case since my table contains strings as well as numbers. I would like to export data such as ...
40 views

### write output to stream and also print it

I tried to save the Print[] output to a file using this code: ...
102 views

### Convert Derivative[f] to f'

I believe this is a little problem that everybody asking or answering ODE related question in this site suffers. We know derivative of a variable, say, f, can be ...
54 views

### How to automatically center the alignment of all output cells?

How can one change the default output alignment from left to center?
55 views

### What is the meaning of this weird square root expression? [duplicate]

I am using Mathematica to find the eigenvalues of this matrix m m = {{2, I, 1, 2}, {-I, 2, I, 1}, {1, -I, 2, 1}, {2, 1, 1, 2}} Eigenvalues[m] However, this gives ...
64 views

### Log plot and linear plot plotted in one view

I have the following code: ...
49 views

### Custom object display in Dataset using MakeBoxes

The below code defines a couple "objects" in the Mathematica sense using a convention consisting of so-called Q-functions for creating types and data validation, ...
36 views

### How can I create a form-like interface in Mathematica, suitable for Mathematica Player?

I want someting like: f(x)=(imput field) [Calculate] (button) Result=(output field)
91 views

91 views

### How do I turn off StandardForm formatting for Piecewise, KroneckerDelta and ConditionalExpression?

I find the StandardForm formatting for Piecewise, KroneckerDelta, and ...
55 views

### Disallow line breaks in long Row

I'm displaying a long row of images with a horizontal scrollbar that should make the images 'go off the screen' to the left or right, instead of wrapping to display all the images on multiple lines. <...
67 views

### Information/InformationInformationValueForm using Full- or InputForm

I have a problem with the build-in Information function for user-defined symbols with custom StandardForm in Mathematica 12.1.1.0: For example with the function ...
43 views

### Excel output append

I currently have the following codes: ...
91 views

### How to find formula from a table?

I recently started using mathematica for simple tasks like simplifying etc. First of all let me say if this breaks any rules I apologize since I'm a novice in using this and I'll remove the question. ...
84 views