Igor Abreu
Igor Abreu

Reputation: 211

MathJax - Live Preview LaTeX to Unicode

How can I show into MathJax live preview the word "ñ"?

I've tried to insert This latex name Mu\~{n}oz in http://www.mathjax.org/demos/scaling-math/ But the \~{n} is not replaced to ñ

Upvotes: 2

Views: 394

Answers (1)

Werner
Werner

Reputation: 15065

In LaTeX one may use \~ or the Unicode input itself:

enter image description here

\documentclass{article}
\usepackage[utf8]{inputenc}
\begin{document}

This \LaTeX{} name Mu\~{n}oz Muñoz.

\end{document}

MathJax is limited, but it does support using the Unicode character as input when you use:

\hbox{This LaTeX name Muñoz}

enter image description here

Note the switch to "text mode" via \hbox.

Upvotes: 1

Related Questions