URW Gothic 是否支持希腊语pdflatex
?如果没有,是否有办法使用 URW Gothic 或任何TeX Gyre family
希腊语字体pdflatex
?
答案1
您可以使用 NeoHellenic 字体替换希腊字体,这也是一种无衬线字体。目前没有可用的希腊版 Avant Garde/URW Gothic。
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[greek,english]{babel}
\usepackage{avant} % uses URW Gothic
\renewcommand{\familydefault}{\sfdefault}
\DeclareFontFamilySubstitution{LGR}{\sfdefault}{neohellenic}
\begin{document}
This is English text in Avant Garde (actually URW Gothic)
and then there will be Greek text in NeoHellenic.
\begin{otherlanguage*}{greek}
Ἡ ταχεία καὶ εὐρεία ἔκθεση τοῦ κοινοῦ στὴ νέα αὐτὴ ἐπικοινωνιακὴ
γλώσσα δὲν ἄφησε ἀνεπηρέαστο τὸν ρόλο τῆς τυπογραφίας σὲ σχέση
μὲ τὴ λογοτεχνικὴ καὶ τὴν εἰκαστικὴ παραγωγὴ τῆς περιόδου.
\end{otherlanguage*}
\end{document}
答案2
URW 哥特式https://tug.org/FontCatalogue/urwgothic/或先锋派,
\usepackage{avant}
\renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif
\usepackage[T1]{fontenc}
它不支持希腊字母。我建议使用 Avant Gard (fontfamily pag
) 的折衷解决方案,
\usepackage[euler]{textgreek} %%%% for greek letters
\usepackage{eulervm}%%%%%%%%%% for math-mode with the same style of the greek letters
使用引擎pdfLaTeX
:
\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\renewcommand{\sffamily}{pag}
\renewcommand{\familydefault}{\sffamily}
\usepackage[euler]{textgreek}
\usepackage{eulervm}
\begin{document}
Avant gard with greek, \textbf{bold} \textit{letter} \textalpha, \textbeta \[\sum^{n}_{i=1}{n} f_i(x)\]
\end{document}