我想用附图中提到的这种字体样式(称为 Old English 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 字体已命名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,然后使用标准包或工具来获得所需的结果。
方法 1:使用 Microsoft Word 创建具有所需字体、布局和间距的单个标题页。然后使用Word 中的选项。使用以下命令save as Adobe PDF
使用包包含 pdfpdfpages
\includepdf{filename}
方法 2:如果页面需要以图形形式包含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