我正在使用 TeXstudio 编写简历,但我不知道为什么 ModernCV 在我的系统中运行不正确。事实上,它似乎\textsc
不起作用font
。
这是我的代码:
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
\documentclass[11pt]{moderncv} % Font sizes: 10, 11, or 12; paper sizes: a4paper, letterpaper, a5paper
\moderncvstyle{Banking} % CV theme - options include: 'casual' (default), 'classic', 'oldstyle' and 'banking'
\moderncvcolor{blue} % CV color - options include: 'blue' (default), 'orange'
\usepackage{lipsum} % Used for inserting dummy 'Lorem ipsum' text into the template
\usepackage[scale=0.86]{geometry} % Reduce document margins
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
\firstname{First name} % Your first name
\familyname{Family name} % Your last name
%\title{Short Curriculum Vitae}
\email{[email protected]}
%----------------------------------------------------------------------------------------
\begin{document}
\makecvtitle % Print the CV title
\vspace{-1cm}
%----------------------------------------------------------------------------------------
% Research Experience & Projects SECTION
%----------------------------------------------------------------------------------------
\section{RESEARCH EXPERIENCE \& NOTABLE PROJECTS}
%Winter 2021:
\cventry{Winter 2021}{School of Computer Science}{Computational Neuroscience}{University of UUU}{\textsc{Prof. PPP}}
{Developing \& Analyzing a Framework in Pytorch to Simulate LIF Model, ELIF Model, AELIF Model, Neural Population, Balanced Network, Encoding and Decoding, STDP learning rule, Reinforcement STDP learning rule}
%----------------------------------------------------------------------------------------
% COMPUTER SKILLS SECTION
%----------------------------------------------------------------------------------------
\section{SKILLS}
\cvitem{Basic}{\textsc{Django, java, OpenCV}}
\cvitem{Intermediate}{\textsc{R, Flask, Tkinter, SFML, Gambit, Pandas, Scikit-learn, TikZ}}
\end{document}
在我的 Windows 中使用 TeXstudio 进行编译后:
使用 Overleaf 编译后:
为什么会发生这种情况?我该如何解决这个问题?我应该安装任何软件包吗?顺便说一句,我想保留这个字体。所以,我希望得到与 Overleaf 完全相同的结果。