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
0answers
18 views

Styling CurrentValues in Stylesheet

I've succeeded in putting the notebook title into page headers (thanks to @Kuba), but I failed at styling the label. ...
0
votes
1answer
58 views

function for toggling a symbol inside a FullForm

Hello I would like to build a function for the hermitic conjugation of f[i]. When applied to f[i], it should result in f\[Dagger][i], and when applied to ...
2
votes
0answers
30 views

Indenting Bulleted List in Notebooks [duplicate]

I am writing a paper using Mathematica Notebook and need to create a bulleted list. I saw this answer (Indenting bulleted lists in notebooks) and was able to create a new stylized notebook with the ...
5
votes
3answers
235 views

Indicate minimal path sum

Described on the page: http://www.mathblog.dk/project-euler-81-find-the-minimal-path-sum-from-the-top-left-to-the-bottom-right-by-moving-right-and-down/ It is an example of the solution indicated in ...
0
votes
0answers
59 views

How to input therefore sign in mathematica

I'm wondering how to input a therefore sign in Mathematica? For example, I want to input / output something like: ∴ a == 2 + 1 // TraditionalForm ∴ a = 3 ...
7
votes
2answers
215 views

Is there a way to diagonally strike through a character or group of characters in a DisplayForm equation?

In mathematical derivations, one often diagonally strikes through a variable, term, or factor -- either to indicate that the variable/term is zero/negligible, or that it is being cancelled with ...
1
vote
1answer
33 views

Insert Sum template with limit tokens in text cells

I write up problem sets in Mathematica. One thing that I haven't figured out is position limit tokens. In a text cell (cmd+7), when I type "ESC sum ESC ^_ x", it comes up like $\sum_x$. How do I ...
2
votes
1answer
43 views

Convert Power to Product multiplication format [duplicate]

I need to convert input expressions with explicit powers e.g.: $x^2 + 2*y^6$ to this format: $xx + 2 y y y y y y$ or this: $x*x + 2*y*y*y*y*y*y$ and then preserve this new format for other ...
11
votes
1answer
120 views

How to type text with an underbrace underneath it like: $\underbrace{g…g}_{n-times}$?

I want to use the underbrace "esc u{ esc" but have it placed underneath text. Like $$\underbrace{g...g}_{n-times}$$ in a mathematica text cell. Is it possible? Thanks
5
votes
4answers
110 views

How to add/insert a well aligned graphics on top of another one?

I need to add a small graphics on top of a larger one, and the small graphics should stick very close to the large one, with their axis aligned. Here's a minimal code to work with, using some ...
5
votes
4answers
192 views

Creating Nested For Loops for modifying values to append to a List

Basically, the title says it all. I am familiar with python, not so much with mathematica. For the program, I am starting out with three unique lists of values for which I am using a triple nested ...
1
vote
0answers
44 views

Reference a notebook's title cell contents in its stylesheet

In my stylesheet I have the following code: ...
1
vote
0answers
34 views

What does 'Inherited' mean in StyleData? [duplicate]

I'm having a trouble with notebook styling. Please, consider the following, self explicative, screenshoot. I thought that this code ...
1
vote
0answers
41 views

How to pack arguments of a function into a vector for brevity? [closed]

I have a function like the following one: F[a_, b_, c_, d_] := Product[f[x, y, z, j, i], {j, a, b}, {i, c, d}] where ...
0
votes
0answers
19 views

How to remove extra space around polar plot in manipulate? [duplicate]

In Manipulate, PolarPlot adds lots of useless space around the exterior circular grid. Is there a way to remove that space, so the whole circular plot could take more space ? Here's a MWE showing ...
5
votes
3answers
505 views

Ugly fraction in a label

I'm having difficulties in displaying a proper fraction in a label. Here's the 2D graphics which shows the problem : ...
7
votes
1answer
77 views

Multiple PlotLegends ignore NumberForm

Imagine a set of curves data = Transpose@Table[{Exp[t], Exp[1.1 t], Exp[1.2 t], Exp[1.3 t]}, {t, 0, 5, 0.1}]; which should be labelled with numbers ...
44
votes
4answers
5k views

How to make the digits of π go around in a spiral like this?

Here is a start. MapIndexed[Text[Reverse[First[RealDigits[Pi,10,252]]][[Tr@#2]],#]&, Table[{t Cos[t],t Sin[t]},{t,0,16Pi,0.2}]]//Graphics
0
votes
0answers
29 views

Generate tags for all types of headlines automatically

Is it possible to create for each headline a tag with the same content (i.e. for all Title, Chapter, Subchapter, Section, Subsection, Subsunsection) automatically? When using text processing tools ...
4
votes
0answers
21 views

AppearanceRules on multipage Web Form

I'm attempting to make a web survey using FormFunction. To list the questions I am using AppearanceRules to give each page an ...
0
votes
1answer
37 views

How to use a PopupMenu in Manipulate? [duplicate]

I need to build a Manipulate to show one of several functions in 3D. The functions should be selected in the Manipulate box using a PopupMenu, but the documentation isn't very helpfull on this. So ...
16
votes
1answer
290 views

What options and settings can be used to create print quality typeset documents with Mathematica?

If I am proficient on dedicated typesetting software (e.g. LaTeX) it makes sense to use that for typesetting but if I am not how can I use Mathematica to create good quality documents. The question ...
2
votes
1answer
79 views

Putting label on other side in TimelinePlot

How to put the label on the other side of the interval. For instance in the following code, how to push the label End on the other hand. ...
4
votes
2answers
137 views

$\LaTeX$ in labeling: TimelinePlot

I am struggling to use $\LaTeX$ in labels in TimelinePlot, but was not successful. For instance in the following code how can I insert $\sum_{i=0}^{10} f(x_i)$ ...
2
votes
2answers
52 views

parenthesis issues

I am having rather unpleasant issues with parenthesis. Sometimes, when I change some part of the code that does not relate to a line with parenthesis, this line suddenly turns red and mathematica ...
1
vote
1answer
28 views

Type Setting Issues with Inline Cells

So I like using Mathematica for quickly typing up notes and progress reports. However, I've never liked the way in which it autoformats inline cells. I've been able to modify style sheets to some ...
1
vote
2answers
24 views

Place Holder or Suppressing Re-ordering

Using the for loop how can I print: file0.jpg file1.jpg file2.jpg file3.jpg file4.jpg file5.jpg file6.jpg file7.jpg file8.jpg file9.jpg The closest code I came ...
1
vote
0answers
45 views

Shortcuts for Indentation in Text Cells?

Marking a cell's bracket and then using Alt-7 I can make it a Text cell using the formatting set forth in Default.nb or in a modification of it stored with the notebook itself (so called "private ...
1
vote
1answer
42 views

How can I change the autonumbering criterion?

In a notebook I have three cells whose format is DisplayFormulaNumbered: a=1 b=2 c=3 and in a text cell I refer to them respectively as (1) (2) (3), where (1) ...
0
votes
2answers
114 views

Referencing elements of ArrayRules

How do I call elements of ArrayRules by their indices rather than by Part[ArrayRules[list],i]? I'd like to call the element that ...
2
votes
1answer
81 views

Hoare-Ramshaw (two dots) interval notation

In a Mma notebook math cell, how can one write an interval with Hoare-Ramshaw (two dots) interval notation? The obvious answer (\:2025) does not seem to work; two full stops produces odd spacing; and ...
1
vote
2answers
52 views

styles and print and output

I know I can use styles to change how the result of Print looks. But I have a case where I use Print to display some ...
2
votes
1answer
59 views

Why the curly bracket? [closed]

Why are there the curly braces in the output of DY = {{Cos[ay], 0, Sin[ay]}, {0, 1, 0}, {-Sin[ay], 0, Cos[ay], 0}}; DY // MatrixForm It looks inconsistent ...
4
votes
2answers
85 views

How to Return $Failed symbol in a MakeBoxes context?

Three months ago, I asked a question about How to build a function object like the built-ins? Today, I used a solution proposed by István Zachar ...
1
vote
1answer
50 views

How to indent/align Header 4

What's the deal with Header 4 (⌘ + 4 on OS X)? Are there options to align under or to the right of Header 3? Also remove the overbar? Couldn't find anything in Options Inspector.
6
votes
1answer
70 views

how to test if a string containing boxes is syntactically correct?

This is a string that displays as formatted x^2: "\!\(x \^2 \)" If I left off the closing parenthesis for example: ...
15
votes
6answers
401 views

How do I insert a calculated value into a text cell?

Suppose in a notebook I've calculated the value of some expression and assigned it to a variable. How do I insert the value of that variable in a text cell without just typing in the value? That is, I ...
4
votes
1answer
52 views

Export data with the number form but is not same as shown in notebook

I want to export data nicely with NumberForm, However it displays Ok in the note book, but not the exported file. Here is the code: ...
6
votes
1answer
317 views

What´s the best way to COPY/PASTE Mathematica code into Word?

As you can see in the image the code, with a standard copy/paste you obtain squares instead of "Return=New Line". What´s the best way to copy and paste Mathematica code into Word? One choice is a ...
1
vote
0answers
24 views

Strange behaviour with Line Breaks [duplicate]

When placing Terms in several lines for better readability it comes to a strange behavior: ...
6
votes
2answers
239 views

Looking for PostScriptForm or ForthForm to print expressions as RPN code

Mathematica has very useful functions CForm and FortranForm. I want the same for a different language: ...
1
vote
0answers
34 views

Why doesn't the keyboard shortcut Insert->Typesetting->Nudge Up work for x\[Prime]?

I am using iMac with OS X "El Capitan" and found that Insert->Typesetting->Nudge Up works on "Primed" variables when done from the drop-down menu but not with the keyboard shortcut. The keyboard ...
1
vote
1answer
81 views

Output arrays in format that can be compared with Python numpy

Is there a way to convert an array in Mathematica such that its output format resembles that of Python's numpy arrays? I want to go from: ...
2
votes
3answers
112 views

How to typeset and evaluate $u \big|_a^b$

Sometimes I need to evaluate an expression at the end points. e.g. the right hand side of $\int_a^bf(x)\textrm{d}x=F(x)\big|_a^b$. $F(x)$ could be complex at the right hand side so I can't just ...
4
votes
2answers
136 views

How to set the bar exactly in the center of plot marker?

ErrorListPlot usually does not put the error bar exactly in the center of the plot markers. For example: ...
4
votes
2answers
95 views

Unescape Formatting in Strings [closed]

Mathematica has a dirty habit of sometimes escaping all the formatting in my strings when loading a .nb. I know this is inevitable for ...
3
votes
1answer
187 views

Mysterious Difference in Equation Formulation for NDSolveValue and NDEigensystem

I have taken a standard equation from Mathematica help from here for a stress operator. I have also formulated the equivalent equations from engineering texts. When I compare the two equations Using ...
-1
votes
1answer
67 views

Export table to latex - copy as

I have the following final expression which is a table (I am posting only a subsection of the table to illustrate the problem). I am pasting it from mathematica without table formatting (to the bottom ...
1
vote
1answer
91 views

How to change the default font for all cells in all notebooks [duplicate]

I am new to Mathematica. Currently I am using Mathematica 10 on Mac Yosemite. I have tried: Edit the default.nb and core.nb ...
5
votes
1answer
108 views

How to set different background, input and output colors

I want to create a notebook where the background is one color, the input cells are another color, and the output cells are white. I have tried messing around with Option Inspector and creating a ...