大家晚上好,
我在尝试在 TexStudio 上撰写简历时遇到问题。我过去通常按照以下模板撰写简历:
\documentclass[a4paper,10pt]{article}
%A Few Useful Packages
\usepackage{marvosym}
\usepackage{fontspec} %for loading fonts
\usepackage{xunicode,xltxtra,url,parskip} %other packages for formatting
\RequirePackage{color,graphicx}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage[big]{layaureo} %better formatting of the A4 page
% an alternative to Layaureo can be ** \usepackage{fullpage} **
\usepackage{supertabular} %for Grades
\usepackage{titlesec} %custom \section
%Setup hyperref package, and colours for links
\usepackage{hyperref}
\definecolor{linkcolour}{rgb}{0,0.2,0.6}
\hypersetup{colorlinks,breaklinks,urlcolor=linkcolour, linkcolor=linkcolour}
%add external pdf pages
\usepackage{pdfpages}
\usepackage{graphicx}
%FONTS
\defaultfontfeatures{Mapping=tex-text}
%\setmainfont[SmallCapsFont = Fontin SmallCaps]{Fontin}
%%% modified for Karol Kozioł for ShareLaTeX use
\setmainfont[
SmallCapsFont = Fontin-SmallCaps.otf,
BoldFont = Fontin-Bold.otf,
ItalicFont = Fontin-Italic.otf
]
{Fontin.otf}
%%%
%CV Sections inspired by:
%http://stefano.italians.nl/archives/26
\titleformat{\section}{\Large\scshape\raggedright}{}{0em}{}[\titlerule]
\titlespacing{\section}{0pt}{3pt}{3pt}
%Tweak a bit the top margin
%\addtolength{\voffset}{-1.3cm}
%Italian hyphenation for the word: ''corporations''
\hyphenation{im-pre-se}
%-------------WATERMARK TEST [**not part of a CV**]---------------
\usepackage[absolute]{textpos}
\setlength{\TPHorizModule}{30mm}
\setlength{\TPVertModule}{\TPHorizModule}
\textblockorigin{2mm}{0.65\paperheight}
\setlength{\parindent}{0pt}
%--------------------BEGIN DOCUMENT----------------------
\begin{document}
\pagestyle{empty} % non-numbered pages
\font\fb=''[cmr10]'' %for use with \LaTeX command
%--------------------TITLE-------------
\begin{center} % just for vertical spacing and killing indent
\begin{tabular*}{\textwidth}{@{}l@{\extracolsep{\fill}}r@{}}
\includegraphics[scale=0.072]{photo.jpg}&\Huge Hugo \textsc{}\\
\end{tabular*}
\end{center}
%--------------------SECTIONS-----------------------------------
%Section: Personal Data
\section{Personal Data}
\begin{tabular}{rl}
\textsc{Place and Date of Birth:} & UK | 31 April 1978 \\
% \textsc{Address:} & UK \\
\textsc{Address:} & UK \\
\textsc{Phone:} & \\
\textsc{email:} & \\
% \textsc{Tax code:} & \\
% \textsc{Skype:} & \\
\textsc{LinkedIn:} & \\
\end{tabular}
\section{Languages}
\begin{tabular}{rl}
\textsc{English:}&Mothertongue\\
\textsc{Spanish:}&Intermediate Knowledge\\
\end{tabular}
\section{Communicative and Organizational Skills}
\begin{itemize}
\item ------------.
\item -----------------.
\item ----------.
\end{itemize}
\section{Computer Skills}
\begin{tabular}{rl}
Advanced knowledge:& Microsoft Windows OSs, Unix-like OSs, OpenOffice.org package, \\& Microsoft Office package (Excel, Word, PowerPoint)\\
\end{tabular}
\section{Interests and Activities}
\begin{itemize}
\item Traveling,
\item Go-karting,
\end{itemize}
\vspace{25pt}
\textit{I authorize the handling of personal information}
\vspace{32pt}
\begin{tabular}{rl}
\hspace{30pt} , 27/04/2016 & \hspace{150pt}\textit{}\\ & \hspace{120pt} \includegraphics[scale=0.1]{firm.png}\\
\end{tabular}
\newpage
\par{\centering\Large \hypertarget{grds}{Master of Science in \textsc{Engineering}}\par}\large{\centering Grades\par}\normalsize
\begin{center}
\begin{tabular}{lcc}
\multicolumn{1}{c}{\textsc{Exam}}&\textsc{Grade}&\textsc{Credit Hrs}\\ \hline
INSTRUMENTATION LABORATORY & 26& 6\\
& Total&120\\\cline{2-3}
&\textsc{Gpa}&\textbf{26.7}
\end{tabular}
\end{center}
\bigskip
\end{document}
实际上,我无法再编译和查看我的简历的 pdf,因为出现错误“cannot-use-pdftex”。
在过去的几天里,我不得不格式化我的电脑并重新安装所有内容,包括 Miktex 和 TexStudio:但是我已经安装了编译 tex 文件所需的所有软件包。
在格式化之前,我没有遇到过这类问题,我总是使用 PdfLatex 进行编译
由于我是乳胶方面的新手,因此任何建议都是宝贵的。
提前致谢并祝您有美好的一天。