如何在 TeX 中输入 ὅπερ ἔδει δεῖξαι?

如何在 TeX 中输入 ὅπερ ἔδει δεῖξαι?

如何排版这个说法

在此处输入图片描述

如果我使用

\usepackage[default]{frcursive}

\usepackage[T1]{fontenc}

在我的 TEX 文件中?

答案1

使用pdfTeX(即使用latexpdflatex编译)和‘古’希腊语的音译:

\documentclass[12pt]{article}
\parindent0pt
\useackage[T1]{fontenc}%
\usepackage[utf8]{inputenc}% 
\usepackage[polutonikogreek,latin,english]{babel}

% switch to language environments  
\newcommand{\latin}[1]{%
          \foreignlanguage{latin}{#1}}
\newcommand{\grk}[1]{%
          \foreignlanguage{polutonikogreek}{#1}}

\begin{document} 

English: That which had to be demonstrated. 

Latin: \latin{Quod erat demonstrandum.}

% transliteration of ὅπερ ἔδει δεῖξαι     
Greek: \grk{<'oper >edei de~ixai.}

\end{document}

或者,使用XeTeX引擎(命令xelatex:):

\documentclass[12pt]{article}
\parindent0pt

\usepackage{fontspec}
\setmainfont{DejaVu Serif}% <-- pick a font with Greek characters
\usepackage{polyglossia}
\setdefaultlanguage{english}
\setotherlanguages{latin,greek}

\begin{document}

English: That which had to be demonstrated.

Latin: \textlatin{Quod erat demonstrandum.}

Greek: \textgreek{ὅπερ ἔδει δεῖξαι.}

\end{document}

相关内容