为什么斜体在 overleaf 代码中不起作用 - \emph 在这里不起作用

为什么斜体在 overleaf 代码中不起作用 - \emph 在这里不起作用

我写了以下标记:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Title: SOP LaTeX Template
%% Author: Soonho Kong / [email protected]
%% Created: 2012-11-12
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% Requirement:
%%     You need to have the `Adobe Caslon Pro` font family.
%%     For more information, please visit:
%%     http://store1.adobe.com/cfusion/store/html/index.cfm?store=OLS-US&event=displayFontPackage&code=1712
%%
%% How to Compile:
%%     $ xelatex main.tex
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[letterpaper]{article}
\usepackage[letterpaper,margin=1.75in,noheadfoot]{geometry}
\usepackage{fontspec, color, enumerate, sectsty}
\usepackage[normalem]{ulem}
\usepackage[utf8]{inputenc}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                      YOUR INFORMATION
%
%      PLEASE EDIT THE FOLLOWING LINES ACCORDINGLY!!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\soptitle}{Research Interest}
\newcommand{\yourname}{Tanushree Bhattacharya}
\newcommand{\youremail}{[email protected]}
\newcommand\action{\par\bigskip\noindent\itshape}

%% FONTS SETUP
\defaultfontfeatures{Mapping=tex-text}
\setromanfont[Path = fonts/, Ligatures={Common}]{adobe_caslon_pro}
\setmonofont[Path = fonts/, Scale=0.8]{monaco}
\setsansfont[Path = fonts/, Scale=0.9]{Optima-Regular}
\newcommand{\amper}{{\fontspec[Scale=.95]{Adobe Caslon Pro}\selectfont\itshape\&~{}}}
\usepackage[bookmarks, colorlinks, breaklinks,
pdftitle={\yourname - \soptitle},pdfauthor={\yourname}, unicode]{hyperref}
\hypersetup{linkcolor=magneta,citecolor=magenta,filecolor=magenta,urlcolor=[named]{WildStrawberry}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                      Title and Author Name
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{center}{\huge \scshape \soptitle}\end{center}
\begin{center}\vspace{0.2em} {\Large \yourname\\}
  {\youremail}\end{center}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                      SOP Body
% NOTE: Use \amper instead of \&
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\vspace{-1cm}
\section*{}
I am Tanushree Bhattacharya a final year master's student pursuing an Integrated Bachelor's and Master's Programme at the \emph{Indian Association for the Cultivation of Science, Kolkata, India}.
\end{document}

为什么斜体在 overleaf 代码中不起作用?

相关内容