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

learn more… | top users | synonyms

3
votes
1answer
76 views

Formatting All Appropriate Output as Desired Automatically

I want to output in MatrixForm whenever I have a list/vector/matrix, but I do not want to have to type out the command each time. How can I write one command at ...
3
votes
1answer
163 views

Make FactorInteger print its result with CenterDot and Superscript?

I know that if I use CenterDot @@ (Superscript @@@ FactorInteger[x]) Mathematica will pretty print the output. However, is it possible to tell Mathematica to ...
3
votes
1answer
51 views

Problem with parentheses and ScriptBaselineShifts

Style[ DisplayForm@RowBox[{"(", SubsuperscriptBox[2, 6, 7], ")"}], 18, Bold, ScriptSizeMultipliers -> 1, ScriptBaselineShifts -> {1, 3}] or for ...
3
votes
1answer
219 views

Set Page Width of PDF

I have a very simple question. I am using the student version of Mathematica 9, and I often do my homework in it. I type up a notebook, and then save it as a PDF using the "save as" option. However, ...
3
votes
4answers
196 views

How do I prevent exponents from being expanded when displaying text

I have a power of 2 in a list, and I want it to show as $2^{31}$ (2 with exponent 31), not 2147483648. I've tried this: ...
3
votes
1answer
117 views

ScientificForm problem

Consider this code: ...
3
votes
1answer
100 views

PostProcessing TraditionalForm output to append a vertical bar?

This simple task is giving me trouble. Suppose I'd like to take the output from TraditionalForm[Integrate[x^2,x]] and post-process it to append a vertical bar ...
3
votes
2answers
502 views

Representation of negative exponents [duplicate]

Possible Duplicate: Way to improve “show me this decimal number to M places, don't use scientific notation”? How can I expand e.g. number 1.*10^-8 so that there would be no ...
3
votes
2answers
4k views

Mathematica output doesn't work as input

Sometimes when I do, for example, a series expansion Mathematica gives me output that it won't take as input. For example if I do a series expansion: ...
3
votes
1answer
45 views

Change Property without re-evaluating [duplicate]

I am working with ContourPlot3D, and my expression takes a long time to evaluate (nearly 20 minutes). So I am wondering if there is a method to changing format ...
3
votes
1answer
102 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 ...
3
votes
1answer
95 views

Symbolic Output after numerical computation

I have a small question about the symbolic output. I started to write a program that generates the coordinates of n-dimensional polytopes by Wythoff construction. For crystallographic groups, all is ...
3
votes
1answer
64 views

Grouping Nested Lists Based on Differing Values of Single Element

I've a list of lists representing k-rows of truth table having n elements each in a nested list consider ...
3
votes
1answer
234 views

How to preserve the order of terms in the output

Is there a way in which mathematica can preserve the order of operations while it evaluates an expression?, for instance: In my short example ...
3
votes
1answer
140 views

Copy/paste of Interpretation to Latex fails, but works for InputText

As part of another issue, the following has come up. Create an Interpretaion: Interpretation[Subscript[a, b], a[b]] Select ...
3
votes
1answer
575 views

why mathematica outputs “TRUE” sometimes in outputs that are conditional to mean “in all other cases”?

consider this simple Input: Probability[g <= m && m <= -g + 1, {m, g} \[Distributed] UniformDistribution[{{0, 1}, {0, gg}}]] which generates a ...
3
votes
1answer
103 views

Some _atomic elements' TreeForm looks confusing with Level in appearance

In[1]:= Level[1/2,{-1}] Out[1]= {1/2} TreeForm[1/2] ...
3
votes
1answer
573 views

How can I export specific data into different pages in .PDF format?

I have made various Grid-s and arranged them column-wise in another Grid. All Grids are ...
3
votes
1answer
205 views

How to see a long output expression

I often run into long expressions in the process of solving equations. To go forward I need to be able to eye-ball the expressions to make some substitutions or use some existing relations I know to ...
3
votes
1answer
80 views

Changing face as you type in an expression in notebook

I've a Mathematica notebook for my class notes. When writing plain text in cells, I can dynamically bold and unbold with the ctrl+b shortcut. However, when in a mathematical expression, this shortcut ...
3
votes
1answer
282 views

Write numbers to a file

I want create file with some text (and numbers). This is my code. ...
3
votes
1answer
81 views

Combination of CellPrint and PrintTemporary, or DisplayForm for Cells

I'm programmatically generating some formatted output that generates a cell in the form of a Cell[] expression. For instance, the output might be ...
3
votes
1answer
57 views

Annotating output without changing the value [duplicate]

I like to annotate output, using something like the following: ...
3
votes
0answers
53 views

Page breaks and headings in long table or grid

I have a need for long tables in a document I am producing but I am having difficulty. The printed document ends up with page breaks midway through the table which cuts rows part way through. I'd also ...
3
votes
0answers
38 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 ...
3
votes
1answer
179 views

Display negative exponents always as fraction

I want Mathematica to display negative exponents always as fractions. I already tried: ...
3
votes
0answers
227 views

Symbol with Subscript but no quotes in it!

If I use the following function to define me a fancy subscript: ...
3
votes
0answers
115 views

TableHeading Lines Do Not Show Up

For a list list = {{"a", "b", "c"}, {"d", "e"}}; Table heading lines do not show up ...
3
votes
0answers
295 views

Negative power instead of fraction [duplicate]

Solve returns a solution in the form {{ x -> y / a^2 + y^2 / a^7 }}. Since I want to process the input (with another program) in terms of Laurent polynomials, I ...
2
votes
4answers
332 views

Add Brackets to a string list

Hello stackexchange community! I have a stringlist with a value and his error for eg: {{"12","1"},{"13","2"}} Now i want to output this as something like this ...
2
votes
1answer
149 views

Drawing lines between matching numbers in a two column table

I have two lists of numbers of the same length. I want to display the numbers in a table with two columns, one list in each column. I also want to drawn lines between any number in the first column ...
2
votes
3answers
318 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 ...
2
votes
2answers
434 views

Awkward output of TeXForm

When I try to format a number that has a big exponent with TeXForm the following happens: ...
2
votes
2answers
310 views

How to output an expression as a Dot[] product

How to force Mathematica to output an expression such as $a1u1+a2u2+a3u3$ as a Dot product like this one: ...
2
votes
1answer
1k views

Equation of the plane passing through the three points [duplicate]

Possible Duplicate: How to put terms in lexicographic order? I write the equation of the plane passing through the three points $A(-1, 5, -2)$, $B(2, 4, -3)$ and $F(4, -8, 6)$, and this is ...
2
votes
2answers
289 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 ...
2
votes
1answer
194 views

How to change the output format of a built-in function

Is it possible to change the output of build-in functions? I would like to change the output for IdentityMatrix[n] to "I", so I tried ...
2
votes
1answer
191 views

Representation of product with exclusions

Is there a nice way to define output formatting for my expression, a product from n = k to j with ...
2
votes
1answer
129 views

Format tabular data with a certain row highlighted

I have tried a method to highlight certain rows in various tableform. An example: ...
2
votes
3answers
190 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 ...
2
votes
3answers
109 views

Outputting numbers symbolically

Suppose I want Mathematica to output Table[2^n, {n, 1, 5}] Mathematica gives {2, 4, 8, 16, 32} but how can I get ...
2
votes
2answers
85 views

Inconsistency of output format in `Eigenvalue`

I am bothered by the output format of the last two elements of efre. Is there a way to make these two look like the same format as the first two in ...
2
votes
2answers
2k views

How to display a different number of significant digits in each column of TableForm output?

Say I create a table with three columns of numbers. Is there a way to control the number of significant digits displayed in each column. To make this concrete, take the following command: ...
2
votes
1answer
57 views

How do I make those nice summary boxes like Dispatch and SparseArray do? [duplicate]

Dispatch and SparseArray have nice output forms that summarise their contents: The contents even manage to be retained fully ...
2
votes
2answers
209 views

Center column heading in TableForm

I have a TableForm as follows: ...
2
votes
1answer
63 views

How to right adjust the output of a print statement

Suppose i want to print numbers in a loop/table For[n = 1, n < 31, n++, Print[BaseForm[n ,7]]] the output comes with numbers left adjusted. How Can I make them right adjusted?
2
votes
3answers
501 views

Outputting a fraction on one line with an oblique division sign

How can I make Mathematica output a fraction as x/2 as opposed to the x on top with a horizontal bar and ...
2
votes
1answer
169 views

Remove braces, {}, from around DynamicModule output?

Is there a way to remove the braces from the front end output associated with DynamicModule? For instance: ...
2
votes
2answers
283 views

Lossless TIFF or PNG export

I'd like to export an output from MatrixPlot[], however, the output file size seems to depend on my specification of the ImageSize -> {..., ...}. How might I export a TIFF with all of the data in the ...