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

learn more… | top users | synonyms

3
votes
1answer
60 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 ...
-1
votes
1answer
33 views

Equation output is in terms of e? [on hold]

I have a Mathematica notebook containing the following: ...
0
votes
0answers
28 views

All output in TexForm [duplicate]

In the Preferences -> Evaluation panel, there are only options for StandardForm, TraditionalForm and ...
0
votes
2answers
60 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
70 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 ...
0
votes
0answers
29 views
1
vote
1answer
22 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
66 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
62 views

Center column heading in TableForm

I have a TableForm as follows: ...
2
votes
1answer
75 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
42 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): ...
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 ...
8
votes
3answers
275 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.
0
votes
2answers
46 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?
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
12 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 ...
0
votes
1answer
31 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
59 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? ...
4
votes
1answer
103 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: ...
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 ...
3
votes
1answer
59 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
39 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: ...
0
votes
1answer
50 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 ...
1
vote
2answers
66 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
206 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 & ...
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: ...
0
votes
1answer
64 views
2
votes
3answers
94 views

How to automatically make the maximum of each row in a table(grid) bold?

TableForm[Table[i/j + 4*Boole[j > i] // N, {i, 3}, {j, 4}], TableHeadings -> {{"Row1", "Row2", "Row3"}, {"Col1", "Col2", "Col3", "Col4"}}] Produces the ...
6
votes
1answer
125 views

Creating formulas for the Moodle CMS question bank

Edit I have made some progress on this problem, which is given below the question. I use the Moodle course management system for much of my teaching, and the CMS comes with a tool for creating ...
1
vote
0answers
42 views

Display error on frame label after exporting image to pdf

This is a simple plot, it looks fine in Mathematica. But after exporting it to pdf file, the display of vertical frame label has an error. The "33" in the subscript "epsilon33" becomes somewhat a ...
1
vote
0answers
39 views

Faded output is printed from dynamic object

When an output cell is generated by e.g. dynamical object, the output is printed faded out. This behaviour was introduced in v10 with multiple undo to indicate if an output cell is decoupled from its ...
4
votes
4answers
84 views

How to set the output be generated in a cell different from “Output”

I would have some functions, for instance Plot, to generate their output using a different Cell's style rather than "Output". The reason is that I'm producing some documents with many images and, for ...
2
votes
1answer
77 views

Format Exp[] in output

The output of foo=Exp[x] is formatted automatically as $e^x$. For long expressions it's not as easy to read as Exp[...]. How to format the output so that ...
1
vote
0answers
81 views

FullForm in Linux Command Line with -noprompt

I am looking for a way to get the output of FullForm in Command Line under Linux (Debian) using -noprompt argument. Example : What I have : a+b*c What I want : ...
1
vote
1answer
72 views

How to select a list from a list?

I have a list contains three vertices of a triangle. ...
1
vote
1answer
60 views

Formatting output for readability

I would like to suppress the argument [0, 0, 0, 0] of K in the output of ...
0
votes
3answers
37 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.). ...
2
votes
2answers
124 views

Prevent axis label being cutoff

I am running into an issue whereby my Y frame label (I want to use this rather than an axis label to make the label vertical), is being cutoff when I view the graph. See below for an indicative ...
3
votes
1answer
72 views
3
votes
5answers
641 views

Is it possible to “pretty print” my input integral in Mathematica like Wolfram|Alpha does?

With Wolfram|Alpha, if I enter: Integrate[r^3, {t, 0, 2Pi}, {r, 0, 2}, {z, r^2, 4}] Wolfram|Alpha will pretty print my input like so: Which is very readable, ...
0
votes
2answers
64 views

NSolve gives {{ x -> #}}, How do I make x = #; I need to use the x value again later

I want to use: demand = {1.92, 2.07, 2.37, 2.72, 2.87}*10^6; NSolve[SetV == demand[[1]]/(Cpf (1 - χ)), χ] I want to make a vector of solutions ...
4
votes
1answer
81 views

How to get this grid normal height?

When I execute this ...
4
votes
1answer
104 views

Manipulate Demo Full Screen

Is it possible to create a demo using Manipulate and then open it in a document that can be expanded to full screen?
0
votes
0answers
51 views

Export “Print” command to text file

I am trying to create a text file with specific information in exact locations. This is my code: ...
4
votes
1answer
69 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 ...
0
votes
0answers
37 views

ParagraphSpacing inside Style'd Text

From ParagraphSpacing's documentation: ParagraphSpacing is an option for Cell, StyleBox, and Style that specifies how ...
2
votes
0answers
36 views

Find d'Alembertian in the output and convert into Einstein summation convention form

I am trying to do field variations in Mathematica and would like some nice formatting. My output is in the form $ -\frac{1}{c^2}V^{(1,0,0,0)}[t,x,y,z] + ...
1
vote
2answers
49 views

Append list into nested list in a file

I have a nested list that I use Put[mylist, file] to write to a file. I would then like to then append to this nested list some values and add them to the file. ...
2
votes
1answer
76 views

How to suppress clutter parentheses in output?

Dozens of unnecessary parentheses are making my output hard to read. For example, this: expr = D[f[x], {x, 2}]^2; returns this: (* f"[x]^2 *) But when I try ...