# Questions tagged [subscript]

The tag has no usage guidance.

119 questions
Filter by
Sorted by
Tagged with
286 views

### How to simplify and rearrange a mathematical expression with quantities that have subscripts

I'm trying to simplify and rearrange the mathematical expression $\text{d$\xi $} \left(k_1+k_2\right)+\text{dt} \left(k_1 \left(l_1-x_1\right)\right)+\text{dt} \left(k_2 \left(x_2-l_2\right)\right)$, ...
• 155
1 vote
68 views

### How to convert symbols like x1 to $x_1$, but handle differentials like dH1 to $dH_1$ in Mathematica?

I need help with a symbol transformation in Mathematica. I want to convert symbols such as x1 to Subscript[x, 1], but I need to handle differentials (as simple ...
• 155
47 views

### LaTeX symbols inside Expectation [duplicate]

I use LaTeX in my Mathematica code (using "^+4"), and was surprised that the first line in the code below evaluates correctly, but the second (essentially identical) line does not: ...
136 views

### Work around for subscripts and superscripts in text cells reverting to SuperScript[...]

Seemingly randomly nicely formatted superscripts and subscripts (e.g. to look like $f_1$) in math in text cells will revert to their long form e.g. Subscript[f, 1]. ...
• 4,651
95 views

### Derivatives and subscripts [closed]

Is there a way to declare that subscripted letters are not functions of the letter? By default, this happens: ...
113 views

### Converting Unicode Number Subscripts to Standard Mathematica Subscript Notation

I am importing data data={"t*α₁","α₁*α₄"} But unfortunately, all of the subscripts are in Unicode: ...
• 267
1 vote
76 views

### Importing equations with subscripts from LaTeX and solving them [closed]

Here is a simple system of equations, copied from LaTeX: ...
• 1,982
1 vote
79 views

### Two Subscript/Superscript questions

In mathematica code, I have a table of quantities that involve subscripts and superscripts. I need to put short text titles in the first row of the table. Suppose I have index1="A", index2=&...
• 445
1 vote
93 views

• 163
44 views

### Replace Subscripts in FindRoot solution to a boundary-value problem

FindRoot has a nice example to solve a boundary-value problem for a second-order ordinary differential equation using "collocation points" to turn the ODE ...
39 views

### One as Subscript and Supersripts

I am trying writing code with a lots of symbols and their products. There is an issue with the appearance of "1" as an index. e.g. Subscript[[Delta], 1 n] Why "1" does not appear ...
• 575
123 views

### How to clear a function with subscript?

How to clear a function like Subscript[f, n_][x_] := x f[x - 1] + n; ClearAll[f] didn't work.
• 193
107 views

### SubscriptBox Text font in Graphics[Text[Style["..."]]]

In this code in Graphics and Text Style, Graphics[Text[ Style["!(N_b)\n U(1!(*SubscriptBox[()), (V)])"]]] I obtain the $V$ in italic font, but I wanted ...
• 923
1 vote
217 views

### Using subscripts when defining function

My goal is to use subscripts in arguments when defining function. I tried as below. It is simple addition. But it does not work. It should be 3. What went wrong? ...
• 648
68 views

### How to make assertions for subscripted variables?

I'm trying to write a formula using subscripted variables like x₁, x₂, x₃, ..., so that I can later retrieve their values programmatically. However, I'm struggling ...
• 101
98 views

Could anyone please help with effectively defining a vector-valued function of tons of variables so that ...
58 views

### Is always possible to define a numerical value using subscript?

In this code I defined some values using subscripts and it is not the first time I did this but strangely the code execution crashes. To follow the code. ...
82 views

### Probably easy question: How to make the Text font in the subscript?

In the specific Graphic setting, precisely (somehow \ ( and \ ) are not shown properly below in Stackexchange window) Graphics[Text[Style["\ !\ (1234_L\ )",LineSpacing->{0,12}],{0,3}]] ...
• 923
98 views

• 101