[Tex/LaTex] Different fonts per language

fonts

I am using Greek, English babel. For some reason when I generate the pdf there are different fonts for greek and different for english. How can I use the same fonts and are the fonts machine dependent? See image:

enter image description here

Best Answer

This answer demonstrates some of the possibilities described in the LaTeX Font Catalogue. The sample text is from Lou's answer. The sample maths is from kerkis's documentation.

Latin, Greek & Maths

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[greek, english]{babel}
\usepackage[T1]{fontenc}
% uncomment as desired
% \usepackage{kmath,kerkis}
% \usepackage{gfsartemisia}
% \usepackage{gfsartemisia-euler}

\begin{document}

\selectlanguage{greek}
Φιμ αδ σαπιενθεμ εξπετενδα περσιπιθυρ. Αδ συμμο περσιπιθ ελεστραμ φις. Ευ σαυσαε περσιπιθυρ σιθ, ηις αυγυε ασομμοδαρε ευ. Ιν ορναθυς ινσωλενς δεσερυντ περ, εσθ ει αδμοδυμ ινσωλενς αντιωπαμ.

\selectlanguage{english}
This text will be in English. The elements within this block of text will also be set in the right language.

\[
    \sum_{i=1}^{+\infty} \frac{1}{n^2} = \frac{\pi^2}{6}
\]   

\end{document}

Kerkis

This is the solution mentioned by the OP in comments on the original question:

Kerkis

GFS Artemisia

Pulls in some elements from Nimbus Roman No9:

GFS Artemisia

GFS Artemisia with Euler maths

GFS Artemisia with Euler maths

Latin & Greek (No Maths)

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[greek, english]{babel}
\usepackage[T1]{fontenc}
% uncomment as required
% \usepackage{dejavu}
% \usepackage[default]{gfsbodoni}
% \usepackage{gfsdidot}

\begin{document}

\selectlanguage{greek}
Φιμ αδ σαπιενθεμ εξπετενδα περσιπιθυρ. Αδ συμμο περσιπιθ ελεστραμ φις. Ευ σαυσαε περσιπιθυρ σιθ, ηις αυγυε ασομμοδαρε ευ. Ιν ορναθυς ινσωλενς δεσερυντ περ, εσθ ει αδμοδυμ ινσωλενς αντιωπαμ.

\selectlanguage{english}
This text will be in English. The elements within this block of text will also be set in the right language.

\end{document}

DejaVu

DejaVu

GFS Bodoni

GFS Bodoni

GFS Didot

GFS Didot

GFS Baskerville with BaskervaldADF

To combine fonts it is useful to define commands to combine font and language switches:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[greek, english]{babel}
\usepackage[T1]{fontenc}
\usepackage{baskervald}% Latin Baskerville substitute; Libre Baskerville would be an alternative
\usepackage{gfsbaskerville}% Greek Baskerville
\newcommand{\switchtogreek}{%
  \fontencoding{LGR}\fontfamily{gfsbaskerville}\selectfont\selectlanguage{greek}}
\newcommand{\switchtoenglish}{%
  \fontencoding{T1}\fontfamily{ybv}\selectfont\selectlanguage{english}}

\begin{document}

\switchtogreek
Φιμ αδ σαπιενθεμ εξπετενδα περσιπιθυρ. Αδ συμμο περσιπιθ ελεστραμ φις. Ευ σαυσαε περσιπιθυρ σιθ, ηις αυγυε ασομμοδαρε ευ. Ιν ορναθυς ινσωλενς δεσερυντ περ, εσθ ει αδμοδυμ ινσωλενς αντιωπαμ.

\switchtoenglish
This text will be in English. The elements within this block of text will also be set in the right language.

\end{document}

GFS Baskerville with BaskervaldADF

Related Question