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

learn more… | top users | synonyms (1)

1
vote
4answers
259 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
87 views
14
votes
3answers
705 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
905 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
71 views

Overscript distance

When I write: Overscript[PQ, \[RightVector]], the arrow is placed too close to the P and ...
0
votes
2answers
163 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 ...
16
votes
1answer
293 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
144 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
159 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
174 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
157 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
161 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: ...
6
votes
2answers
510 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
664 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
69 views

SuperscriptBox question

I am trying to define an object type in Mathematica as follows ...
3
votes
2answers
155 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
141 views

How to change the format of all inline cells

DefaultNewInlineCellStyle only take effect for newly generated inline cells. for example ...
0
votes
2answers
184 views

Formatting results of integral approximation methods comparison.

The integral is Integrate[Sqrt[1+x^3], {x, -1, 1}]. I want to create a Table with three columns and four rows that shows the ...
1
vote
1answer
98 views

Rounding only reals in an expression containing, reals, integers and symbols

I am trying to make a function that would make rounding real numbers in an expression possibly consisting of real numbers, integer numbers and symbols. An example of such an expression is below: ...
0
votes
1answer
106 views
8
votes
2answers
755 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 ...
12
votes
1answer
4k 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
166 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 ...
8
votes
3answers
375 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
92 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
131 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
115 views

SetPrecision with indexed variables

I have an expression as below: ...
1
vote
2answers
194 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
132 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
105 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
261 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
184 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
346 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
288 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, ...
1
vote
1answer
143 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
182 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
141 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
132 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
169 views

How to use ScientificForm in computation

Lets say I want to add 2 values : ...
1
vote
3answers
136 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
272 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
167 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
881 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 ...
2
votes
1answer
105 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 ...
4
votes
2answers
602 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
104 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, ...