我在 PC 上使用 Texmaker 制作了我的简历;当我在另一台 PC 上打开该文件时,它不起作用,特别是软件给我以下消息(我也下载并更新了 MikTek):
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
\documentclass[11pt,a4paper,sans]{moderncv} % Font sizes: 10, 11, or 12; paper sizes: a4paper, letterpaper, a5paper, legalpaper, executivepaper or landscape; font families: sans or roman
% moderncv contiene anche i simboli del telefono, dell'email ecc
\moderncvstyle{classic} % CV theme - options include: 'casual' (default), 'classic', 'oldstyle' and 'banking'
% L'opzione classic permette di inserire le informazioni personali (data di nascita, indirizzo, telefono, email) in alto a destr, accanto alla foto.
\moderncvcolor{blue} % CV color - options include: 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'
%\usepackage{lipsum} % Used for inserting dummy 'Lorem ipsum' text into the template
\usepackage[scale=0.75]{geometry} % Reduce document margins
%\setlength{\hintscolumnwidth}{3cm} % Uncomment to change the width of the dates column
%\setlength{\makecvtitlenamewidth}{10cm} % For the 'classic' style, uncomment to adjust the width of the space allocated to your name
\newsavebox{\skypeicon}
\savebox{\skypeicon}{\includegraphics[height=.8\baselineskip]{skypefig}}
\newcommand{\skypesocialsymbol}{\usebox{\skypeicon}}
% Questo blocco di istruzioni serve per inserire il simbolo di Skype
\usepackage{xspace}
\newcommand{\MATLAB}{\textsc{Matlab}\xspace}
% Questo blocco di istruzioni serve per inserire il simbolo di MATLAB
%----------------------------------------------------------------------------------------
% NAME AND CONTACT INFORMATION SECTION
%----------------------------------------------------------------------------------------
\firstname{G} % Your first name
\familyname{A} % Your last name
%----------------------------------------------------------------------------------------
\begin{document}
%----------------------------------------------------------------------------------------
% CURRICULUM VITAE
%----------------------------------------------------------------------------------------
\makecvtitle % Print the CV title
%----------------------------------------------------------------------------------------
% CAMPI DI INTERESSE
%----------------------------------------------------------------------------------------
\section{Occupational Field}
\cvitem{}{
Academic and research field
}
%----------------------------------------------------------------------------------------
% EDUCATION SECTION
%----------------------------------------------------------------------------------------
\section{Education and Training}
\cventry{}{Master's degree in robotics and automation engineering}{(in progress), University of Pisa}{Pisa (PI), Italy}{}
{
\begin{itemize}
\item Extracurricular exam: biomechanics of human motion (bionics engineering)
\end{itemize}
}
{}
\cventry{}{Bachelor's degree in biomedical engineering (industrial curriculum)}{University of Pisa}{Pisa (PI), Italy}{\textit{1}}
{
\begin{itemize}
\item Thesis: Reconfigurable electrochemical biosensor; it can be used in three different measurements modes (amperometric, potentiometric, electrochemical impedance spectroscopy)
\end{itemize}
}{}
\cventry{}{High school diploma (classical studies)}{Liceo Classico}{Italy}{\textit{1}}
{
%\begin{itemize}
%\item Tesi: La Natura.
%\item Materie: Latino, Greco, Inglese, Biologia, Chimica, Scienze Naturali, Fisica, Matematica, Storia, Geografia, Italiano.
%\end{itemize}
}{}
%----------------------------------------------------------------------------------------
% COMPUTER SKILLS SECTION
%----------------------------------------------------------------------------------------
\newpage % vado in una nuova pagina, altrimenti a pag 1 compare solo "Competenze informatiche" ed il resto è a pag 2
\section{Computer Skills}
\cvitem{}{C++, Atmel ATXMEGA256A3BU Microcontroller and Atmel Studio, LTspice, \MATLAB, Wolfram Mathematica, COMSOL Multiphysics (Structural Mechanics Module, Fluid Dynamics Module, Heat Transfer Module, Deformed Mesh Module, Material Library, Fluid-Structure Interaction), \LaTeX, Microsoft Windows, Microsoft Office.}
\end{document}
我该如何解决这些问题?如果你需要我提供的所有文件这里。
太感谢了。
答案1
您的问题分为两部分:
当前版本 2.0.0 中的类
moderncv
有一个错误,直到今天 CTAN 上的版本中维护者才纠正了它。 Github 上有一个更正版本,但它没有在 CTAN 上发布... 这里通常的解决方法是:直接忽略这些警告:("C:\Program Files\MiKTeX 2.9\tex/latex/moderncv\moderncvheadi.sty" LaTeX Warning: You have requested package `moderncvheadi', but the package provides `moderncvheadi'.
请注意这不应该是通常的行为,但在这种情况下你可以忽略这个警告...希望维护者能尽快纠正这个问题和该类中的其他一些错误...
您显示了警告:
LaTeX Font Warning: Font shape `T1/lmss/m/sc' in size <10.95> not available (Font) Font shape `T1/lmr/m/sc' tried instead on input line 93.
此警告来自使用
marvosym
带有 的包pdflatex
。您可以打开命令行/终端/控制台并输入以下两个命令:initexmf --mkmaps
并使initexmf --update-fndb
包marvosym
再次正常工作...