Questions on typesetting and making your expressions, matrices, operators, equations or formulae look how you want them to.
2
votes
1answer
107 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
82 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 ...
11
votes
3answers
272 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
76 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
159 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
88 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 ...
8
votes
1answer
349 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 ...
8
votes
3answers
440 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
79 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
258 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
163 views
1
vote
1answer
105 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, ...
8
votes
3answers
321 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
99 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
142 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
182 views
Typeset unbalanced brackets
In LaTeX, you can typeset expressions containing unbalanced brackets, by balancing them with an invisible delimiter \left. or ...
6
votes
2answers
302 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
335 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
66 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
65 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 ...
8
votes
1answer
91 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
112 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 ...
8
votes
1answer
169 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 ...
7
votes
2answers
145 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
437 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
0answers
107 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 ...
2
votes
1answer
151 views
16
votes
6answers
507 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 ...
7
votes
1answer
206 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 ...
3
votes
3answers
255 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
351 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:
...
14
votes
5answers
368 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
152 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:
...
8
votes
4answers
554 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
175 views
How can I italicize FrameLabel directives?
Suppose that I use Frame -> True in Plot. Then I can use ...
2
votes
2answers
191 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
159 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:
...
3
votes
1answer
207 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:
...
8
votes
6answers
309 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
146 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
3answers
581 views
Export to text file
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
179 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 ...
11
votes
3answers
299 views
Formula Formatting is Small and Chunky?
I'm sure I'm about to embarrass myself... but, here goes...
I can't read any (but the most basic) typeset formulas in Mathematica. The fonts are simply way too small on my 2560x1440 monitor.
If I ...
4
votes
2answers
166 views
Tabs inside expression to format code
In a similar spirit to a question proffered several days back,and as that question stated,
Since the front-end is quite extendable my question is...
Does the front end provide any way to use ...
9
votes
2answers
106 views
A notebook created on demand from a main document showing executable input along with output cells
I would like to make Mathematica documents with hidden calculations, such that they can be visualized on demand. In general it can be done in several forms and I actually use some. I would like to ask ...
12
votes
1answer
210 views
Automatic formatting of isotope symbols in a text cell
InputAutoReplacements is an obvious choice for formatting isotope names in text cells. I'd like to be able to type "1H", for ...
6
votes
0answers
113 views
Usage displays properly only after second call
If I have a usage message containig two-dimensional stuff (subscripts or formulas) and I call the usage, then sometimes I get an improperly formatted output enclosed in "...". Linebreaks are gone, but ...
13
votes
3answers
492 views
Managing formatted usage messages in Wolfram Workbench
We have numerous packages (defined in .m files) that we maintain and develop in WolframWorkbench (2.0), and in those packages, we use the traditional method of ...
12
votes
5answers
996 views
Fixing quirky typesetting in plot labels
Consider this example plot.
Plot[
1-Exp[-x],
{x,0,3},
AxesLabel->{"thickness (\[Mu]m)","power density (W/m^2)"}
]
Let us hold the typographical quality ...
10
votes
6answers
435 views
Annoying display truncation of numerical results
I have a lot of data to inspect. An example of a number in my program is
123.189094
This gets displayed as
123.189
...


