未找到文件“graficx.sty”

未找到文件“graficx.sty”

我已经使用 LaTeX 一个星期了,但我一直不知道这个错误是什么,我从网上复制了一个简历模板,并做了一些修改,但每次我在 TeXMaker 中进行快速构建时,都会突然出现这个错误

! LaTeX Error: File 'graficx.sty' not found

你能帮我解决这个问题吗?

\documentclass[11pt,a4paper,sans]{moderncv}

\moderncvstyle{casual}
\moderncvcolor{blue}'

\usepackage{graficx}

\usepackage[shortlabels]{enumitem}

\usepackage[scale=0.75]{geometry} % Reduce document margins

\firstname{Maissa}
\familyname{Ben Mahouachi}
\title{Curriculum Vitae}
\address{-----------}{-----------}
\mobile{}
\phone{}
\email{[email protected]}
\extrainfo{date and place of birth: 00/00/0000 y}
\photo[70pt][0.4pt]{picture.png} 
\begin{document}

\section{Education}

\cventry{2012--Present}{Bachelor of IT Management}{The University of ESSECT}{Tunisia}{}{}\cventry{2010--2012}{German course}{The secondary school of Farhat Hachad Rades}{Tunisia}{}{}
\cventry{2008--2012}{Baccalaureat of Computer Science}{The secondary school of Farhat Hachad Rades}{Tunisia}{}{}{}

\section{Bachelor Thesis}

\cvitem{Title}{\emph{Conception and realization of Web Application}}{}{}{}
\cvitem{Supervisors}{Professor Chalghoumi Sabrine \& Associate Professor Kabtani Imed}{}{}{}
\cvitem{Description}{This thesis explored the idea that web applications make the most used data in firms more simple, to
look for or searching for certain available references and competitor's filters' information. ..}{}{}{}

\section{Experience}

\subsection{Vocational}

\cventry{02/2015-05/2015}{\textsuperscript{computer technician assistant}}{\textsc{SOFIMA Filters}}{Ben Arous Tunisia}{Developed a web application of searching all filters' references (air filters, oil, fuel, gaz and hydraulic filters) that this firm makes and other competitors' too.
\newline{}\newline{}
Detailed achievements:
\begin{itemize}
\item Learned how to look for informtion.
\item learned how to make connections.
\end{itemize}
\begin{itemize}
\item how to work in team.
\item learned new programming languages like ASP.NET and \Csh{}.
\end{itemize}}{}

\section{Computer skills}

\cvitem{Basic}{\textsc{java}, Adobe Illustrator, \textsc{javascript},Photoshop}
\cvitem{Intermediate}{\textsc{vb.net}, \textsc{html}, \textsc{css}, \textsc{php}, \textsc{MySQL/PL-SQL}, \textsc{Oracle DB}, C , \Csh{}, \LaTeX, Linux, Microsoft Windows}
\cvitem{Advanced}{Computer Hardware and Support}

\section{Languages}

\cvitemwithcomment{English}{Fluent written and spoken}{}
\cvitemwithcomment{German}{Post Beginners}{Level A2}
\cvitemwithcomment{French}{Fluent written and spoken}{}
\cvitemwithcomment{Arabic}{Mothertongue}{}

\section{Interests}

\renewcommand{\listitemsymbol}{-~} % Changes the symbol used for lists

\cvlistdoubleitem{Programming}{Traveling}
\cvlistdoubleitem{Photography}{Sports}
\cvlistdoubleitem{High technology}{Cooking}

\end{document}

以下是日志文件中的错误详细信息:

! LaTeX Error: File `graficx.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
l.32
*** (cannot \read from terminal in nonstop modes)
Here is how much of TeX's memory you used:
18696 strings out of 493698
382839 string characters out of 3134700
424418 words of memory out of 3000000
21781 multiletter control sequences out of 15000+200000
5898 words of font info for 18 fonts, out of 3000000 for 9000
1025 hyphenation exceptions out of 8191
76i,1n,60p,10373b,103s stack positions out of 5000i,500n,10000p,200000b,50000s
! ==> Fatal error occurred, no output PDF file produced!

答案1

  1. 首先,它graphicx不是graficx
  2. \cventry7论点,但在某些地方你只给出了六个。
  3. \cvitem只有 3 个参数,但你给出了 6 个。
  4. \Csh{}对我来说是未知的,因此我对其进行了评论。

经过所有这些更正后,您的代码如下:

\documentclass[11pt,a4paper,sans]{moderncv}

\moderncvstyle{casual}
\moderncvcolor{blue}

\usepackage{graphicx}

\usepackage[shortlabels]{enumitem}

\usepackage[scale=0.75]{geometry} % Reduce document margins

\firstname{Maissa}
\familyname{Ben Mahouachi}
\title{Curriculum Vitae}
\address{Golzwarder Straße, 87}{Brake, Oldenburg 26919}
\mobile{}
\phone{}
\email{[email protected]}
\extrainfo{date and place of birth: 24/08/1993 Oldenburg Germany}
\photo[70pt][0.4pt]{picture.png}
\begin{document}

\section{Education}

\cventry{2012--Present}{Bachelor of IT Management}{The University of ESSECT}{Tunisia}{}{}{}
\cventry{2010--2012}{German course}{The secondary school of Farhat Hachad Rades}{Tunisia}{}{}{}
\cventry{2008--2012}{Baccalaureat of Computer Science}{The secondary school of Farhat Hachad Rades}{Tunisia}{}{}{}

\section{Bachelor Thesis}

\cvitem{Title}{\emph{Conception and realization of Web Application}}%{}{}{}
\cvitem{Supervisors}{Professor Chalghoumi Sabrine \& Associate Professor Kabtani Imed}%{}{}{}
\cvitem{Description}{This thesis explored the idea that web applications make the most used data in firms more simple, to
look for or searching for certain available references and competitor's filters' information. ..}%{}{}{}

\section{Experience}

\subsection{Vocational}

\cventry{02/2015-05/2015}{\textsuperscript{computer technician assistant}}{\textsc{SOFIMA Filters}}{Ben Arous Tunisia}{}{Developed a web application of searching all filters' references (air filters, oil, fuel, gaz and hydraulic filters) that this firm makes and other competitors' too.
\newline{}\newline{}
Detailed achievements:
\begin{itemize}
\item Learned how to look for informtion.
\item learned how to make connections.
\end{itemize}
\begin{itemize}
\item how to work in team.
\item learned new programming languages like ASP.NET and %\Csh{}.
\end{itemize}}{}

\section{Computer skills}

\cvitem{Basic}{\textsc{java}, Adobe Illustrator, \textsc{javascript},Photoshop}
\cvitem{Intermediate}{\textsc{vb.net}, \textsc{html}, \textsc{css}, \textsc{php}, \textsc{MySQL/PL-SQL}, \textsc{Oracle DB}, C , %\Csh{},
\LaTeX, Linux, Microsoft Windows}
\cvitem{Advanced}{Computer Hardware and Support}

\section{Languages}

\cvitemwithcomment{English}{Fluent written and spoken}{}
\cvitemwithcomment{German}{Post Beginners}{Level A2}
\cvitemwithcomment{French}{Fluent written and spoken}{}
\cvitemwithcomment{Arabic}{Mothertongue}{}

\section{Interests}

\renewcommand{\listitemsymbol}{-~} % Changes the symbol used for lists

\cvlistdoubleitem{Programming}{Traveling}{}
\cvlistdoubleitem{Photography}{Sports}{}
\cvlistdoubleitem{High technology}{Cooking}{}

\end{document}

相关内容