Is it possible to compile the following example using pdfLaTeX showing the correct font for greek text, and not the default CMR?
\documentclass[a4paper]{article}
\usepackage[english,greek]{babel}
\usepackage[iso-8859-7]{inputenc}
\usepackage{tgheros}
\usepackage[T1]{fontenc}
\begin{document}
\section{Εισαγωγή}
Αυτό είναι ελληνικό κείμενο.
\selectlanguage{english} this is latin text.
\selectlanguage{greek} και αυτό είναι ελληνικό κείμενο.
\[
a = b + \gamma
\]
\end{document}
\pdfmapline{=cmr10 CMR10 <<lmroman10-regular.otf}
.pdflatex
. If that in fact was not your question, you should have asked what you actually wanted to accomplish (which seems to be "how to write Greek withpdflatex
"). So please ask what you actually want to accomplish, otherwise the question will be closed.kerkis
andtgheros
are LaTeX fonts, not Unicode fonts. I don't understand what you're getting at now. Please edit your question and ask what you actually want to ask. Otherwise, as said, the question will be closed as it's not clear what you're asking.