最新的希腊文排版指示/建议方法是什么?

最新的希腊文排版指示/建议方法是什么?

我通常使用英文键盘打字,但输入希腊字母时我会使用希腊键盘。我通过引擎有自己的解决方法pdfLaTeX,但随着 LaTeX 的发展,似乎(至少对我来说)焦点越来越倾向于XeLaTeXand/orLuaTeX引擎。我想切换到这些引擎,但过去我使用希腊字体时运气不佳(更像是灾难)。所以,我想知道如何过渡,以及什么是最近/现代的“官方”希腊语排版方式中最好的方式。

以下是我通常需要的:

  • 交替使用希腊语和英语键盘,无需指定语言更改
  • 在数学模式下输入希腊文(与英文一起)
  • 在文本模式下输入希腊文(与英文一起)
  • 完全用希腊语(偶尔用英语)输入一份文件
  • (可选)能够输入希腊分号(άνω τελεία / ano teleia / 大点):unicode ->U+0387
  • (可选)使用希腊文字定义命令,例如\newcommand{\εντολή}{εντολή}

(好吧,最后一个非常牵强,但如果可能的话就太酷了。)

我知道特定的数学环境(例如proof或)abstract可能需要在序言中手动更改,但这没问题,因为这是一次性的事情。

为了保险起见,我将在这里发布我迄今为止使用的代码,以供参考。当然,前几行是重点。请注意,此代码仅适用于pdfLaTeX--- ,魔术注释除外:

% !TEX program = pdflatex
% !TEX TS-program = pdflatex

\documentclass[11pt]{amsart}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[LGR,T1]{fontenc} %%%%%%%%%%%%%%%%
\usepackage[utf8]{inputenc} %%%%%%%%%%%%%%%%%
\usepackage{lmodern} %%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[greek,english]{babel} %%%%%%%%%%% The latter language is the default. DO NOT change the language order.
\usepackage{alphabeta} %%%%%%%%%%%%%%%%%%%%%%
\usepackage{textcase} %%%%%%%%%%%%%%%%%%%%%%% This is needed when amsart class is loaded to avoid errors in the title.
\usepackage[style=greek]{csquotes} %%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% This code redefines the name macros.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Comment the following lines if this not needed.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\addto\captionsenglish{%%%%%%%%%%%%%%%%%%%%%% The babel necessitates the use of \addto\caption<language>
    \renewcommand*\abstractname{{Περίληψη}}%% [article/report class]
    \renewcommand*\appendixname{{Παράρτημα}}%
    \renewcommand*\bibname{{Βιβλιογραφία}}%%% [book/report class] %% does not work with biblatex package
    \renewcommand*\chaptername{{Κεφάλαιο}}%%% [book/report class]
    \renewcommand*\contentsname{{Περιεχόμενα}}%
    \renewcommand*\figurename{{Εικόνα}}%%%%%%
    \renewcommand*\indexname{{Ευρετήριο}}%%%%
    \renewcommand*\listfigurename{{Περιοχόμενα Εικόνων}}%
    \renewcommand*\listtablename{{Περιεχόμενα Πινάκων}}%
    \renewcommand*\partname{{Μέρος}}%%%%%%%%%
    \renewcommand*\prefacename{{Πρόλογος}}%%%
    \renewcommand*\proofname{{Απόδειξη}}%%%%%
    \renewcommand*\refname{{Αναφορές}}%%%%%%% [article class] %% does not work with biblatex package
    \renewcommand*\tablename{{Πίνακας}}%%%%%%
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Optional definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newtheorem{theorem}{Θεώρημα}[section] %%%%%%
\newtheorem{lem}[theorem]{Λήμμα} %%%%%%%%%%%%
\newtheorem{prop}[theorem]{Πρόταση} %%%%%%%%%
\newtheorem{cor}[theorem]{Πόρισμα} %%%%%%%%%%
\newtheorem{defin}[theorem]{Ορισμός} %%%%%%%%
\newtheorem{rem}[theorem]{Σημείωση} %%%%%%%%%
\newtheorem{rems}[theorem]{Σημειώσεις} %%%%%%
\newtheorem{ex}[theorem]{Πράδειγμα} %%%%%%%%%

相关内容