
我想用附圖中提到的古英語 MT 字體來寫大學的名稱。我怎樣才能做到這一點。更重要的是我是以下乳膠環境。
\documentclass[12pt,a4paper,openany]{report}
\usepackage{latexsym}
\usepackage{graphicx}
\usepackage{amsmath,amsthm}
\usepackage{amssymb}
\usepackage{epsfig}
\usepackage[T1]{fontenc}
\usepackage{palatino}
\usepackage{caption}
\usepackage{mathpazo}
\usepackage{paralist,pst-func, pst-plot, pst-math, pstricks-add,pgfplots}
%\usepackage{hang,hangindent=-.5cm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\textwidth 5.8in \textheight 8.5 in \topmargin 0.0in \oddsidemargin
0.0in \evensidemargin 0.0in \setlength{\parindent}{12pt}
\pagestyle{plain}
\renewcommand{\theequation}{\arabic{chapter}.\arabic{equation}}
\newtheorem{thm}{Theorem}[section]
\newtheorem{cor}[thm]{Corollary}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{ax}{Axiom}
\theoremstyle{definition}
\newtheorem{defn}{Definition}[section]
\theoremstyle{remark}
\newtheorem{rem}{Remark}[section]
\newtheorem*{notation}{Notation}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{tocloft}
\renewcommand{\cftfigpresnum}{Figure } % put Figure before the number
\renewcommand{\cftfigaftersnum}{:} % add colon after the number
\addtolength{\cftfignumwidth}{1.3cm} % extra space for extended numbers
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\cfttabpresnum}{Table } % put Table before the number
\renewcommand{\cfttabaftersnum}{:} % add colon after the number
\addtolength{\cfttabnumwidth}{1.3cm} % extra space for extended numbers
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\baselinestretch}{1.5}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\numberwithin{equation}{chapter}
\begin{document}
%\renewcommand{\thepage}{\roman{page}}[roman page number from title]
\renewcommand{\thepage}{}
\vspace{3cm}
\begin{center}
\section*{\textbf{\Huge{Topic of thesis}}}
\end{center}
%\begin{figure}[htb] % Default value is [tbp]
%\begin{center}
%\epsfig{file=iub.eps, width=0.9 in}
%\end{center}
%\end{figure}
\begin{center}
By
\end{center}
\begin{center}
{\Large\bf{............}}\\ [2 cm]
\end{center}
\begin{center}
{\Large\bf{PhD Dissertation}}
\end{center}
\begin{center}
%\\ \quad
{\bf{Session year-year}}\\[3 cm]
{\Large\bf{Department of Subject}}\\
{\Large\bf{This is the Name of University}}\\
{\Large\bf{city, Country}}\\
2020
\end{center}
\newpage
\begin{center}
\section*{\textbf{\Huge{Topic of thesis}}}
\end{center}
%\begin{figure}[htb] % Default value is [tbp]
%\begin{center}
%\epsfig{monogram=iub.eps, width=0.9 in}
%\end{center}
%\end{figure}
\begin{center}
By
\end{center}
\begin{center}
{\Large\bf{.............}}\\ [2 cm]
\end{center}
\begin{center}
Supervised By\\
{\large{\textbf{...............}}}\\[3 cm]
%\\ \quad
%{\bf{Session 2013-2016}}
{\Large\bf{Department of Subject}}\\
{\Large\bf{This is the Name of University}}\\
{\Large\bf{city, Country}}\\
2020
\end{center}
\newpage
\begin{center}
\section*{\textbf{\Huge{Topic of thesis \\ [1 cm]}}}
\end{center}
\begin{center}
By \\ [1 cm]
\end{center}
\begin{center}
\textbf{..........} \\ [1 cm]
\end{center}
\begin{center}
\large{A dissertation submitted to the department of ..........\\
This is the Name of University ,\\
in the partial fulfillment for the degree of}\\
\end{center}
\begin{center}
{\Large\bf{Doctor of Philosophy}}\\
in\\
{\large{Subject}}\\
%{\large{June 2014}}
\end{center}
\begin{center}
Supervised By\\
{\large{\textbf{.............}}}\\ [2 cm]
\end{center}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newpage
\pagenumbering{roman}
\begin{center}
\section*{Student's Declaration}
\end{center}
%\addcontentsline{toc}{section}{Student's Declaration}{}
I,..............
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newpage
\begin{center}
\section*{Supervisor's Declaration}
\end{center}
%\addcontentsline{toc}{section}{Supervisor's Declaration}{}
It is hereby certified that work
\newpage
\begin{center}
\section*{Certificate}
\end{center}
%\chapter*{Certificate}
%\addcontentsline{toc}{section}{Certificate}{}
It is hereby certified that work presented by ............
\chapter*{Abstract}
\addcontentsline{toc}{section}{Abstract}{}
In this thesis, we present some flows of non Newtonian fluids with temperature dependent viscosity.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{center}
\section*{Acknowledgements}
\end{center}
\qquad\qquad \qquad\qquad\qquad\qquad\qquad\qquad\qquad\qquad\qquad\qquad
\textbf{............}
\newpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\begin{center}
%\section*{\underline{\textsl{Dedication}}}
%\end{center}
%\addcontentsline{toc}{section}{Dedication}{}
\qquad\\[4 Cm]
\qquad\qquad \qquad\qquad\qquad\qquad\ \textbf{To my mother, wife and kids}
\qquad\qquad \qquad\qquad\qquad\qquad\qquad\qquad %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\tableofcontents
%\newpage
%\listoftables
%\addcontentsline{toc}{section}{List of Tables}{}
%\listoffigures
%\addcontentsline{toc}{section}{List of Figures}{}
\newpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Preface%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter*{\begin{center}{Preface}\end{center}}
\addcontentsline{toc}{section}{Preface}{}
\newpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\addcontentsline{toc}{section}{Contents}{}
\tableofcontents
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newpage
\listoftables
\addcontentsline{toc}{section}{List of Tables}{}
\newpage
\listoffigures
\addcontentsline{toc}{section}{List of Figures}{}
\newpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\section*{List of Symbols}
%\addcontentsline{toc}{section}{List of Symbols}{}
%\begin{enumerate}
%\item $u$ shows the velocity component along x-axis
%\item $v$ shows the velocity component along y-axis
%\item $w$ shows the velocity component along z-axis
%%\item $A^{b}_{n}$, $H^{b}_{n}$, $S^{a}_{n,e}$ and $S^{a}_{n,o}$ are proposed subdivision schemes
%%\item $A_{n}(z)$ and $P_{n}(z)$ are Laurent polynomials of the subdivision schemes
% \end{enumerate}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\newpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setcounter{page}{1}
\renewcommand{\thepage}{\arabic{page}}
%\include{Chap_1}
%\include{Chap_2}
% \include{Chap_3}
% \include{Chap_4}
% \include{Chap_5}
% \include{Chap_6}
\end{document}
答案1
OP 在評論中指出,Microsoft Office 已安裝,所需的古英語字體已命名,Old English Text MT
並包含在 Microsoft Office 中。
% Compile using XeLaTeX
% Name the file university.tex % for example
\documentclass{standalone}
\usepackage{fontspec}
\setmainfont{Old English Text MT}
\begin{document}
\fontsize{24pt}{28.8pt}\selectfont This is the name of university
\end{document}
這將產生一個裁剪後的 pdf 文件,您可以使用 \includegraphics 將其包含在內。字體大小為 24pt,您可以將其設定為您喜歡的任何合理值。如果graphicx
載入了包,則可以透過以下方式插入pdf圖像\includegraphics{university}
答案2
在 PDFTeX 中
我的建議是盡可能使用現代引擎和 Unicode,必要時使用舊字體。 (雖然不是每個人都同意。)在這種情況下,你說你必須這樣做。
選擇您喜歡的黑體字體LaTeX 字型目錄,可從 CTAN 取得在類型 1 中格式。
例如,戈提克應該管用。如果您的 TeX Live 安裝未隨附該gothic
軟體包,請安裝帶有tlmgr
.
然後,您可以按照頁面上的說明進行啟動:
\usepackage{yfonts}
\usepackage[T1]{fontenc}
並在文件中:
{\gothfamily Some University Somewhere}
您也可以在序言中加入命令:
\DeclareTextFontCommand{\textgoth}{\gothfamily}
這會讓你寫
\textgoth{Some University Somewhere}
例子
基於原始碼的第一頁,使用稍微現代化的 LaTeX:
\documentclass[12pt,a4paper,openany]{report}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc} % The default since 2018
\usepackage{tgpagella, newpxmath} % A successor to mathpazo
\usepackage{yfonts} % For gothic
\DeclareTextFontCommand{\textgoth}{\gothfamily}
\begin{document}
\begin{titlepage}
\centering
{\Huge\bfseries\scshape Topic of Thesis}\\
{\bfseries\Large By ......}\\
{\bfseries Session year--year}\\% en dash!
{\bfseries\Large Department of Subject}\\
{\bfseries\Large\gothfamily Some University Somewhere}\\
{\bfseries\Large City, Country}
\end{titlepage}
\end{document}
在 LuaLaTeX 或 XeLaTeX 中
您可以使用以下命令加載此字體\newfontface
就像在這個答案中一樣,將字體名稱替換為您需要的字體名稱。例如:
\usepackage{fontspec}
\newfontface\almamater{Old English MT}
您可能想要檢查該字體支援哪些字體功能otfinfo
。例如,如果它支援DFLT
連字,您可以新增選項[Ligatures = Common]
。
然後你可以寫
{\almamater Some University}
您也可以定義
\DeclareTextFontCommand{\textalmamater}{\almamater}
能夠寫
\textalmamater{Some University}
答案3
我發布另一個答案,因為它與其他答案完全不同。
目前此問題的其他答案建議使用XeLaTeX
或LuaLaTeX
取得所需的古英語字體,或pdfLaTeX
使用替代字體。這個答案提出了兩種方法,依靠Microsoft Word生成合適的pdf,然後使用標準套件或工具來獲得所需的結果。
方法一:使用 Microsoft Word 建立具有所需字體、版面配置和間距的單一標題頁。然後使用save as Adobe PDF
Word 中的選項。pdfpages
使用指令包含使用套件的 pdf\includepdf{filename}
方法二:如果需要將頁面作為eps
圖形包含在內,則使用 Microsoft Word 建立自訂大小的頁面,其區域與論文主文件類型區域相同:寬度 5.8 英寸,高度 8.5 英寸。然後使用save as Adobe PDF
word中的選項。現在使用命令列:pdftops -eps filename.pdf
最後使用以下命令包含標題頁\noindent\includegraphics{filename}
使用 Microsoft Word(大約)匹配 LaTeX 字體大小的一些額外信息,來源The Not So Short Introduction to LaTeX2e
論文使用的是12pt
option,相符的字體大小如下。
\normalsize 12pt
\large 14pt
\Large 17pt
\LARGE 20pt
\huge25pt
\Huge 25pt