Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 12

Questions about solutions and support for mathematical typesetting and layout, and the appearance of elements in input and output as displayed by the front-end.

1 vote

3D image display with different viewpoints

If your graphics are not too complex, we can deploy them to the cloud and get an interactive, rotatable object. Try this: CloudDeploy[ Plot3D[Sin[x^2 + y^2], {x, -2, 2}, {y, -2, 2}] ] You'll get …
Szabolcs's user avatar
  • 236k
4 votes
Accepted

Change default color when printing a string using Print[]

You can edit the notebook's stylesheet and change the Print style. Choose Format -> Edit Stylesheet... Add a new cell. Reveal the cell expression (Command-Shift-E). Change to the following or simi …
Szabolcs's user avatar
  • 236k
2 votes

How to display results this way: « 0.0000000000000000e+00f »?

As I understand, you want to generate some C code which represents an array of 3D coordinates, created with SpherePoints. You can do this with string processing and CForm. Example: coordsToC3D[coord_ …
Szabolcs's user avatar
  • 236k
26 votes
Accepted

What does DisplayFunction->Identity do to graphics functions?

Before version 6, graphics did not display immediately after evauating the (inert) Graphics[] expression. They could be shown using the Show command (it was a side-effect of Show). … Edit: There are still a number of display mechanisms that use DisplayFunction. One is <<Version5`Graphics` mentioned by @Mr.Wizard. …
Szabolcs's user avatar
  • 236k
10 votes
Accepted

Display a list or array as a centred triangle

You could do it like this: arr = {{2, 1, 0, 0}, {1, 0, 0}, {0, 0}, {0}}; With[ {r = Riffle[#, ""] & /@ arr}, {l = Max[Length /@ r]}, Grid[CenterArray[#, l, ""] & /@ r] ] CenterArray is new in …
Szabolcs's user avatar
  • 236k
9 votes
Accepted

How to extract input part of a notebook?

I see three ways: Copy and paste everything into a new notebook (to ensure we don't destroy the output for good). Then select Cell -> Delete All Output from the menu. alt-click (⌥-click on a Mac) o …
Szabolcs's user avatar
  • 236k
17 votes

Trial version 10 vs Version 10 Prerelease 13

Here are three progressively more intrusive steps to troubleshoot Mathematica. Hold down Shift-Control (Shift-Command on Mac) while starting Mathematica, as described here. If this didn't fix the …
Szabolcs's user avatar
  • 236k
3 votes

ToExpression from commandline

This is not a bug. It is a well known limitation when running the kernel on a headless server on Linux. Some operations require the Front End. Importing TeX is such an operation. The Front End req …
Szabolcs's user avatar
  • 236k
3 votes

Mathematica to Microsoft Word to PDF workflow

For equations: Copy as MathML, then paste into Word. This will create a proper equation in Word. Should work with Word versions that support the new-style equation editor, both on Windows and Mac. …
Szabolcs's user avatar
  • 236k
3 votes
Accepted

Transpose a ragged triangular matrix and display as columns rather than rows

For simply transposing a ragged array, see Transpose uneven lists For displaying various transpositions both as upper or lower triangular formats, pad the array before display: Transpose@PadRight[ragged …
Szabolcs's user avatar
  • 236k
9 votes

Any way to make my equations look better, more Latex like?

You can use MaTeX to get $\LaTeX$ formatting directly: MaTeX["\\frac{1}{N}{\\sum _{i=1}^N \\frac{\\tilde{x}_j^i(k|k)}{\\sqrt{P_{\\text{jj}} (k|k)}}}"] MaTeX can also be applied directly to Mathem …
Szabolcs's user avatar
  • 236k
4 votes

Ugly fraction in a label

Update: According to the OP's comment, he is looking for a solution that works in Mathematica 7. MaTeX requires Mathematica 10. I am leaving this answer here in case others find it useful, but note …
Szabolcs's user avatar
  • 236k
6 votes

Ugly fraction in a label

Based on @Mike's answer here, add ScriptLevel -> 1 to Style. Mathematica uses the ScriptLevel value to determine when it should decrease the font size in equations. The script level increases with …
Szabolcs's user avatar
  • 236k