Skip to main content

Questions tagged [formatting]

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

3 votes
2 answers
222 views

I'm producing a lot of data which I want to save to a file in tab-separated format: $\begin{matrix}x_1&&f(x_1)\\x_2&&f(x_2)\\x_3&&f(x_3)\\&\ldots\end{matrix}$ I'd like ...
Rain's user avatar
  • 768
0 votes
0 answers
44 views

When I write my notebooks I usually use English in the text cells. However, in some cases, I need to write in Russian or German. Then the German or Russian text appears underlined. Please find below ...
Alexei Boulbitch's user avatar
2 votes
0 answers
92 views

I'm not sure if this is appropriate to ask here, but I'm using the official Wolfram Language extension from Wolfram Research in VS Code to write code in .m files. I'...
internet's user avatar
  • 1,417
1 vote
2 answers
188 views

Do you know of a direct way to fix the following code in order for it to print every integer $k$ in the interval $[1, 5]$, a blank space, and aftewards its square $k^2$? ...
Jamai-Con's user avatar
  • 183
3 votes
2 answers
250 views

I have a $\LaTeX$ equation that contains coefficients of the form $\delta x_1^{-1}$ and $\delta x_1^1$. I would like to convert them from TeXForm to Mathematica <...
Gallagher's user avatar
  • 1,038
0 votes
0 answers
88 views

My goal is to display 1 by 1 matrix to scalar form in MatrixForm. MatrixForm[result] below displays ...
Soon's user avatar
  • 1,484
3 votes
1 answer
201 views

My goal is to input multiple lines in the same cell and prepend line numbers when outputting. I've tried within my knowledge, but as you can see, Row[] and ...
Soon's user avatar
  • 1,484
3 votes
1 answer
128 views

I have a set of differential equations which I have solved, and I am plotting the results. There are three figures in total, and they share the same scale in their x axes. I want to stack these ...
Jpmg's user avatar
  • 151
8 votes
1 answer
323 views

In the following example, one can see that the vertical sizes of square roots are unequal, because y has a descender: ...
LittleCat1's user avatar
7 votes
3 answers
379 views

I'm conducting compositions of piecewise functions and Mathematica is producing correct output but I want to reorder the output on the interval [0,1]. For example the code below ...
user42700's user avatar
  • 2,027
6 votes
1 answer
234 views

I am using Mathematica 14.0 Too much screen time is taking a toll on my eyes. I figured that it would be nice if I could make Mathematica function in "dark mode". I found this "...
Astor Florida's user avatar
4 votes
1 answer
259 views

I am using the MaTeX package so that symbols can have a widehat over them, e.g., $\widehat{X}$. In particular, here is the code I am using: ...
user107421's user avatar
3 votes
0 answers
106 views

Is there any trick to copying and pasting code that keeps the formatting in an input cell in Mathematica? For example, the code below from ChatGPT is nicely formatted. However, when I paste it into an ...
internet's user avatar
  • 1,417
4 votes
1 answer
204 views

Is there a safe way to turn numbers written in the form of 5*^7 and 3*^-5 etc. into strings without changing the writing, ideally compatible with other number forms? ...
user13253's user avatar
  • 8,764
0 votes
1 answer
86 views

I have the following code that takes the complement of each element in a vector of three variables and creates three additional vectors based on the complements of each element. ...
Emad kareem's user avatar
  • 1,185

15 30 50 per page
1
2 3 4 5
147