I am writing my master thesis and I want to write down a sentence in Greek. Some years ago I used in another project for the same situation:
\usepackage[polutonikogreek,english]{babel}
and when I had to write in Greek I was using:
\foreignlanguage{polutonikogreek}{...}
In my current project instead I have this kind of settings:
\documentclass[11pt, english, ...]
What I just tried to do then is adding the polutonikogreek to the document class. Unfortunately it didn't work. By searching online then I found people saying to add the greek.polutoniko and so it became:
\documentclass[11pt, english, greek.polutoniko, ...]
And the package is loaded. Then, in order to write the text in Greek, I should use:
\textgreek{...}
Unfortunately \textgreek{} is a call not recognized. So I moved forward and I saw some answers saying to use:
\usepackage{fontspec}
but it gives me back the error:
The fontspec package requires either XeTeX or LuaTeX.
You must change your typesetting engine to, e.g., "xelatex" or
"lualatex"instead of plain "latex" or "pdflatex".
So, at the end I wasn't able to write my sentence in Greek. Can you help me understanding how to do it please? Thanks in advance!
EDIT: This is my whole document class
\documentclass[11pt, english, singlespacing, headsepline, ]{MastersDoctoralThesis}



xelatexorlualatexthen? – Aug 30 '16 at 11:21greek.polutonikoto the document class, you should add it to thebabeloptions. Please copy-paste the document in that answer and test it in another empty file. – Alenanno Aug 30 '16 at 11:37articleclass? Please replace all the small code snippets in your question with a MWE (minimal working example). In this case it will be non-working, but load your document class and the sentence you want to write. – Alenanno Aug 30 '16 at 11:42\usepackage[greek.polutoniko,main=english]{babel}. Is the class available somewhere? – egreg Aug 30 '16 at 11:56