我有以下代码:
\documentclass{beamer}
\usefonttheme{professionalfonts}
\mode<presentation> {
\usetheme{Luebeck}
}
\usepackage{newtxtext,newtxmath}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\usepackage[english,greek]{babel}
\usepackage{stackengine}
\providecommand{\myceil}[1]{\left \lfloor #1 \right \rfloor }
\usepackage{ragged2e}
\apptocmd{\frame}{}{\justifying}{}
\title[Βέλτιστοι Πειραματικοί Σχεδιασμοί]{Βέλτιστοι Πειραματικοί Σχεδιασμοί
με Παράγοντες σε δύο και περισσότερα Επίπεδα} % The short title appears at
the bottom of every slide, the full title is only on the title page
\author{Χασιώτης Α. Βασίλειος} % Your name
\institute[Α.Π.Θ.] % Your institution as it will appear on the bottom of
every slide, may be shorthand to save space
{
Αριστοτέλειο Πανεπιστήμιο Θεσσαλονίκης \\ % Your institution for the title
page
\medskip
\textit{\textlatin{[email protected]}} % Your email address
}
\date{\today} % Date, can be changed to a custom date
\begin{document}
\begin{frame}
\titlepage % Print the title page as the first slide
\end{frame}
\begin{frame}
\frametitle{$2^k$ Μη Πλήρεις Παραγοντικοί Σχεδιασμοί Εκτιμητικής Τάξης ΙΙΙ}
\textbf{Θεώρημα}\\
\textbf{\textlatin{Moyssiadis \& Kounias}}
\end{frame}
\end{document}
“Moyssiadis & Kounias” 加粗了,但“Θεώρημα” 一词却没有加粗。我认为问题在于“Θεώρημα” 一词是希腊语。如何解决?
如果我使用包 packagetempora
而不是newtxtext
我会出现以下错误:
Glyph not defined in PD1 encoding,(hyperref) removing `\textChi'
Glyph not defined in PD1 encoding,(hyperref) removing `\textalpha'
Glyph not defined in PD1 encoding,(hyperref) removing `\textsigma'
Glyph not defined in PD1 encoding,(hyperref) removing `\textiota'
Glyph not defined in PD1 encoding,(hyperref) removing `\ensuregreek'
Glyph not defined in PD1 encoding,(hyperref) removing `\acctonos'
Glyph not defined in PD1 encoding,(hyperref) removing `\textomega'
Glyph not defined in PD1 encoding,(hyperref) removing `\texttau'
Glyph not defined in PD1 encoding,(hyperref) removing `\texteta'
Glyph not defined in PD1 encoding,(hyperref) removing `\textvarsigma'
Glyph not defined in PD1 encoding,(hyperref) removing `\textAlpha'
Glyph not defined in PD1 encoding,(hyperref) removing `\textBeta'
Glyph not defined in PD1 encoding,(hyperref) removing `\textalpha'
Glyph not defined in PD1 encoding,(hyperref) removing `\textsigma'
Glyph not defined in PD1 encoding,(hyperref) removing `\ensuregreek'
Glyph not defined in PD1 encoding,(hyperref) removing `\acctonos'
Glyph not defined in PD1 encoding,(hyperref) removing `\textiota'
Glyph not defined in PD1 encoding,(hyperref) removing `\textlambda'
Glyph not defined in PD1 encoding,(hyperref) removing `\textepsilon'
Glyph not defined in PD1 encoding,(hyperref) removing `\textiota'
Glyph not defined in PD1 encoding,(hyperref) removing `\textomicron'
Glyph not defined in PD1 encoding,(hyperref) removing `\textvarsigma'
Glyph not defined in PD1 encoding,(hyperref) removing `\textBeta'
Glyph not defined in PD1 encoding,(hyperref) removing `\ensuregreek'
Glyph not defined in PD1 encoding,(hyperref) removing `\acctonos'
Glyph not defined in PD1 encoding,(hyperref) removing `\textepsilon'
Glyph not defined in PD1 encoding,(hyperref) removing `\textlambda'
Glyph not defined in PD1 encoding,(hyperref) removing `\texttau'
Glyph not defined in PD1 encoding,(hyperref) removing `\textiota'
Glyph not defined in PD1 encoding,(hyperref) removing `\textsigma'
Glyph not defined in PD1 encoding,(hyperref) removing `\texttau'
Glyph not defined in PD1 encoding,(hyperref) removing `\textomicron'
Glyph not defined in PD1 encoding,(hyperref) removing `\textiota'
Glyph not defined in PD1 encoding,(hyperref) removing `\textPi'
Glyph not defined in PD1 encoding,(hyperref) removing `\textepsilon'
Glyph not defined in PD1 encoding,(hyperref) removing `\textiota'
Glyph not defined in PD1 encoding,(hyperref) removing `\textrho'
Glyph not defined in PD1 encoding,(hyperref) removing `\textalpha'
Glyph not defined in PD1 encoding,(hyperref) removing `\textalpha'
Glyph not defined in PD1 encoding,(hyperref) removing `\texttau'
Glyph not defined in PD1 encoding,(hyperref) removing `\textiota'
Glyph not defined in PD1 encoding,(hyperref) removing `\textkappa'
Glyph not defined in PD1 encoding,(hyperref) removing `\textomicron'
Glyph not defined in PD1 encoding,(hyperref) removing `\ensuregreek'
Glyph not defined in PD1 encoding,(hyperref) removing `\acctonos'
Glyph not defined in PD1 encoding,(hyperref) removing `\textiota'
Glyph not defined in PD1 encoding,(hyperref) removing `\textSigma'
Glyph not defined in PD1 encoding,(hyperref) removing `\textchi'
Glyph not defined in PD1 encoding,(hyperref) removing `\textepsilon'
Glyph not defined in PD1 encoding,(hyperref) removing `\textdelta'
Glyph not defined in PD1 encoding,(hyperref) removing `\textiota'
Glyph not defined in PD1 encoding,(hyperref) removing `\textalpha'
Glyph not defined in PD1 encoding,(hyperref) removing `\textsigma'
Glyph not defined in PD1 encoding,(hyperref) removing `\textomicron'
Glyph not defined in PD1 encoding,(hyperref) removing `\ensuregreek'
Glyph not defined in PD1 encoding,(hyperref) removing `\acctonos'
Glyph not defined in PD1 encoding,(hyperref) removing `\textiota'
Glyph not defined in PD1 encoding,(hyperref) removing `\textepsilon'
Glyph not defined in PD1 encoding,(hyperref) removing `\textPi'
Glyph not defined in PD1 encoding,(hyperref) removing `\textalpha'
Glyph not defined in PD1 encoding,(hyperref) removing `\textrho'
Glyph not defined in PD1 encoding,(hyperref) removing `\ensuregreek'
Glyph not defined in PD1 encoding,(hyperref) removing `\acctonos'
Glyph not defined in PD1 encoding,(hyperref) removing `\textalpha'
Glyph not defined in PD1 encoding,(hyperref) removing `\textgamma'
Glyph not defined in PD1 encoding,(hyperref) removing `\textomicron'
Glyph not defined in PD1 encoding,(hyperref) removing `\textnu'
Glyph not defined in PD1 encoding,(hyperref) removing `\texttau'
Glyph not defined in PD1 encoding,(hyperref) removing `\textepsilon'
Glyph not defined in PD1 encoding,(hyperref) removing `\textvarsigma'
Glyph not defined in PD1 encoding,(hyperref) removing `\textsigma'
Glyph not defined in PD1 encoding,(hyperref) removing `\textepsilon'
Glyph not defined in PD1 encoding,(hyperref) removing `\textdelta'
Glyph not defined in PD1 encoding,(hyperref) removing `\ensuregreek'
Glyph not defined in PD1 encoding,(hyperref) removing `\acctonos'
Glyph not defined in PD1 encoding,(hyperref) removing `\textupsilon'
Glyph not defined in PD1 encoding,(hyperref) removing `\textomicron'
Glyph not defined in PD1 encoding,(hyperref) removing `\textkappa'
Glyph not defined in PD1 encoding,(hyperref) removing `\textalpha'
Glyph not defined in PD1 encoding,(hyperref) removing `\textiota'
Glyph not defined in PD1 encoding,(hyperref) removing `\textpi'
Glyph not defined in PD1 encoding,(hyperref) removing `\textepsilon'
Glyph not defined in PD1 encoding,(hyperref) removing `\textrho'
Glyph not defined in PD1 encoding,(hyperref) removing `\textiota'
Glyph not defined in PD1 encoding,(hyperref) removing `\textsigma'
Glyph not defined in PD1 encoding,(hyperref) removing `\textsigma'
Glyph not defined in PD1 encoding,(hyperref) removing `\ensuregreek'
Glyph not defined in PD1 encoding,(hyperref) removing `\acctonos'
Glyph not defined in PD1 encoding,(hyperref) removing `\textomicron'
Glyph not defined in PD1 encoding,(hyperref) removing `\texttau'
Glyph not defined in PD1 encoding,(hyperref) removing `\textepsilon'
Glyph not defined in PD1 encoding,(hyperref) removing `\textrho'
Glyph not defined in PD1 encoding,(hyperref) removing `\textalpha'
Glyph not defined in PD1 encoding,(hyperref) removing `\textEpsilon'
Glyph not defined in PD1 encoding,(hyperref) removing `\textpi'
Glyph not defined in PD1 encoding,(hyperref) removing `\ensuregreek'
Glyph not defined in PD1 encoding,(hyperref) removing `\acctonos'
Glyph not defined in PD1 encoding,(hyperref) removing `\textiota'
Glyph not defined in PD1 encoding,(hyperref) removing `\textpi'
Glyph not defined in PD1 encoding,(hyperref) removing `\textepsilon'
Glyph not defined in PD1 encoding,(hyperref) removing `\textdelta'
Glyph not defined in PD1 encoding,(hyperref) removing `\textalpha'
答案1
如果您想坚持使用 PDFLaTex,您可以使用该tempora
包:
\documentclass{beamer}
\usetheme{Luebeck}
\usefonttheme{serif}
\usepackage[utf8]{inputenc}
\usepackage[T1,LGR]{fontenc}
\usepackage[english,greek]{babel}
\usepackage{tempora}
\usepackage{newtxmath}
\begin{document}
\begin{frame}
\frametitle{$2^k$ Μη Πλήρεις Παραγοντικοί Σχεδιασμοί Εκτιμητικής Τάξης ΙΙΙ}
\textbf{Θεώρημα}\\
\textbf{\textlatin{Moyssiadis \& Kounias}}
\end{frame}
\end{document}
编辑:OP 提供了有关他的问题的更多信息。因此,我相应地编辑了我的答案。这不应该引发任何警告:
\documentclass{beamer}
\usefonttheme{professionalfonts}
\mode<presentation> {
\usetheme{Luebeck}
}
\usepackage[T1,LGR]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,greek]{babel}
\usepackage{tempora,newtxmath}
\usepackage{amssymb}
\usepackage{amsmath}
\hypersetup{unicode}
\usepackage{stackengine}
\providecommand{\myceil}[1]{\left \lfloor #1 \right \rfloor }
\usepackage{ragged2e}
\apptocmd{\frame}{}{\justifying}{}
\title[Βέλτιστοι Πειραματικοί Σχεδιασμοί]{Βέλτιστοι Πειραματικοί Σχεδιασμοί
με Παράγοντες σε δύο και περισσότερα Επίπεδα} % The short title appears at the bottom of every slide, the full title is only on the title page
\author{Χασιώτης Α. Βασίλειος} % Your name
\institute[Α.Π.Θ.] % Your institution as it will appear on the bottom of every slide, may be shorthand to save space
{Αριστοτέλειο Πανεπιστήμιο Θεσσαλονίκης \\ % Your institution for the title page
\medskip
\textit{\textlatin{[email protected]}} % Your email address
}
\date{\today} % Date, can be changed to a custom date
\begin{document}
\begin{frame}
\titlepage % Print the title page as the first slide
\end{frame}
\begin{frame}
\frametitle{$2^k$ Μη Πλήρεις Παραγοντικοί Σχεδιασμοί Εκτιμητικής Τάξης ΙΙΙ}
\textbf{Θεώρημα}\\
\textbf{\textlatin{Moyssiadis \& Kounias}}
\end{frame}
\end{document}
答案2
使用xelatex
或lualatex
。TeX Gyre Termes 是免费的 Times Roman
\documentclass{beamer}
\usetheme{Luebeck}
\usepackage{unicode-math}
\setmathfont{texgyretermes-math.otf}
\setromanfont{TeXGyreTermes-Regular}
\setsansfont{TeXGyreHeros-Regular}[Scale=MatchLowercase]
\usepackage[english,greek]{babel}
\begin{document}
\begin{frame}{$2^k$ Μη Πλήρεις Παραγοντικοί Σχεδιασμοί Εκτιμητικής Τάξης ΙΙΙ}
\textbf{Θεώρημα}
\textbf{Moyssiadis \& Kounias}
\end{frame}
\end{document}