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

learn more… | top users | synonyms (1)

5
votes
4answers
337 views

Display a number in Mathematica 9 in periodic form

I want to display a rational number in Mathematica in periodic style. PeriodicForm isn't working anymore. It worked in Mathematica 5 and now I'm using Mathematica ...
5
votes
1answer
96 views

Text formatting with different wrappers

Formatting text in Mathematica should be a punishment for serious crimes. I've face another frustrating feature, and I don't know how to get rid of it. ...
1
vote
1answer
120 views

Problems with formatting a bar chart

I am trying to create a financial dashboard using Mathematica. I am having trouble formatting the axes ticks to show whole numbers. Further, when I hover over one of the chart elements, it is ...
12
votes
3answers
290 views

Notebook vs. DocumentNotebook; display a Notebook inline, like a DocumentNotebook

If you evaluate a DocumentNotebook[] expression in the front-end, it nicely displays inline, inside of an output cell in the current notebook: For my purposes, ...
0
votes
2answers
113 views

Put results in multiple columns for comparison

One thing I would like to do in many instances is arrange input/output in columns for comparison. I expect that I need to use Grid to do this, but have not been ...
0
votes
3answers
87 views

Manipulate syntax

I am trying to manipulate a plot of the Bernoulli roots as follows: The following code clearly is not going to work, but I have included it in an effort to illustrate my meaning. ...
1
vote
1answer
52 views

Option Inspector — option definitions

Relatively new to Mathematica, using v. 8.0.4.0 on OSX, and wanting to know where I can find something like a list of definitions for each of the many Global, Notebook, Cell, etc. options listed in ...
0
votes
1answer
71 views

Whitespace after number subscript

When I write something like this: (Subscript[x, 0], f(Subscript[x, 0])) I get some undesirable whitespace after each of the ...
8
votes
3answers
441 views

How to typeset a system of equations

Is it possible to typeset systems of equations in Mathematica, and if so, how can I do it using a big left bracket as one could in LaTeX with \left\{ ... \.? I ...
2
votes
1answer
135 views

How to enter a LaTeX integral?

How can I enter a LaTeX integral into Mathematica? For example, I evaluated the expression ToExpression["\int 2*x\[DifferentialD]x ", TeXForm] but Mathematica ...
4
votes
1answer
129 views

Custom display format for custom operator

I've tried searching here and in the WRI documentation, but I haven't found what I'm looking for in either place. I'm defining a dx operator to act as a ...
3
votes
2answers
155 views

CustomTicks - Changing NumberPoint -> “,”

How can I change the number point from . to , in CustomTicks ? The Mathematica built-in ...
4
votes
1answer
94 views

Define a color of the pressed button of a SetterBar

It is easy to define a background color for the SetterBar buttons, so that all the buttons that are not pressed have the specified color, while the pressed one is gray. Here is the example: ...
3
votes
3answers
231 views

Mixing Text and Formulas

I'm trying to do some typesetting in which I mix text with formulas. The Mathematica documentation has a section titled "Mixing Text and Formulas" which pretty ...
8
votes
1answer
112 views

How to always display current section identifier (number, name) in notebook?

Because I find myself relocating frequently within a long notebook divided into sections, subsections, & subsubsections, I would like to display the identifying information for the section, etc. ...
4
votes
1answer
484 views

Why does Mathematica order polynomial forms in reverse from traditional order?

I could very well be missing something obvious, but this has always bugged me with Mathematica and I don't know why it does it or how to fix it. If I enter any polynomial, say, x^2 + x - 1 for ...
2
votes
1answer
142 views

Elegant transformation of various rules to strings, {f[z_] -> y} becomes “f = @(z) y”

Assume that I have some function for transformation mathematica expressions to strings. For simplicity, just assume it is an identity: ...
3
votes
1answer
114 views

Prevent mathematica from simplifying

How can i prevent Mathematica from automatically simplifying the expression Sqrt[a/b]? In case a=1 and ...
2
votes
1answer
76 views

Cell format for screen headers

If one picks the menu option Format->Edit Stylesheet and then one opens the "Default.nb" link, the newly opened notebook has a header that reads "Deafult.nb" style definitions. In one navigates down ...
2
votes
2answers
202 views

Long text inside a grid does not word wrap

If I create a simple grid with Ctrl+, and paste a long piece of text outside the boxes (I'm sure you can find some yourself), then that text does not break at the width of the window in Mathematica. ...
2
votes
1answer
123 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: ...
0
votes
1answer
234 views

Specify values for X-axis and Y-axis ticks and control their format

I have following problem: I want to set the values for the X-and Y axis by myself, but the values (e.g. 0.800) are not plotted as I defined them (see image 0,8), mathematica removes the zeros. ...
3
votes
2answers
171 views

Can I ask Mathematica to replace the arguments of my functions with a replacement rule?

I have an equation that I evaluate at some point (let's say $x=1$) that have terms of the form f[1,y] D[g[1,y],{y,2}] Is there an easy way to replace [1,y] by ...
-1
votes
1answer
93 views

Indicating the axes [closed]

I want to scale the $x$ axis of the plot by $x^0$ and the $y$ axis by $\tan x$. Is this possible ? Plot[Tan[x], {x, 0, 10}, PlotRange -> Automatic] EDIT: ...
2
votes
0answers
51 views
5
votes
1answer
99 views

Maintaining stylesheet information in Cell[]

I am working on formatting a cell for a slideshow presentation format such that a graphics object occupies the left half of the cell and bullets or other items occupy the right. The ancient ...
1
vote
1answer
86 views

Collect the multiple of one determinant?

m = {{2, 6, 4}, {2, 6, 5}, {-3, 6, 6}}; Consider I'm doing calculation by hand. I want to collect the multiple 6 of second column, how to do that? I'd like the ...
19
votes
6answers
971 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 ...
2
votes
2answers
83 views

How to interpret and show an input number with the amount of significant digits given?

what can I do to have Mathematica intepret and show a number with exactly the amount of digits I gave as an input? I have a larger talbe with numbers (text file, whitespace seperated) which are ...
21
votes
6answers
3k views

Fixing quirky typesetting in plot labels

Consider this example plot. Plot[ 1-Exp[-x], {x,0,3}, AxesLabel->{"thickness (μm)","power density (W/m^2)"} ] Let us hold the typographical quality of ...
1
vote
4answers
230 views

converting between forms - symbols/subscripts - matrix products

If I have a vector of the form (xp+y, x+yp) do you have a simple way of creating the following matrix and vector from it: {{p, 1}, {1, p}} * {x, y}, such that ...
-1
votes
1answer
86 views
13
votes
1answer
236 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 ...
14
votes
3answers
611 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 ...
14
votes
4answers
852 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 ...
3
votes
1answer
68 views

Overscript distance

When I write: Overscript[PQ, \[RightVector]], the arrow is placed too close to the P and ...
0
votes
2answers
154 views

Unwanted parentheses appearing in a notebook that is opened by a button

I am writing an interactive document and have an idea to make in-line buttons that on demand would create and bring up separate notebooks containing some explanations or a remindings. One example of ...
15
votes
1answer
262 views

How to strip all formatting from a string and convert it to plain text?

The documentation on String states: But if I try to perform some manipulations on this string, for example, take 2 words from the left, I get some shards of ...
7
votes
3answers
142 views

How can I set default size for some characters

Alt++ could adjust the size, but how to store the satisfactory size? For example: Each time I type |, its size is (I assume) 12. How to make its effect like adding ...
4
votes
2answers
143 views

Can I make the subsection CounterBox continue counting across section boundaries?

This is what I used in a stylesheet for Section CellDingbat->Cell[TextData[{CounterBox["Section"], "."}]] This is ...
2
votes
1answer
158 views

Customizing the numbers used by DisplayFormulaNumbered cells

I was typesetting some formulas and I encountered a formula number marked with a prime. I am using the DisplayFormulaNumbered cell style`. How can I add a cell ...
4
votes
1answer
139 views

Getting vertical bar of equal length for | a || b | in a notebook

How can I make |a|*|b| show well in a notebook? I typed | from keyboard to denote absolute value. General cleanupIt will auto adjust by matching in my notebook so that sometimes it will not show as ...
2
votes
0answers
152 views

Problem when merging cells including commentary

This is a more of a problem report than a question. When merging the two cells Cell1: foo (*foobar*) bar and Cell2: ...
5
votes
2answers
392 views

How can I type in math calligraphy letters?

I cannot find this kind of letters in the pallete. math calligraphy? I can only find this in Mathemtica.
2
votes
1answer
609 views

How to make underscript like underscript in InlineFormula of lim in Notebook and (inline)Latex

This question maybe a little tiny. Firstly, Let's input underscript Ctrl+4 in an inline cell. InlineFormula inline cell $\underset{n\to\infty}{\text{li}}$ ...
1
vote
1answer
58 views

How can I adjust the span between under bar and formula

Mathematica: LaTeX: $\alpha =\underset{\square }{\overset{\square }{\lim \sup \sqrt[n]{\left|a_n\right|}}}$
4
votes
1answer
68 views

SuperscriptBox question

I am trying to define an object type in Mathematica as follows ...
3
votes
2answers
152 views

How can I change the highlighting color of an InlineMathCell?

When using the InlineMathCell one types Ctrl+9 within the text cell, and gets a slot for starting typing the InlineMathCell part. When typing the content of the InlineMathCell is slightly highlighted ...
3
votes
1answer
131 views

How to change the format of all inline cells

DefaultNewInlineCellStyle only take effect for newly generated inline cells. for example ...