Questions on typesetting and making your expressions, matrices, operators, equations or formulae look how you want them to.

learn more… | top users | synonyms (1)

8
votes
2answers
654 views

Light syntax parser for Mathematica?

My netbook is too slow to install Mathematica. I'm not set against working in a text editor, but I like having an automated highlighting/formatting environment; can anyone recommend a good gedit ...
11
votes
1answer
3k views

How to use $\LaTeX$ for typesetting labels and titles in Mathematica

I need to typeset large number of equations to be used for PlotLabel and Titles and such. These have to look nice. Hence I use ...
3
votes
2answers
161 views

Why don't these styling rules work when viewed in TableForm?

m = RandomInteger[{-5, 5}, {10, 10}]; m /. {x__, y_ /; y > 0} -> Style[{x, y}, Red] % // TableForm When m without style ...
1
vote
0answers
366 views

A Symbol with Subscript and Superscript as an Axis Label

I am trying to have the symbol $\epsilon_{9/2,4}^-$ as the axis label in a graph in Mathematica. First problem is that: when I use Subscript[$\epsilon$,9/2,4], 9/2 changes to $\frac{9}{2}$ (which I ...
8
votes
3answers
353 views

How can I prevent kets to from growing too large?

In TraditionalForm, Mathematica formats kets incorrectly in certain expressions. For example, if used in a summation with indices indicated, a ket becomes too ...
2
votes
0answers
107 views

Prevent Suppression of Superscript 1 in Print

I'm trying to print Christoffel symbols of the second kind for a surface in $\mathbb R^3$. I currently am using something along the lines of ...
4
votes
1answer
90 views

Why can't I change the style of a cell repeatedly?

I ran into this when I was working with an example from the Help Pages of V9. Cells is a new function added in V9. The following appears to work the first time it ...
3
votes
1answer
128 views

Can one optimize AutomaticNumbering feature?

If one wants to use the automatic numbering feature of Mathematica, he has to make tags for cells of the type he wants to be referenced to. Then, as soon as he needs to make a reference to the tagged ...
1
vote
1answer
106 views

SetPrecision with indexed variables

I have an expression as below: ...
1
vote
2answers
185 views

Efficient Data Entry / Manipulation with Many Datasets

I currently have a simple task of graphing many different datasets (26 here, with many different instances where I'll need to do, say, 26 different ones from the same template). I'm trying to ...
1
vote
0answers
125 views

Is there a keyboard shortcut for Centered Math Cell?

I've been typesetting in mathematica and would like to know if it is possible to use a keyboard shortcut to place a centered math cell or equation symbol aligned math cell in my document without ...
1
vote
2answers
103 views

How to set the background of a section to light gray?

How to set the background of a section to light gray and leave background of content below and above the section as default?
2
votes
2answers
228 views

How can you combine lines in LATEX, and lines Mathematica?

supose that You want to make a report about the golden section algorithm, and you want to explain the proccess with text in LATEX, and in every iteration you want to show in that report the values ...
6
votes
1answer
173 views

On Reverting Code that Mma Switches to Raw Input Form Back to Standard Form

I experienced a similar issue to what is described in this post while editing formatted usage messages (that contained italics) in the declaration section of a package that I'm developing in the ...
4
votes
4answers
337 views

Adding Math to Plots

I have several formulas I would like to place at specific coordinates in a Graphics object I have already created. I need to be able to choose bold or not as well ...
2
votes
5answers
251 views

Creating ordered triplets from an Excel sheet

I have an Excel sheet of the form: " " a b c 1 R S T 2 U V W 3 X Y Z Where every entry is a number (except the blank quotes, ...
2
votes
1answer
817 views

How can I format Mathematica expressions for $\LaTeX$ without manual intervention? [closed]

I want to show my work to my audience mathematically. My audience is not interested in Mathematica but in the math itself, so I want $\LaTeX$ output. I tried ...
1
vote
1answer
132 views

How can one type a box with “x” marked?

In some text portion of my notebook, I would like to be write check boxes which are empty, check marked or "x" marked. The following commands work for the first two: ...
4
votes
1answer
163 views

OpenGl Z-Order Equivalent in Mathematica?

I am trying to draw the arrows in this picture on top of the two parallel plates. In OpenGL I would just set the 4th coordinate the z-order to be closer. Any ideas how to draw them on top in ...
1
vote
1answer
120 views

How to apply multiple format to a list

I have a nested list like matrix = {{1.2345664, 2.38673956, 3.567846}, {0.00034554, 124.4554654, 6.34543}, {0.0000233, 244.34454, 2}} and I want to apply ...
2
votes
2answers
130 views

How to make Mathematica returns the exact expression I typed

I'm using Mathematica to compare some constants. Before playing around with those constants, I would like to check that I didn't make any mistake in typing them. So my question is the following: "What ...
4
votes
2answers
165 views

How to use ScientificForm in computation

Lets say I want to add 2 values : ...
1
vote
3answers
127 views

Entering Sum in traditional form

The documentation for Sum says that it is possible to replace Sum by EscsumEsc. The limits ($i_\max$ and $i_\min$) should be ...
4
votes
1answer
253 views

How to force Pane to always scroll to end of content? [duplicate]

Mathematica seems to know about the actual end of content position in a Pane if given large enough (but not too large$^1$) initial position value. Here, the ...
2
votes
1answer
152 views

Mathematica Presentation Cell Formatting

In one of the Mathematica (v9) slide templates, they have an example cell that looks like this: Where there is a "SideCaption" that appears to be the Mathematica-equivalent of a text box to the ...
12
votes
5answers
700 views

How stretch curly brace on multi-line text?

What's the cell option (or other technique) to use to stretch the curly brace that one typically uses in traditional math to group several displayed equations? Like this: And is there any better ...
0
votes
1answer
81 views

How to format complex fractions? Reciprocals? [closed]

How do I recreate this problem with this answer in mathematica? And similar problems? I tried: (4 ab^3)/(a^2)/(8 a^2 b)/(b^2) but that outputs ...
2
votes
1answer
102 views

Cell background color changes cell layout

When I change the background color of a cell like in the colored cells become slightly indented and their line spacing is increased. How can I change the cell background color while keeping the ...
3
votes
2answers
463 views

How to change default settings of cell formatting?

I find font size of Text cells too small and I like displaying them with background colour... I've read this question and learned about ...
5
votes
6answers
1k views

bar and hat only apply to certain letters

(I'm navigated from stackoverflow.com where I asked almost the same question) I'm a beginner in Mathematica. Like shown in the image below, I'm trying to put hat ...
3
votes
1answer
99 views

How does MakeBoxes handle an n-ary operator?

I want to format results from Reduce using the $\cup$ symbol instead of the $\lor$ symbol. For example, ...
6
votes
1answer
126 views

How do you force line spacing to be uniform when a line contains characters with vector or overdot?

A persistent problem I've run into is that certain character decorations within the text of a paragraph will often add extra line spacing even if there is already plenty of space between lines. This ...
4
votes
2answers
187 views

Updating the format style of input cells from an older/'pre-styled' notebook

I have been given a large notebook that was created in mathematica 6. It contains a structure of sections and subsections and the input text is formatted in an unusual (possibly just old) style (see ...
3
votes
0answers
94 views

Highlighting bracketing in Mathematica [duplicate]

I'm working with lists of lists of lists. Each box with information has a specific format like information = {{a},{{b}},{{{c},{d}},{e,{f}}},{g}} and so ...
25
votes
3answers
660 views

Is there a convenient way to copy/paste text-interspersed SE code snippets into Mathematica?

Is there a way to copy and paste code snippets from SE to Mathematica if these snippets are interspersed with text? Like e.g. in Morphing Graphics, color and location in both the question and answer, ...
16
votes
1answer
204 views

Exclude Sections/Subsections/… from evaluation

I'm working on a large notebook and I want to exclude some sections and subsections from being evaluated when I evaluate the whole notebook. Is there a way to exclude specific sections or ...
14
votes
2answers
349 views

Why use Column with Rows instead of Grid?

In general, what are the advantages of using Grid versus a combination of Column and Row? Is Grid better in some situations but not others? For example, is there any reason why one would do this: ...
3
votes
2answers
131 views

An issue with formulas typesetting in Grid & Column

I tried to construct a small sheet with text and equations presented in a convenient publishing form, using Column: ...
4
votes
1answer
201 views

How to make “Text” Cell which does not auto-format in TraditionalForm in-line math expressions?

This is a continuation of the previous post: How to enter textual subscripts and superscripts?. When dealing with complex in-line math expressions inside a "Text" ...
7
votes
5answers
896 views

How to enter textual subscripts and superscripts?

When I add a sub- or superscript to a letter in a "Text" cell using the "Writing Assistant" palette this letter becomes Italic: ...
4
votes
1answer
104 views

Replacing a combination of terms

I have a quite simple question. I have an expression that looks similar to $T=\frac{1}{a_1}-\frac{1}{a_2}+1$ and I'd like Mathematica to use $A=\frac{a_1}{a_2}$ to reformat the expression (if ...
3
votes
3answers
171 views

How can I efficiently enter multiple instances of data?

I would like to plot the normal distribution for a population of human heights. My question is how can I input multiple frequencies for the same variable, without writing them out one by one. e.g. I ...
6
votes
2answers
186 views

Changing parenthesis size for typography

I am using Mathematica to layout some mathematical formulas for publication. The guidelines specify that in case of nested parentheses the encompassing ones need to be bigger than the inner ones. So ...
2
votes
3answers
407 views

How to format a large Number

There is a large number a = 123456789012345678901234567.123456789012345678901234567 By format with AccountingForm ...
6
votes
3answers
278 views
4
votes
2answers
229 views

remove quotes in a combination of a text with graphics in the JournalArticle Style

I have a puzzling and very specific question. It may be of limited interest to community. I apologize in advance in this case. Let us see. I am making an illustration to a text that I write in the ...
6
votes
2answers
294 views

How do I get the equivalent of the $\LaTeX$ \tag{} in Mathematica?

How do I get the equivalent of the $\LaTeX$ \tag{} in Mathematica? $a+b=x \tag{1}$ I'm not necessarily asking how to use the $\LaTeX$ \tag{} itself in ...
1
vote
1answer
219 views

Export image data precision

I'm sure there is a very easy way to control this, but I have been searching for an hour now without luck. I plot a function and export it to get a table that I can use in TikZ. ...
0
votes
1answer
91 views

How should I make a label?

This is my code for making a label. I used a Button expression to build it. Is there a better way to make a label? My objection to doing it this way is that, when I ...
9
votes
1answer
301 views

Syntax Highlighting for Mathematica on a Blog

Every once in a while I want to paste Mathematica code on my blog. When I do, I would like it to be somewhat readable, and it would be nice to have syntax highlighting. So far all my searches have ...