[tex-live] cheking available fonts Ancient Greek?

Pau vim.unix at googlemail.com
Fri Jul 1 16:25:04 CEST 2011


Hello,

I have this problem that I need a couple of paragraphs in Ancient
Greek in a very long document written in English, a book.

xelatex does the job but I have only managed to figure out a couple of
fonts for it to work with. For instance, Minion Pro will not work.

I am using now DejaVu Serif and Linux Libertine O because it has the
Ancient Greek option.

The problem is that the document is now written entirely in this new
font, which makes it much longer than the default
(\documentclass[a4paper,10pt,openright]{book}) and also that the
"Chapter" "Index" etc are now written in Ancient Greek.

Questions

(1) Which font is small and supports Ancient Greek?
(2) How to set back the "Chapter" etc to English?

Thanks

PS: Here is my header _is_ very complicated but I do not think that
this is the problem

This is my header now for including the few paragraphs in Ancient Greek:

\documentclass[a4paper,10pt,openright]{book}

\usepackage{natbib}
\setlength{\bibsep}{0.9pt}
%\usepackage{epubtk}
\usepackage{graphicx}
\usepackage{rotating}
\usepackage{amssymb,amsmath}
%\usepackage{booktabs}
\usepackage{color}
\usepackage{pstricks}
\usepackage{url}
\usepackage{lastpage}

\usepackage{fancyhdr}

\usepackage{fontspec}% provides font selecting commands
\usepackage{xunicode}% provides unicode character macros
\usepackage{xltxtra} % provides some fixes/extras

\usepackage[ancientgreek]{xgreek}

%\setmainfont[Mapping=tex-text]{Linux Biolinum O}
\setmainfont[Mapping=tex-text]{Linux Libertine O}
\DeclareSymbolFont{symbols}{OMS}{cmsy}{m}{n} % Per a tenir els simbols
                                             % normals encara que usem txfonts
%\usepackage{pifont}
\usepackage{hyperref} % Watch out: Using hyperref will not allow
                       % cited names to be broken at the end of line
\usepackage{changepage}
\usepackage{setspace}

%%%%%%%%%%%%%%%%%%%%% Format de cada pagina %%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                   %
\pagestyle{fancyplain}                                              %
\usepackage[Uwe]{fncychap} % forma alternativa de capitols          %
\addtolength{\headwidth}{\marginparsep}                             %
\addtolength{\headwidth}{\marginparwidth}                           %
% recorda't del titol del capitol                                   %
\renewcommand{\chaptermark}[1]%                                     %
                   {\markboth{#1}{}}                                %
\renewcommand{\sectionmark}[1]%                                     %
                   {\markright{\thesection\ #1}}                    %
                                                                    %
% per a deixar el centre de peu pagina buit                         %
\cfoot{\sc Pau Amaro-Seoane --                                      %
           Stellar dynamics in galactic nuclei and growth of MBHs}  %
                                                                    %
% donem un gruix a la linia de peu (default=0pt)                    %
%\footrulewidth 0.4pt                                                %
                                                                    %
% Pagines alternes + numero de la pagina; seccio i capitol          %
\rhead[]{\fancyplain{}{\bfseries\rightmark}}                        %
\rfoot[]{\fancyplain{}{\bfseries\thepage}}                          %
\lhead[\fancyplain{}{\bfseries\leftmark}]{}                         %
\lfoot[\fancyplain{}{\bfseries\thepage}]{}                          %
                                                                    %
% Llevem l'estil de la capcalera de les pagines senars buides       %
\makeatletter                                                       %
\def\cleardoublepage{\clearpage\if at twoside \ifodd\c at page\else%      %
\hbox{}%                                                            %
\thispagestyle{empty}%                                              %
\newpage%                                                           %
\if at twocolumn\hbox{}\newpage\fi\fi\fi}                              %
\makeatother                                                        %
                                                                    %
% Redefinicio de voreres...                                         %
                                                                    %
\setlength{\textwidth}{16.00cm}                                     %
\setlength{\textheight}{19.00cm}                                    %
\setlength{\oddsidemargin}{-0.0cm}%marge esquerre pag. senars       %
\setlength{\evensidemargin}{-0.0cm}%marge dret pag. parelles        %
                                                                    %
% Espai entre columnes                                              %
\setlength{\columnsep}{40pt}                                        %
                                                                    %
% Ratlla entre les columnes                                         %
\setlength{\columnseprule}{0.2pt}                                   %
                                                                    %
% Allunyem/ apropem la barra de baix                                %
% (com mes gran la xifra <positiva>, mes cap avall en pagina)       %
                                                                    %
\setlength{\footskip}{2.00cm}                                       %
                                                                    %
% Allunye la barra de dalt i baixe el cos del text                  %
\headsep = 50pt                                                     %
\topmargin = 10pt                                                   %
                                                                    %
% Per a deixar els peus de pagina sense ratlla:                     %
\renewcommand{\footnoterule}{}                                      %
%                                                                   %
% No m'agrada el 'contents' aquest, el lleve                        %
\renewcommand{\contentsname}{Index of the article}                  %
                                                                    %
% Idem 'Figure'                                                     %
\renewcommand{\figurename}{{\bf Fig.}}                              %
                                                                    %
% Per evitar que Latex fique les grafiques en pagines sense text    %
\renewcommand{\topfraction}{0.85}                                   %
\renewcommand{\textfraction}{0.1}                                   %
\renewcommand{\floatpagefraction}{0.75}                             %
                                                                    %
% Diferent tipus de lletra en peus de grafiques                     %
\newcommand{\captionfonts}{\small \sf}                              %
\makeatletter                                                       %
\long\def\@makecaption#1#2{%                                        %
\vskip\abovecaptionskip                                             %
\sbox\@tempboxa{{\captionfonts #1: #2}}%                            %
\ifdim \wd\@tempboxa >\hsize                                        %
    {\captionfonts #1: #2\par}                                      %
\else                                                               %
    \hbox to\hsize{\hfil\box\@tempboxa\hfil}%                       %
\fi                                                                 %
\vskip\belowcaptionskip}                                            %
\makeatother                                                        %
% Llevem l'efecte de \makeatletter                                  %
                                                                    %
% Nota: Cal emprar l'estil vell de \captionfont; o sia, \em en      %
% comptes de \emph                                                  %
%                                                                   %
%%%%%%%%%%%%%%%%%%%%% Format de cada pagina %%%%%%%%%%%%%%%%%%%%%%%%%


More information about the tex-live mailing list