# diacritical marks?

How do we do diacritical marks in Sage? They don't work in math mode in LaTeX, so I don't see how to get them in Sage and google doesn't turn up any results more recent than a 2008 complaint.

diacritical marks?

0

Aha!
Sage's interface for text cells has a "Special Characters" button (looks like a capital omega) that allows one to insert certain letters with diacritical marks.

For marks that are not there (such as the Erdos mark, which *should* be there), one can use an HTML code from a table and insert it using the HTML button in the text-cell interface.
(Thanks to Hannah Alpert for finding these solutions.)

0

Asked: **
2014-07-08 14:55:27 -0500
**

Seen: **141 times**

Last updated: **Jul 08 '14**

I need help with Sagetex/Sage (normal form&data file useage)

Typesetting of help output in notebook?

Typesetting environment in notebook

firefox on MS Windows fails to show matrix parentheses

typesetting simple nth root using radical

Automatic typesetting in Jupyter

How to do latex typesetting in asksage

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.

Can you be more precise about what you want to do? Are you using Sage on your computer, online, in command-line, in a notebook? Do you want to name a variable or function some name with diacritical marks, such as `café = 3` or def café(x): return coffee(x)`? Do you want to use filenames that contain diacritical marks? Do you want to include comments with diacritical marks in your code?

In a notebook, using the shift-click cells, where LaTeX automatically compiles on save.

I just wrote "Trying to write things like élan." in such a text cell with no problems... Anything [Mathjax](http://www.mathjax.org/) can do should be doable in the notebook there.

Well, when I write \'elan in LaTeX, I get a diacritical mark. But when I write it in the sage text cell, I get...\'elan. Searching the mathjax documentation for 'diacritical' doesn't turn up any results.