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

learn more… | top users | synonyms (1)

2
votes
1answer
605 views

Mathematica equation tagging [duplicate]

Possible Duplicate: How do I get the equivalent of the $\LaTeX$ \tag{} in Mathematica? This seems like an obvious question yet I cannot find any answer to it. I am using Mathematica 8 and ...
3
votes
3answers
168 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
173 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
363 views

How to format a large Number

There is a large number a = 123456789012345678901234567.123456789012345678901234567 By format with AccountingForm ...
5
votes
3answers
238 views

Rendering percent symbol in the correct typeface

When I do ...
5
votes
2answers
269 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 ...
5
votes
0answers
224 views

Can I modify line-break behavior of inline cells?

When I insert an inline cell into a text cell that is too long for the whole inline cell to fit on the current line, Mathematica pushes the whole inline cell to the beginning of the next line. That ...
2
votes
1answer
192 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 ...
0
votes
1answer
89 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 ...
13
votes
3answers
500 views

Best Practice to write ::usage for own package functions

I'm writing an own package with Mathematica, that I would like to make available for others. In order to do that (and for my own usage of the package), I would like to write ...
4
votes
1answer
149 views

“Show” with Manipulate runs fine normally, but gives errors as a CDF

I've simplified my code to what can reproduce my error. Basically, I have two lines: ...
3
votes
1answer
215 views

Quick way to invert a fraction

Over the years of using Mathematica, I find myself doing something along the lines of rewriting this: $\frac{[A^-_F]}{[A^-_U] + \frac{[H^+][A^-_U]}{\kappa_1}}$ as this: $\frac{[A^-_U] + ...
5
votes
0answers
115 views

Embed a Microsoft RichEdit 8 control in a Mathematica notebook using .NETLink?

Does anyone know whether or not it's possible to embed a RichEdit 8 control within a Mathematica Notebook using .NETLink? The goal here would be able to both view and edit mathematical text typeset ...
10
votes
1answer
2k 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 ...
11
votes
3answers
641 views

Can mathematica show me a fraction with a repeating decimal notation?

The value of 3/817 when expressed using the N[3/817, 100] shows me data without helping me see the repeating patterns: After I ...
1
vote
1answer
96 views

TextCell going awry due to ImageResolution (in Mathematica 7)

Can anyone see how to fix this text display? The example is from a larger project. I need to export the graphic at high resolution, but the text is going wrong. ...
4
votes
4answers
311 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 ...
3
votes
3answers
201 views

Are table headings functional?

Are table headings for aesthetics only? If I have: ...
1
vote
1answer
146 views

How can I create some shorthand notation for a custom control?

Per this question, I have created a custom graphical control object which evaluates to a list of values. I would like to be able to create such an object quickly, rather than typing some command, ...
9
votes
3answers
568 views

How can I type left (sub)superscript?

I want to type in my variable next to its plot and I'm typing the text in using Inset. However my variable has superscripts to the left. Say it looks like this: $ ...
6
votes
2answers
129 views

Prevent front-end from reformatting long fractions while editing

I am editing an expression containing wide fractions (typeset with fraction boxes): But if, while editing the equation, the fraction exceeds some threshold (seems to be approximately the window ...
1
vote
1answer
200 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. ...
9
votes
3answers
278 views

Typeset unbalanced brackets

In LaTeX, you can typeset expressions containing unbalanced brackets, by balancing them with an invisible delimiter \left. or ...
8
votes
2answers
582 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
4answers
848 views

Is there a way to hide or toggle the visibility of code?

Many of my notebooks have a similar repeating structure, which is very convenient and reliable for my workflow: a chunk of code defining a Manipulate for exploring ...
2
votes
0answers
80 views

How do I create inline TraditionalForm expressions, and control their formatting? [duplicate]

Possible Duplicate: How to replace the style of the inline cell in a StyleSheet I'm trying to figure out the best practice for creating short, inline expressions that display as ...
2
votes
1answer
82 views

Cleaning the hyperlinked string from its hyperlink property

I need to rename a number of files. These are graphic jpg files, and I have an Excel table in which the initial names of these files are collected. For example, this is the name of one of these files ...
9
votes
1answer
112 views

Is there a way to base one style on another?

I'm setting up a stylesheet and and finding the process of defining related styles tedious and error prone. In particular, I have several related styles that need to have synchronized settings (e.g., ...
2
votes
1answer
119 views

Implementing a For (?) or series or loop (?) for individual results for every x to n

I'm working on improving a modeling formula and have spreadsheets worth of data to use, but my work so far has been quite tedious. I'm essentially pulling 20 rows of data from each separate sheet of a ...
9
votes
1answer
242 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 ...
8
votes
2answers
164 views

Difference in integral character heights

Above is an example of what happens. It seems that the first integral is longer than the second because the y-character is longer than the x-character as this doesn't happen with other ...
2
votes
1answer
777 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
160 views

Adjust spacing between a section title and the first contained cell

In my day-to-day work with Mathematica I use a stylesheet I have derived from Mathematica's default stylesheet. One modification I would like to make to my stylesheet is to reduce the spacing between ...
19
votes
6answers
873 views

Understanding Pie Chart Annulus generation and alternate style using Disk[]

Background I have been working with a set of data for some time now and I recently decided to change the format. The data is a tree-styled listing of hierarchical names and positions. (* Names ...
8
votes
1answer
250 views

How to suppress undesirable kerning rules in math inline cells?

Update: (11/29/2012) Looks like Mathematica 9 has the same behavior. The following graphic shows how Mathematica kerns italic characters in an inline math formula cell (first row) where an ...
5
votes
3answers
488 views

Is it possible to typeset left and right angle brackets?

I would like to typeset the following in a Mathematica notebook: $$\langle P \rangle$$ Is it possible to typeset left and right angle brackets? In $\LaTeX$, they are given by ...
4
votes
1answer
692 views

How do I use the ShowLegends function to produce a legend for my framed graphic?

I'm new to this site and new to Mathematica as you can see from my question. I'm also new to programming, btw. I'm trying to produce a legend for my plot which I've coded as follows: ...
18
votes
5answers
582 views

How do I reassign canonical ordering of symbols?

I have a big polynomial that evaluates to: $$A^2 e^2 \phi ^- \phi ^++A e \phi ^- \phi ^+ c_{2 w} g_Z+\frac{1}{2} A e g h W^- \phi ^+ +\ll13\gg,$$ which is supposed to represent some terms in the ...
2
votes
1answer
184 views

copy paste merging expressions

I ran a solve to evaluate a few linear equations, Solve[{some eqns},{A0,B0,c0,d0,e0}] and then in the output I got: ...
12
votes
5answers
2k views

Formatting a number with fixed number of significant digits

I need a formatting function (say format[x_, n_]) which outputs numbers with fixed n significant digits without unnecessary dot. ...
2
votes
2answers
464 views

How can I italicize FrameLabel directives?

Suppose that I use Frame -> True in Plot. Then I can use ...
2
votes
2answers
339 views

Annotating plots with plain (not italicized) mathematical text

I have a plot and I would like to annotate some mathematical text in it. Initially, Mathematica puts it in italics by using Drawing tools palette, but I want it all in plain text. How can I do it? ...
3
votes
1answer
242 views

Formatting data tables with Grid + Dividers vs. SplitBy --> GridBy?

A quick method to format human-readable data tables with headers, is to use Grid, eg: ...
4
votes
1answer
288 views

Change elements on different positions within a list

How can I change the elements of a list, say on positions {{1, 4}, {3, 1}, {2, 3}, {4, 4}} in one go? Take this list for example: ...
9
votes
6answers
363 views

How to make text flash for a short period

How could I display text that flashed red for a half second or so and then reverted to black? (Or was put in bold and reverted to normal, etc.)
4
votes
2answers
210 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 ...
4
votes
2answers
189 views

Formatting text through pattern matching

I am trying to format some text based on some patterns. ...
4
votes
3answers
1k views

Export to text file [duplicate]

I would like to export a long Table of (complex) numbers to a text file using Export["file.txt",%]; A sample line from the obtained file looks like this: ...
2
votes
2answers
242 views

How to format dynamic InputField value using NumberForm?

Background: I want all numbers in InputField's displayed as NumberForm[num,2]; Now, consider the following the snippet of ...