* Gildas Hamel (gwel...@ucsc.edu) wrote: |> * George (pinkisntw...@gmail.com) wrote: |> |> I'm trying to compile a document that has both English and Greek text. |> |> I tried with polyglossia which uses the correct hyphenation for each |> |> language but ignores my selection for the English font (and not for |> |> the Greek for some reason). I try with plain xelatex and it uses the |> I just realized it might be simpler with the following:
========================== \documentclass[12pt]{article} \usepackage{fontspec} \usepackage{polyglossia} \setdefaultlanguage{greek} \setotherlanguage{english} \pagestyle {empty} \usepackage[a4paper,margin=1.2in]{geometry} \setmainfont[Mapping=tex-text, Numbers=OldStyle] {Linux Libertine O} % the only font needed %\newfontfamily\greekfont{Linux Libertine O} %\newfontfamily\englishfont[Numbers=OldStyle]{Linux Libertine O} \begin {document} \section* {Εκπαίδευση} \begin {description} \parindent=20pt \item \textenglish{[2003--2009:] Τ.Ε.Ι.} Πειραιά, Πτυχίο Ηλεκτρολογίας με βαθμό ``Λίαν Καλώς'', 6.74/10. O τίτλος της Πτυχιακής μου Εργασίας ήταν ``Ανάλυση Μη Γραμμικών Κυκλωμάτων'' και παρουσίαζε μεθόδους ανάλυσης κυρίως ηλεκτρονικών κυκλωμάτων σε ηλεκτρονικό υπολογιστή. \end {description} \end {document} ======================== -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex