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
20 views

Why does the degree symbol disrupt this FrameLabel?

This plot Plot[x, {x, 0, 1}, FrameLabel -> {"x", "temperature / \[Degree]C"}] displays beautifully, but exporting to PDF ...
1
vote
1answer
25 views

Removing vertical/horizontal edges from some cell frames

I recently asked a question regarding adjusting adjacent cells' margins to make their background color appear continuous. With these settings in place, I'd like to put a single frame around the ...
2
votes
0answers
37 views

Transferring analytic expressions from Mathematica to R

I have a series of large-ish algebraic expressions I would like to move from MM to R. I've no doubt the way I'm doing it is rather stupid, but so far the best way i've found is to use CForm and then ...
3
votes
1answer
58 views

Continuous background color of adjacent cells

I'm trying to make continuous blocks of cells so that their background colors are the same, but without breaks of white space between them. E.g. After some recent digging, I found the option "Show ...
-2
votes
1answer
34 views

Doing calculation on an imported data file [closed]

I have a data file which has been calculated from mathematica code and saved in test.txt, I need to import the data and do new calculation on it, here is the simple ...
3
votes
1answer
42 views

Splitting formatted output to multiple lines in a controlled fashion

Let's consider a slightly complicated expression in TraditionalForm: ...
0
votes
1answer
18 views

Testing Conditions in For Loops

I am attempting to create a set of coefficients that satisfy a set of conditions using the Do function and If statements. I did this successfully with a basic set of conditions: ...
0
votes
0answers
55 views

Interpreting Mathematica output or producing cleaner output

Could someone please explain what the following would look like in standard math notation (or explain to me what this means): ...
2
votes
1answer
33 views

Cannot normally underline slash characters and hyperlinks

Really, if you evaluate Style["/", Underlined] or type / and set the font of the character to be underlined through Format|Font..., you get $/$, not ...
3
votes
1answer
50 views

Is there a way to change the indentation behavior of the postfix operator //?

For example, using newlines after // results in some really weird indentation: Ideally, I'd love to be able to do something like this: ...
0
votes
0answers
41 views

DisplayFormula badly rendered if style is set before writing

If I have to write a display formula, I go to the cell after the text cell I'm currently into, select the DisplayFormula from the Style menu and then write. The ...
4
votes
1answer
105 views

Converting a sum into $\Sigma$ notation

I have a simple expression of the form $\quad \quad t^5+t^4+t^3+t^2+t+1$ and I want Mathematica to convert this to the form $\quad \quad \sum _{i=0}^5 t^i$ Is there a way to do this?
1
vote
1answer
67 views

Bug with DateListPlot with ToolTip with NumberForm?

Is anyone able to confirm if this is a bug in version 10.1 on Windows 7 Pro? I am attempting to produce a DateListPlot with ...
1
vote
1answer
77 views

Why does Mathematica remove some formatting?

I'm trying to save a file as PDF. Using SetOptions[$FrontEnd, PrintingStyleEnvironment -> "Printout"] so it looks nice. There are a bunch of formulas, and every ...
4
votes
1answer
46 views

How to make a style for paragraphs with hanging indents

I am making slides with text. I created a style template, but I cannot see how to make a style for a hanging paragraph. Is there a way to do this?
1
vote
2answers
48 views

Trouble with ToString and StringForm

The command ToString[StringForm["SomeText=`` as well as OtherText=``.", "textA", "textB"], FormatType -> InputForm] produces the output ...
0
votes
0answers
56 views

Turning Latex into Mathematica code [duplicate]

It is possible to get Mathematica code to Latex alright, but is it possible the other way too, i.e., auto translate Latex back to Mathematica code? If available it could help many users active both ...
1
vote
2answers
58 views

Transforming functions

I am not familiar with Mathematica but have the following question: I am trying to write Mathematica code that transforms $x^a+y^a$ to $(x+y)^a$ for any $x$ and $y$ and integer $a$. I also need to ...
0
votes
0answers
18 views

Creating Group Open/Close Button [duplicate]

So I have a mathematica file with calculations and explanations seperated by groups into different sections. I want to know how I can add that open/close traingle button for Each group. This is the ...
1
vote
1answer
42 views

How would I set the equation number for an EquationNumbered cell?

Regardless of how many EquationNumbered cells are above or below, every new EquationNumbered cell that I add in my notebook shows (1) as the equation number. Is there a way to correct the equation ...
0
votes
0answers
52 views

Is there a way to create a two column page layout in a notebook? [duplicate]

I am working on a white-paper that requires a two column format. Is there an existing Stylesheet that can be used or a way to create a Stylesheet that supports this Mathematica?
0
votes
0answers
30 views

Is there any way to format the results of Wolfram|Alpha

I have noticed that when getting Wolfram|Alpha results via WolframAlpha[], the output is formatted to (what appears to be) Times New Roman and Helvetica for units ...
0
votes
0answers
29 views

How can I number an equation associated with its section information automatically?

Suppose I have an equation, which is the 3rd one in section 2, I want it to be numbered (2.3) automatically, is there a way to do that? Thanks!
4
votes
2answers
113 views

How do I display function application with square brackets in traditional form?

If I type C[x, y] // TraditionalForm I get something that looks like C[x, y] But if I type ...
0
votes
1answer
70 views

Create new style where elements are arranged in a grid

I'd like to create a new style where elements are arranged in a grid. I'm taking notes and I have some definitions. I'd like to have every definition formatted like this: ...
1
vote
1answer
58 views

How to format short inline code in a paragraph of text?

If I have a paragraph of text and have some very short code inline such as a function/symbol names in the sentences, how to format them more like code? Sort of like an analogue of ...
9
votes
2answers
261 views

How do I prevent Mathematica from reformatting the expressions that I copy as LaTeX?

When I choose something that looks like $$ W_1(1)=\rho ^{5} \omega _1 \rho ^{-5}\\ W_2(2)=\rho ^{23} \omega _2 \rho ^{-23}\\ W_3(3)=\rho ^{10} \omega _3 \rho ^{-10}\\ W_4(4)=\rho ^{9} \omega _4 \rho ...
1
vote
2answers
91 views

How can I control 'TraditionalForm' substitutions and formatting in special cases?

I have eqns = TraditionalForm[HoldForm[Subscript[W, #][#] = ρ^s[#] Subscript[ω, #] ρ^-s[#]],] & /@ Range[4] which (with ...
1
vote
3answers
108 views

How I create a 'TraditionalForm' expression in which only parts are evaluated?

I have an expression for the form Subscript[W, f[a, b]][c] = ρ^f[a,b]ω[c]ρ^-f[a,b] that I want to render in TraditionalForm ...
1
vote
2answers
94 views

How do I make a single character bold?

I have a string of characters, like "CDABOZPVRYXSWQEGNILUTHMKJF" and want to convert it to a string in which the character at position ...
5
votes
5answers
277 views

How do I pad numbers to the left so that all are the same length?

I have a list of numbers like {-6, 1, 3, 23} and want to get a list of strings, all of the same length, with zeros padding on the left as needed, like ...
2
votes
1answer
43 views

PrecedenceForm with Format

I'd like to format the output of certain operators with Infix-style formatting to have lower precedence than Times. Let's say I ...
3
votes
1answer
53 views

How can one create hanging indent within text?

Short of writing a highly specific function for particular text strings, is there a simple way to format text, as say in a bibliographic record, to produce a hanging indent (first line of full with, ...
6
votes
3answers
135 views

How can I stop Mathematica from re-arranging formulae in TraditionalForm?

Let's say I have a sample formula, for example (Abs[x]/(-(2 - \[Kappa]) - 5))/(Binomial[a, b]/4) or something like that. I can of course typeset it to a limited ...
3
votes
2answers
81 views

how can I type brackets for column vectors? [duplicate]

My goal is to type $\begin{pmatrix} a \\ b \\ c \end{pmatrix}$ in mathematica. I try {a,b,c} but i am not sure if it will be converted to the corrected output.
4
votes
1answer
754 views

How best to embed various cell groups into a latex project?

I'm an author and a coder. I want to reference various parts of my notebooks in my latex project. I've tried doing the following, using a post on the latex side of this problem. I'd like to solve it ...
-1
votes
1answer
63 views

Black Ovals appeared in my Mathematica notebook [duplicate]

I copied and pasted something from another Mathematic notebook and started getting the same black ovals seen in this question: Colored marks appearing in notebook input text? The suggestion to turn ...
1
vote
0answers
19 views

How set input font globally? [duplicate]

I'm trying to change input font in default.nb, but font font not changed, changed only font size. I'm also try set StandartForm style, but nothing happens. In preferences/Evaluation style of newly ...
3
votes
1answer
63 views

Typesetting for different powers

Suppose that I want to typeset an object such that it looks differently for different powers. The simplest example would be a three vector. For odd powers I want it to look like $$|\vec{v}|^n,$$ while ...
0
votes
1answer
48 views

Unknown Power showing up in Formula [closed]

I have the following worksheet below. (I took a screen shot because I didn't know how to type the code for the particular function). Circled in red are powers that shouldn't be there and yet ...
7
votes
0answers
150 views

How to write markdown with Mathematica?

Usually I typeset with Latex and Compute with Mathematica and then copy the outputs as Latex code and insert them in Latex, so I have to switch between Latex and Mathematica frequently. Thanks to the ...
9
votes
4answers
321 views

Interactively inspecting parts of an object

There have been times when I want to find the structure of an object in order to extract some part of it. For example, extracting the x and y coordinates from a Graphics object generated by Plot. I ...
2
votes
1answer
65 views

fields entry in ref/StreamPlot

In the ref/StreamPlot help file in Mathematica 10.0.2, we see the following image: Can someone explain how I would type this into an input cell?
2
votes
1answer
80 views

Change default output font globally

I'd like to change my default output font to "Helvetica Neue" in version 10. The following shows the only thing I have found in Option Inspector, which would ...
3
votes
1answer
46 views

How can I make the script level styles imitate TeX?

In math mode in $\TeX$, there are four styles that are used to determine what font will be used to typeset parts of a formula. In decreasing hierarchical order, they are, with default font size in ...
1
vote
1answer
46 views

MUnit unit tests for TraditionalForm formatting

I'm a strong proponent of unit tests and as such I'm using the MUnit framework from Wolfram Workbench on a regular basis. Many of the codes I'm working on also use ...
3
votes
1answer
123 views

How to prepare a Mma expression to insert it into Comsol?

Preamble Sometimes I have to solve nonlinear PDEs using Comsol. Often these equations I already have in Mma, written in a Mma notations. For this reason I would like to be able to transform them so ...
1
vote
2answers
100 views

How to turn an expression into a number

I am working with a function that computes the covariance between two variables. After computing this, I'd like to use Plot or Plot3D to see how this covariance depends on the parameters of the mean ...