[Tex/LaTex] “Naive Bayes” or “Naïve Bayes” issue in the thesis

fonts

I'm revising my thesis. I'm in a U.S.A university (American English).

My Prof asks me to change "Naive Bayes" to "Naïve Bayes" in my thesis. However, things are not easy.

First thing is that how to add two dots above i. I solved this issue by using Microsoft Word, where "Naive" can be automatically converted to "Naïve". Then I copy it and paste to the Texmaker and run the LaTeX.

enter image description here

But the result is not what I want

enter image description here

Best Answer

Either use

Na\"ive

or add

\usepackage[utf8]{inputenc}

to your preamble, which will allow you to type

Naïve

Note that the longer Na\"{\i}ve is not required, unless your output encoding is T2A or similar that doesn't fully support the Latin alphabet.

Example

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

\begin{document}

Na\"ive

Na\"{\i}ve

Naïve

\end{document}

enter image description here

Related Question