# Scandinavian letter Ø triggers math error

I'm writting an article in Norwegian, and thereby I'm required to use \usepackage[utf8]{inputenc}.

This package allows my name to be spelled correctly (Øyvind). But some of my Ø's result in a math error. The result of some Ø's is here (omegas are replacements for Ø apparently)

If I change the package to \usepackage[T1]{fontenc}, no error and no warnings are displayed (but also no scandinavian letters). However \usepackage[utf8]{inputenc} results in 10+ errors with only 20% of the letters displayed correctly.

My current test document consists of

\begin{article}
hello Æ Ø Å\\
hello ÆØÅ
æøå
\end{article}


with the results: ( The two coloumns article style makes the newline appears like a hskip) The first two lines here are displaying the letters correctly, but the last is not..

Any idea why? and how to solve that?

Im using this template: PNAS Journal, article with two coloumns

tnx Ø

• Please make your code snippet compilable! – Mensch Feb 5 '18 at 9:49
• Please post a complete minimal example. I just tried your code snippet (where "article" is replaced by "document") and prefixed it with "\documentclass{article}" and "\usepackage[utf8]{inputenc}" and got no errors. So your problem must lie in the rest of the preamble and/or if you use pdflatex, lualatex, ... - Also, please post the actual error messages. – DCTLib Feb 5 '18 at 9:50
• if the letters are working before you added [utf8] the file is not stored in UTF-8 (it is probably in latin-1 (iso-8859-1)) so use \usepackage[latin1]{inputenc} or save the file in UTF-8 using your editor. – David Carlisle Feb 5 '18 at 10:01
• Please, make the minimal example complete with the preamble, from \documentclass to \end{document}. – egreg Feb 5 '18 at 11:57
• If you're using pnastwo, you're basically doomed, because the class uses quite nonstandard methods for loading fonts. If you prefer to use blatantly wrong instead of quite nonstandard, you may be nearer to the truth. – egreg Feb 5 '18 at 16:07