我正在通过包使用Times
字体作为我的主要文本newtxtext
。我有希腊文和拉丁文。问题是目录中Computer modern
不时出现希腊字体。这是我得到的:
第一行希腊文(Logos-sarx)需要加粗,而Computer Modern
需要使用适合 Helvetica 的字体(用于“Ein in Fleisch gekleideter Gott”这一行的部分)。
这是我的 MWE:
\documentclass[10pt,a4paper,twoside]{scrbook}%
\usepackage[dvips=false,pdftex=false,vtex=false]{geometry}
\geometry{
paperwidth=155mm,
paperheight=230mm,
inner=25mm,
outer=23mm,
bottom=20mm,
top=27mm
}
\usepackage[polutonikogreek,ngerman]{babel}%
\usepackage[utf8]{inputenc}%
\usepackage[T1]{fontenc}%
\usepackage{anyfontsize}
\usepackage{longtable}%
\usepackage{tabularx}%
\usepackage{array}%
\usepackage{float}%
\usepackage{setspace}%
\usepackage{tabto}%
\usepackage[font=small]{caption}
\usepackage{scrlayer-scrpage}
\usepackage{graphicx}%
\usepackage{nameref}%
\usepackage{xpatch}%
\usepackage{morewrites}
\usepackage{blindtext}
\usepackage{rotating}%
\usepackage[textwidth=2cm, textsize=tiny, backgroundcolor=white, linecolor=black]{todonotes}%
\usepackage{acronym}
\usepackage{bookmark}
\usepackage{xcolor}
\usepackage{mdwlist}
\usepackage{titlesec}
\usepackage{mathptmx}
\usepackage[normalem]{ulem}
\usepackage{newtxtext}% Times font
\usepackage{newtxmath}% if you need math
\usepackage{substitutefont}
\substitutefont{LGR}{\familydefault}{Tempora-TLF}
\AtBeginDocument{%
\sbox0{\grk{A}%
\global\expandafter\let
\csname LGR/Tempora-TLF/m/sc\expandafter\endcsname
\csname LGR/Tempora-TLF/m/n\endcsname
}}
\usepackage{textcomp}%
%
%
% TEXT
%
\renewcommand{\baselinestretch}{1.2}% TEXT SPACING
%
\renewcommand{\arraystretch}{1.25}
%
\newcommand{\grk}[1]{{\foreignlanguage{polutonikogreek}{#1}}}% GREEK TEXT
\newcommand{\lat}[1]{\emph{{#1}}}% LATIN TEXT
%
%
% BIBLATEX:%
%
\usepackage[style=historische-zeitschrift, maxnames=2, hyperref=false, backref=true, backrefstyle=none, backend=bibtex,idemtracker=true, block=none]{biblatex}% change to hyperref=true to get clickable links
\usepackage[babel,german=quotes]{csquotes}%
\bibliography{Inhalt}
%
%
%
% REDESIGNING TITLE STYLES (REQUIRES TITLESEC)
%
\titleformat{\chapter}[display]% CHAPTER
{\fontsize{11}{12}\selectfont\scshape\centering}
{\scshape\chaptertitlename\ \thechapter.\enskip}{1pt}{\fontsize{11}{12}\selectfont}
\titlespacing*{\chapter}{0pt}{30pt}{30pt}% FIRST NUMBER BEFORE LAST NUMBER AFTER
\titleformat{\section}[block]% SECTION
{\fontsize{10.5}{8}\selectfont\centering}
{\thesection.\enskip}{1pt}{\fontsize{10.5}{8}\selectfont}
\titlespacing*{\section}{0pt}{15pt}{15pt}% FIRST NUMBER BEFORE LAST NUMBER AFTER
\titleformat{\subsection}[block]% SUBSECTION
{\fontsize{10.5}{8}\selectfont\centering\itshape}
{\itshape\thesubsection.\enskip}{1pt}{\fontsize{10.5}{8}\selectfont}
\titlespacing*{\subsection}{0pt}{15pt}{10pt}% FIRST NUMBER BEFORE LAST NUMBER AFTER
%
%
\begin{document}%
%
%
\frontmatter
\tableofcontents
\pagestyle{scrheadings}%
\chapter{\grk{L'ogoc-s'arx} – Ein in Fleisch gekleideter Gott}\thispagestyle{empty}
\section{\grk{<Omoo'usios} – Der gottgleiche Sohn}
\blindtext
\begin{quote}\grk{o>uko~un t~w m`en >agenn'htw patr`i o>ike~ion >ax'iwma fulakt'eon, mhd'ena to~u e@inai a>ut~w t`on a>'ition l'egontas; t~w d`e u<i~w t`hn <arm'ozousan tim`hn >aponemht'eon, t`hn >'anarqon a>ut~w par`a to~u patr`os g'ennhsin >anatij'entas; ka`i <ws >efj'asamen a>ut~w s'ebas >apon'emontes, m'onon e>usebos ka`i e>uf'hmws t`o @hn ka`i t`o >ae`i ka`i t`o pr`o a>i'wnwn l'egontes >ep> a>uto~u, t`hn m'entoi je'othta a>uto~u m`h paraito'umenoi, >all`a t~h e>ik'oni ka`i t~w qarakt~hri to~u patr`os >aphkribwm'enhn >emf'ereian kat`a p'anta >anatij'entes, t`o d`e >ag'ennhton t~w patr`i m'onon >id'iwma pare~inai dox'azontes, <'ate d`h ka`i a>uto~u f'askontos to~u swt~hros; »<o pat'hr mou me'izwn mo'u >estin«.}\end{quote}
\blindtext
\cleardoublepage
\end{document}%