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

learn more… | top users | synonyms (1)

0
votes
2answers
99 views

How can I adjust matrices into the same ItemSize and aligned well in Notebook?

I typed three matrices, but they are not aligned well, and the Items in one matrix are also not aligned well and with differenct ...
2
votes
4answers
259 views

How to set magnification of image to 75%

Right click on an output image, choose magnification. There are 25%, 50%, 100% etc. But how can I set to 75%?
5
votes
3answers
1k views

Labeling points on a graph with their coordinates in parentheses

I need to create some graphs in Mathematica with a bunch of labels, such as axes labels, graph labels, etc. In particular, there must be some points that must be labeled with their coordinates. Thanks ...
2
votes
1answer
239 views

Typesetting - entering derivative in traditional form

I am trying to work out how I enter a differential in standard notation? I am familiar with using D, but everything I have tried to enter a differential has failed. ...
1
vote
1answer
75 views

formatting an InputField with Dynamic [closed]

I have the following code Style["(" InputField[Dynamic[t], Number, ImageSize -> 30] ")=" PDF[NormalDistribution[μ, σ], t], 16] which doesn't result ...
0
votes
0answers
26 views

Math cell symbols not in italics [duplicate]

If I type $y(x)=ax+b$ in a math cell, y, x, and b are italicized, but a and x are not. How do I make them italicized? I tried adding an \[InvisibleSpace] or a \[VeryThinSpace] in between, and it ...
5
votes
3answers
271 views

How to change the color of specified digits in a number?

I've been playing with numerical approximations for irrational numbers, and would find it convenient to be able to highlight where these approximations deviate from the known correct answers. For ...
21
votes
2answers
451 views

How to write beveled fractions?

How to write beveled fractions like ${}^a/_b$? In contrast to $\frac{a}{b}$ and $a/b$ (see this question).
4
votes
1answer
77 views

Question about InputAutoReplacements

I have a question about InputAutoReplacements. ...
2
votes
1answer
123 views

Embedding hidden information in styled text

I would like to convert a collection of digitized documents to Mathematica notebooks. They are formatted as XML, divided into pages. The XML contains formatting I would like to preserve, but I do not ...
1
vote
1answer
197 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
58 views

Extract Style Attributes from Style[]

Can you extract the Style attributes from a variable. For example: var = Style["aString", Bold, 24] You can get back "aString" by using ToString[var] but I am ...
3
votes
4answers
169 views

AccountingForm w/o significant figures

Basically I want to build a chart like something I would do in Excel. It should look like this: Here is the formula I'm using and what I've done so far ...
0
votes
1answer
62 views

How to make the default table alignment “right”

The default table alignment is Center, however I would like to make it Right so that ...
2
votes
2answers
69 views

Hyperlink shrink the image, how to make the image become original size

I found that Hyperlink[im, "something", ImageSize -> 800] The ImageSize only add some borders of my ...
1
vote
0answers
62 views

How can I control the size of exported image in HTML code under certain magnification value?

I've inserted a picture in one cell, however, when I exported the cell as HTML, the size of my image in the html tag was doubled(the image file in HTMLFiles was the same as the original image). I ...
3
votes
2answers
145 views

Assigning an equation as a variable

I am compiling a calculator where many slider parameters are used to define a value, where the defined value may then be reused to define another value. I am unable able to, or at least been ...
4
votes
2answers
115 views

Showing AlgebraicNumber[1/2 (1 + Sqrt[5]), {-3, 2}] in human-readable way

Is there a function to show algebraic numbers in Mathematica more conveniently? I am looking for something similar to MatrixForm for matrices. For example, I would like to view ...
0
votes
1answer
73 views

Using the actual subscript as a variable within thecontext of definitions using the Notation package and Symbolize

I've gotten into the habit of using subscripted variables, invoking the Notation package and Symbolize. Now, I'd like to be able ...
0
votes
3answers
323 views

How to get back name of the number from Max function? [duplicate]

So I have this question, using a toy example: a={1,"this"}; b={2,"that"}; result=Max[0,a[[1]],b[[1]]] the result will be 2. However what I want to obtain is ...
3
votes
0answers
41 views

Is it possible to enclose code into collapsible/expandable regions? [duplicate]

In some programming languages (e.g. C#, Visual Basic) there are language constructs that have no effect on the execution of code whatsoever, but exist solely to allow grouping fragments of code into ...
9
votes
2answers
197 views

Pasting monospaced text into Mathematica notebook destroys aligment

I drew the little ASCII-art electronics schema below in vim. When i try to paste it into a Mathematica notebook, with: A) A code cell B) A monospaced font (Courier New) Mathematica insists on ...
0
votes
2answers
225 views

Using a table to format a grid

Ok, I can't wrap my head around this because I don't know Mathematica well enough yet, so I'm asking for help, at least a direction to explore in. I have a Grid: ...
5
votes
2answers
149 views

How to typeset a system of equations with multiple alignment points

I'm aware of how to align a system of equations on the = sign (or other single alignment point), but I'd like to align a system at multiple points so that each variable stays in its own "column" so to ...
2
votes
2answers
198 views

Iteration problem

I am trying to write a simple program - perform f1 as long as t is smaller than 800. t is ...
1
vote
2answers
153 views

How to select three points $A$, $B$, $C$ from the following list so that the circle passing $A$, $B$, $C$ has centre $(1,2,3)$?

I have the sphere $$(x-1)^2 + (y-2)^2 + (z-3)^2 = 36.$$ From the sphere, I find some points with integral coordinates. And select three points from this list so that the triangles are not right ...
2
votes
1answer
49 views

Suspend spacing between Repeated and number

The spacing of the first expression includes extra space before the 5. I would like to have the same spacing as the second line. ...
0
votes
1answer
2k views

Enlarge the axes text

Plot[Sin[x^2], {x, 0, 3}, AxesLabel -> {"x value", Sin[x^2]}] In the above code give a graph. In the graph the axes fonts are too small. My problem is that, ...
11
votes
2answers
303 views

Change base font for all graphics objects

How can I change the base font style for all graphics objects, including the ones generated using plotting functions? I would like to change this a single time and have it affect all graphics ...
1
vote
1answer
135 views

Looking for a input template for Limit

I'm using v. 8. I'm looking for a limit input template (analogous to the integral template), but I can't seem to find it in any of the palettes. Can anyone help? Edit: I'm looking for a 2D input ...
2
votes
1answer
295 views

Formatting results of a polynomial long division

I am teaching polynomial long division to my high school students. Not a pleasant topic to have to cover. I went to use Wolfram|Alpha and obviously, internally, they have a really elegant way to ...
78
votes
1answer
3k views

Programmatic formatting for Mathematica code - possible?

It seems to be both an interesting programming challenge and a very useful practical application to have a Mathematica program which would allow one to pretty-print Mathematica code, so that it is ...
2
votes
4answers
188 views

Padding and formatting within BaseForm

I find using BaseForm to be a little tricky. For example, if you use BaseForm and then do some additional operation all the numbers turn back into base 10, so you have do BaseForm as the "last step". ...
1
vote
1answer
67 views

Avoid unnecessary truncation

Is there any way to change the general settings in Mathematica so that when I type e.g. 0.34*60000000 I get the output ...
1
vote
1answer
95 views

Document settings for online viewing

I'm trying to figure out how to prepare a notebook for NICE online viewing when it's been converted to PDF form. The students I am working with (sadly!) will not be able to use the CDFPlayer to view ...
5
votes
4answers
352 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
107 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
129 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
299 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
130 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
93 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
56 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
80 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
635 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
152 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
156 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
168 views

CustomTicks - Changing NumberPoint -> “,”

How can I change the number point from . to , in CustomTicks ? The Mathematica built-in ...
4
votes
1answer
106 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
338 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
121 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. ...