# Tagged Questions

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

99 views

### Converting Units in formula

I have the following formula ...
126 views

### Can one prevent operators like Factor or Apart from changing full form of some algebraic expressions?

In this question I will talk about a toy example, it should be clear what do I actually mean in general. Also, not only Factor but also ...
47 views

### Presenting the solution of an equation with the form of x=

In Maple you can use {} inside the command in order to present the evaluation as x=... For instance, the command ...
86 views

### Separate integer fractions from variables?

Whenever I write a rational number times a variable, i.e.: (2/3)a the result Mathematica displays looks very cringeworthy: $$\frac{2a}{3}$$ I would prefer ...
83 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 ...
91 views

### How to format convert simple Mathematica expressions into a Maxima-compatible format?

I am trying to compare really long algebraic results from Mathematica with those from Maxima. Maxima can parse the simplest types of expressions output by Mathematica, such as ...
1k views

### Nice formatting for the results of a dice game simulation

One of my Mathematica interests is in problems related to the formatting of output. Getting nice formatting from Mathematica is often frustrating, but occasionally Mathematica will delight me by ...
89 views

### TableDirections example produces an error message

Bug introduced in 10.0 and fixed in 10.3 Can anyone replicate this? In Mathematica 10.2 on Win 64: ...
127 views

### How to make the determinant formula visible even in cases when det=0

When I compute the determinant analytically in Mathematica, I do it with Det[{{a, b}, {c, d}}] which gives the output ...
86 views

### scientific form with padding and exponent

I would like to print 1 as 1.00x10^0 by using ScientificForm/PaddedForm. I've tried with ...
113 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 ...
65 views

### HoldForm -> InputForm without processing the contents

I have programmatically generated a large number of simple equations like 1+1/2. I need them to be 'unprocessed', so they've been run through ...
116 views

### Change cell frame color in stylesheet

I am trying to make a custom stylesheet, but I am not able to get rid of the cell frame color from the base stylesheet. In particular, I have: I have changed the background color of the cell to ...
115 views

### Continuous background color of adjacent cells

I'm trying to make continuous blocks of cells so that their background colors are the same, but without breaks of white space between them. E.g. After some recent digging, I found the option "Show ...
237 views

### How can I write the frame ticks in Scientific Form?

Is there any way to remove the decimal places in the frame ticks. I would like to make the y axis ticks integers. I use the following code. My only problem is how to manipulate the y axis without ...
157 views

### Printing intermediate calculations in an external file, while suppressing the output in the notebook

I'm trying to construct a text-file that contains all the operations that Mathematica performs when evaluating an expression. However, i'd like to suppress all output in the notebook in which I'm ...
171 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 ...
75 views

### How to include tooltip to symbols in TraditionalForm?

This is a follow up to this previous question, where a TraditionalForm formatting was defined for the symbol pvB, so that ...
2k views

### How can I format a table to look nice?

I have this code, but I would like to see the results well formatted. How can I obtain a well formatted data with alignment similar to this one? Instead, I obtain the result you see here (click to ...
94 views

### what is the means of (0 -> 1) of series expansion [closed]

I use mathematica 8 to take a taylor expansion.In the Output, the expression (0->1) appears in the second term and all higher order term, and this expression is multiplied with other coefficient and ...
153 views

### Format tabular data with a certain row highlighted

I have tried a method to highlight certain rows in various tableform. An example: ...
73 views

### Changing notations for probability moments with subscripts

Suppose I have have two kinds of variables $X_{\alpha_j}, X_{\beta_k}$ in the form of Subscript[x,Subscript[α,j]] and ...
34 views

### How to change the OutputFormat of the Power operator in FortranForm

I'm trying to have mathematica automatically give me an equation which I can use in a different programming language. FortranForm produces output which is very similar to what the other language is ...
129 views

### Modifying the built in graphic format of colors

Can users modify the default format of colors in the front end? Red For example, dimensions, aspect ratio, EdgeForm? The motivation is the functional ...
170 views

### Using Padding with Text and Style

Suppose that I use: Text[Style["(1, 0, 0)", 12, Background -> White], {1, 1, 0}] How can I put a few points of padding around the text? Thanks to Jens: ...
134 views

### Combining two tables and highlighting certain values

I have got a variable list: ...
309 views

### write fractions onto image [duplicate]

I like labeling my images with the variables used, so that when exported, I do not lose crucial information about the graph involved. Up until now, something along the lines of ...
94 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.). ...
49 views

### Transforming the x-axis of a figure created with customticks package [duplicate]

I have some data which i inter alia define and invert ...
73 views

### How to write a TraditionalForm for non-commutatively multiplied objects

I would like to write a TraditionalForm output for a string of non-commutatively multiplied objects. I don't really like the default output of the built-in symbol <...
66 views

### Show scientific form number in Epilog on a plot

I'd like to overlay a scientific form number on a ListPlot at a particular position. Simply using ...
128 views

### Piping StandardForm from within GUI

I am working on a GUI project where I need to pipe a string I constructed in Mathematica into an external program. For example ...
253 views

### Displaying a list of percentage values according to their classification

I have a list of percentages as follows: percent = {21.15, 42.3, 57.68, 73.06, 84.6, 90.37, 96.14, 99.99, 99.99, 99.99, 99.99} I want to classify these ...
61 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 ...
62 views

### Is there a better way to get nice looking equations in output? [duplicate]

I use Mathematica regularly for my schoolwork, however it's arduous to use TraditionalForm[HoldForm[f[x]==x]] every time I want it to spit out a good-looking bit of ...
546 views

### How to add a vertical line to a matrix?

Today, I want to write a program to show the solving process of a the inverse of a matrix, and I use the Elementary Transformation, so I need to add a vertical ...
50 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 ...
519 views

### Formatting Framed - some FrameStyle graphic directives don't work?

The FrameStyle option in Framed seems to work for some graphics directives but not others, eg: Framed["yo", FrameStyle -> Blue] But ...
145 views

### How to sort arguments of Times in nonstandard order?

Is there an elegant way to sort the arguments of Times in e.g. TraditionalForm so that factors go to the front and state ...
1k views

### How to keep Collect[] result in order?

For example, Collect[(1 + x + Cos[s] x^2)^3, x] gives the result ...
100 views

### Formatting Tables in Mathematica [closed]

Ok, I created a table Table[j, {i, 4}, {j, 3}] // TableForm and the result is fine, from 1-4 in each column. Now, what if I wanted to extend this table into ...
111 views

### Engineering notation in mathematica 10 [closed]

It seems there is a bug in Mathematica 10.0.2 which is unable to display EngineeringForm properly: ...
97 views

### How to set default PageWidth for InputForm?

We can control the page width used by InputForm by applying SetOptions to "stdout": ...
204 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 : <...
74 views

### Transforming a trigonometric expression into exponential notation

I have a table as ...
31 views

### Constructing new output object graphics [duplicate]

Occasionally, when you ask Mathematica to carry out a task for which there is no good compact representation for the output, it will generate a special icon in v10, or an abbreviation in lower ...
480 views

### Row and Column Headings for a Grid

It would be useful for me if I could write: Grid[{{a, b}, {c, d}, {e, f}}, GridHeadings -> {{"r1", "r2", "r3"}, {"c1", "c2"}}] just like ...
105 views

### Some _atomic elements' TreeForm looks confusing with Level in appearance

In[1]:= Level[1/2,{-1}] Out[1]= {1/2} TreeForm[1/2] ...