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

learn more… | top users | synonyms

0
votes
0answers
20 views

Is there any way to format the results of Wolfram|Alpha

I have noticed that when getting Wolfram|Alpha results via WolframAlpha[], the output is formatted to (what appears to be) Times New Roman and Helvetica for units ...
1
vote
1answer
99 views

How to get output in a specified format

In Fortran, we can easily get the stardard and easy output format. Now, we only focus on the Integer output. See here How to realize this kind of output as formatted text file using Mathematica ? ...
0
votes
1answer
29 views

Weird subscript name in output [duplicate]

One of my first times using mathematica, I'm getting a weird Subscript(1,0) output when I try to solve a derivative. What is going on and how can I fix this?
3
votes
2answers
77 views

How do I display function application with square brackets in traditional form?

If I type C[x, y] // TraditionalForm I get something that looks like C[x, y] But if I type ...
3
votes
0answers
35 views

Out[x] not the same as assigned expression [duplicate]

There seems to be a difference in the way Mathematica assigns a value to a variable and the way it assigns a value to the next Out object. I don't understand why this is happening. For instance, take ...
1
vote
1answer
42 views

Printing names of indexed variables instead of values

I'd like to display only the variable (indexed variable) name (in symbol form, not in string form) instead of its value in Mathematica. Say I have a variable foo[i] ...
0
votes
1answer
37 views

Simplify huge output or using the output without showing it in full [closed]

I'm trying to solve a system of differential equations. It works fine but Mathematica creates a huge output, which, when shown in full, results in a file size about 100 mb. Using Simplify doesn't work ...
2
votes
1answer
44 views

Mathematica output format

Basically Mathematica is giving me outputs in a format I do not recognise. I've just started Year 12, so there are mathematical terms I do not understand. For example, ...
0
votes
3answers
40 views

Save a result containing HoldForm to a file

This is the workflow I have. Basically, I want the outputs of the polynomials I computed are in a specific order. (It is not the same one here, this is just an example.). ...
4
votes
1answer
65 views

Transforming expressions in terms of Csc and Sec to expressions in terms of Sin and Cos [duplicate]

I am writing a code to compute some matrix quantities. The result involves Sec andCsc functions, and I want a form displayng ...
3
votes
1answer
75 views

TabView Alignment problem for content larger than a view area

When content is larger than ImageSize of TabView then the top edge is cut off even with ...
2
votes
1answer
42 views

Is it possible to set Mathematica output to be in InputForm by default?

Mma's output cells are by default in StandardForm. While this has obvious advantages, sometimes it can get annoying, for example when I wish to copy paste the output. When this happens, I usually ...
1
vote
2answers
83 views

How can I control 'TraditionalForm' substitutions and formatting in special cases?

I have eqns = TraditionalForm[HoldForm[Subscript[W, #][#] = ρ^s[#] Subscript[ω, #] ρ^-s[#]],] & /@ Range[4] which (with ...
2
votes
3answers
182 views

Creating an image grid that displays a full-size image when a thumbnail in the grid is clicked on

I am working on some teaching resources and pulled a whole bunch of images off the internet to illustrate the idea of "angle". I can get Mathematica to import them and display them in a nice ...
44
votes
7answers
2k views

How to “Copy as Unicode” from a Notebook?

I spent some time manually editing a post replacing Mathematica ASCII \[Alpha] with Unicode α. I did this by laboriously ...
4
votes
1answer
70 views

Why are the edge items in Grid truncated?

The first and last rows and columns of my Grids always seem to be smaller than all the other rows in my Grid, as of they had ...
14
votes
2answers
3k views

About the number format in ticks

I want to LogPlot a function, but I have the trouble in the number format in the ticks. For example, ...
-1
votes
1answer
33 views

Equation output is in terms of e? [closed]

I have a Mathematica notebook containing the following: ...
9
votes
3answers
184 views

Changing BarLegend border style

I want all the lines in my plot to be a consistent style, let's say thick and black for the purpose of this question. ...
0
votes
0answers
29 views

All output in TexForm [duplicate]

In the Preferences -> Evaluation panel, there are only options for StandardForm, TraditionalForm and ...
0
votes
2answers
62 views

Function that creates a table from two lists

I have two lists shown below: list1 = {(0,0,0,0),(0,0,0,1),(0,0,1,0),...,(1,1,1,1)} list2 = {1,5,5,5,...,5} How can I construct a function that outputs a table similar to this: $$\begin{array}{c|c} ...
1
vote
2answers
76 views

Format a formula in human readable form

Is there a way to make a formula display in a human readable form? I have something like Binomial[(10000000 - 1), x]*(1/2^24)^x and I'd like it to display using ...
1
vote
1answer
23 views

Using MatrixForm in a Manipulate

I have declared some lists vAwG = {{{0}, {0}}, {{1}, {1}}}; psi = {0, 1, 2, 3}; vBwB = {{{1}, {0}}, {{0}, {1}}}; and created a function ...
4
votes
1answer
73 views

Cost of Living comparison for many cities

I have an excel file with about 40 cities listed. I would like to compare the cost of living for each one. I have seen the sample "relocation calculator" given by the input: ...
1
vote
2answers
65 views
2
votes
1answer
82 views

Label a Grid with the arguments of a function

I would like to make a table with row and column headings being the arguments to a function and the values to be the value of the function. So far, I have this: ...
1
vote
1answer
44 views

How to modify the output result of an evaluation

For ease of notation, I have defined a function, $f$, that defines the permutation of Bosonic particles such that it has the following properties (the form of $f$ is irrelavent for this question): ...
8
votes
3answers
290 views

Convert number to word

I have a big number like: 123 456 789. Now I'll to writ it like this 123 million 456 thousand 789 I've search on the internet but nothing found that works. How can you do that? Thanks.
2
votes
1answer
82 views

Typing (and executing) expressions with multiple superscripts

I am trying to type (and evaluate) expressions of the following form: $$ G^{a,b} $$ into a mathematica. I've tried the obvious G^(a, b) or ...
3
votes
0answers
65 views

Using an external Pattern breaks Format

I noted while writing this answer that using an external Pattern on Format doesn't work: ...
1
vote
0answers
25 views

How do I reassign canonical ordering of special expressions?

1. Default behavior of Sort Note: this peculiarity is described in a comment to a related question at StackOverflow but I think it's worth restating here at mma.sx. It is estabilished in ...
0
votes
2answers
47 views

How to get approximate (decimal) output for ArcCosh[e^x] [closed]

The specific input I'm using is ArcCosh[e^1.5400733368255632], how do I get this to give me an output in decimal form?
7
votes
3answers
290 views

Creating a TeXForm/TraditionalForm/etcForm - like function

How could we go about creating a function that behaves like those? After a while thinking, my best try is with CellPrint printing an ...
2
votes
0answers
40 views

Dynamic Slider and InputField: some numbers with machine precision display badly [duplicate]

I want to control a value in my program either by a Slider or an InputField. The following code does what I want in principle: ...
1
vote
0answers
13 views

Difficulty with Copy as PDF in Mathematica 10.0.2.0 [duplicate]

I just installed Mathematica 10.0.2.0 on my Mac and I find that I can no longer use the Copy as PDF commands to copy a Mathematica graphic and paste it into a powerpoint presentation. When I do this ...
4
votes
1answer
104 views

How to justify this Grid vertically

As titled above, How I can justify and how I can change the space between columns in this Grid specified below: ...
4
votes
2answers
1k views

How do I set the fonts for Input and Output in my stylesheet?

I'd like to change the font that Mathematica uses for output by setting the font of the corresponding style in my stylesheet; bit simply overriding the default ...
1
vote
1answer
44 views

Function does not initialise variable as changes are made in the manipulate function

My function "DefineRss[]" takes in three arguments and outputs a plane value. It sits in the first argument of the function plot3D and that in turn sits in the manipulate function The function also ...
0
votes
1answer
32 views

Output form of a result [closed]

Suppose I computed something with Mathematica, and the result is in the form Gamma[1 + N]^2 How can I tell Mathematica to write the result in a more ...
4
votes
0answers
60 views

Are there any rules about style inheritance in Mathematica?

I can style every part of an UI separately. But it is not handy and it would be nice to have list of Heads which are not inheriting at all or even partly. Are there any rules about inheritance? ...
3
votes
1answer
64 views

Strings with exclamation marks in Mathematica [duplicate]

Given this input FullForm[ToString[TraditionalForm[x]]] Mathematica outputs "\!\(TraditionalForm\`x\)" It seems like ...
0
votes
1answer
51 views

How to put a fixed sized frame around traditional form expression

The height of a 2D form of a polynomial changes depending on the existence of exponents, fractional coefficients, etc. For use inside a Manipulate, I would like to ...
0
votes
1answer
44 views

Prevent a sum from simplifying? [duplicate]

Basically, I want to prevent a sum from cancelling or summing together the individual summands and just display them separately next to each other. Example: ...
1
vote
2answers
67 views

Showing an output without square brackets

Suppose that an output is which could be obtained from, for example, D[f[x, y, z], x] / D[h[x, y, z], x] I'm looking for a way to show it without the square ...
4
votes
3answers
208 views

How can I suppress zero or nonzero values in a matrix?

So, if I have something like: F[IdentityMatrix[3] // MatrixForm, 1] I'd like F[] to display: $$\begin{pmatrix} 1 & ...
14
votes
3answers
471 views

Format and TeXForm does not work as expected

Recently, we had a nice question which brought up an issue that I believe is a bug. In the tutorial Defining Output Formats is an example at the end which doesn't make sense This specifies the ...