我正在写一篇PS,像一些专业论文一样,标题字体和正文字体不一样。我试着模仿它,从网上找了一个模板,做了一些修改。但是,用了这个之后,我发现我的正文字体和默认的不一样了。它变得模糊和细了。我研究了很久,找不到解决这个问题的方法。
\documentclass[12pt]{article}
\usepackage{latexsym,amssymb,amsmath} % for \Box, \mathbb, split, etc.
% \usepackage[]{showkeys} % shows label names
\usepackage{cite} % sorts citation numbers appropriately
\usepackage{path}
\usepackage{url}
\usepackage{verbatim}
%\usepackage[pdftex]{graphicx,subfigure}
\usepackage{graphicx,subfigure}
%\usepackage{mathtools}
\usepackage{tabularx}
\usepackage{threeparttable}
\usepackage{booktabs}
\usepackage{lipsum}% http://ctan.org/pkg/lipsum
%\usepackage{showframe}% http://ctan.org/pkg/showframe
\usepackage{eso-pic}% http://ctan.org/pkg/eso-pic
\usepackage{graphicx}% http://ctan.org/pkg/graphicx
\AddToShipoutPictureBG{%
\AtPageUpperLeft{\raisebox{-\height}{\includegraphics[width=3in]{logo.jpg}}}%
}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[margin=1in]{geometry}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\newcommand{\Hrule}{\rule{\linewidth}{0.3mm}}
\makeatletter% since there's an at-sign (@) in the command name
\renewcommand{\@maketitle}{%
\parindent=0pt% don't indent paragraphs in the title block
\centering
{\Large \bfseries\textsc{\@title}}
\HRule\par%
\textit{\@author \hfill \@date}
\par
}
\makeatother% resets the meaning of the at-sign (@)
\title{Statement of Purpose}
\author{\textbf{Xxx Xx}}
\date{\textbf{Ph.D. Applicant}}
\begin{document}
\maketitle% prints the title block
\vspace{\baselineskip}
I have loved mathematics ever since I was a child.
\end{document}
我发现如果我注释掉
\usepackage[T1]{fontenc}
那么标题的字体就是 Latex 的默认字体,而且它的第一个字母不会像我预期的那样大。这意味着
\textsc{\@title}
不起作用....但是,在这种情况下,所有字体、标题和正文都恢复正常。
那么,我怎样才能在使用后将正文字体恢复为默认字体?\usepackage[T1]{fontenc}