4

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

12
  • 4
    Without showing the code you used to generate this it's hard to help. Are you using pdfLaTeX or XeLaTeX?
    – Alan Munn
    Apr 6, 2014 at 13:58
  • You can use xelatex or lualatexand use any Opentype font on your system that has greek and latin letters. For instance, Minion Proand Myriad Pro, that come with Adobe Reader, have monotonic greek, cyrillic and latin alphabet. The maths fonts are another problem.
    – Bernard
    Apr 6, 2014 at 14:07
  • I use pdfLaTeX and I don't wan't to use XeLaTex.
    – crow
    Apr 6, 2014 at 14:22
  • 2
    As @AlanMunn said, you need to post the code. Create a Minimal Working Example which demonstrates the problem. For example, a complete small document which produces the output above. Post the code so people can reproduce the issue. Right now we have no means of figuring out how to adapt your code because we don't know what your current code is.
    – cfr
    Apr 6, 2014 at 14:55
  • 1
    By default, LaTeX uses Computer Modern fonts for the Latin alphabet and the CBfonts for Greek; the CBfonts were designed by Claudio Beccari to accompany Computer Modern; if you look closely, the design of the common letters is the same.
    – egreg
    Apr 6, 2014 at 16:09

2 Answers 2

4

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

2

International language support may be helpful: see this page for Examples.

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english, greek]{babel}
\usepackage[T1, T2A]{fontenc}

\begin{document}

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

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

\begin{abstract}
A brief description of the main subject to be 
explained in the entire document.
\end{abstract}

\selectlanguage{greek}

Θε ασυμ μελιυς νονυμες φιμ, κυεμ περσεσυτι ρεπυδιανδαε φιξ εα. Δυο εα ιυσθο ρεπριμικυε, αλιι αεθερνο σριβενθυρ ατ πρω. Σιθ σονεθ νιηιλ ανιμαλ νε. Μει αδ βρυτε πωσε δισθας. Ιδ μεα χινς πριμα, δυο εα φερρι φασιλις ιμπερδιετ, ατ σασε φοσεντ λαβωραμυς υσυ. Εα φις κυεμ απειριαν.

\end{document}

enter image description here

1
  • 2
    Link only answers are discouraged on this site. Please add some code to demonstrate how to answer the user's question. Apr 6, 2014 at 16:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .