1 | initial version |

One could directly define the variables as `σ1`

, ..., `σ5`

.

Note that in IPython (and in Jupyter), typing `\sigma`

followed by the TAB key displays `σ`

.

Here is a more old-fashioned way to get something like in the question.

```
sage: s = dict((i, SR.var(f's_{i}', latex_name=fr'\sigma_{{{i}}}')) for i in (1 .. 5))
sage: s[1] / s[2]
s_1/s_2
sage: show(s[1] / s[2])
```

$$ \frac{\sigma_1}{\sigma_2} $$

2 | No.2 Revision |

One could directly define the variables as `σ1`

, ..., `σ5`

.

~~Note that in ~~In IPython (and ~~in ~~Jupyter), ~~typing ~~type `\sigma`

~~followed by ~~and hit the TAB ~~key displays ~~to get `σ`

.

Other options include copy-paste, and switching to Greek keyboard. : )

Here is a more old-fashioned way to get something like in the question.

```
sage: s = dict((i, SR.var(f's_{i}', latex_name=fr'\sigma_{{{i}}}')) for i in (1 .. 5))
sage: s[1] / s[2]
s_1/s_2
sage: show(s[1] / s[2])
```

$$ \frac{\sigma_1}{\sigma_2} $$

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.