Greek Letter with subscript

I’m typing a question in a Note for my Statistics class and I need to show sigma with a subscript of x bar. I’m not sure how to do that since I am very new to using CL and coding in general. Any help will be greatly appreciated.

content: “`\sigma_{\bar{x}}`”

Does that do what you want?

Yes it does. Thank you so much!

1 Like

In general, if you look for how to do something in LaTeX, it transfers pretty nicely into the CL when you put the ` ` marks around a string.

Most Greek letters work (use a capital letter instead of a lowercase if you want the uppercase form of the Greek letter), and using underscores with brackets like w_{xyz} would put xyz as a subscript all attached to the w.

1 Like