latex - 无法编译乳胶文件
问题描述
无法编译需要额外乳胶库的我的简历的旧文档。有人可以推荐一个应该处理它的 tex 变体。
试过乳胶
! Fatal Package fontspec Error: The fontspec package requires either XeTeX or
(fontspec) LuaTeX.
卢泰克斯
! Undefined control sequence.
l.1 \documentclass
[a4paper,10pt]{article}
赛特克斯
I can't find the format file `xetex.fmt'!
乳胶代码
\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
\usepackage{supertabular}
%Styling Itemizations
\usepackage{enumitem}
\setlist{nolistsep}
\setitemize[1]{labelindent=\parindent, label=$\triangleright$}
%Setup hyperref package, and colours for links
\usepackage{hyperref}
\definecolor{linkcolour}{rgb}{0,0.2,0.6}
\hypersetup{colorlinks,breaklinks,urlcolor=linkcolour, linkcolor=linkcolour}
%FONTS
\defaultfontfeatures{Mapping=tex-text}
\setmainfont[SmallCapsFont = Fontin SmallCaps]{Fontin}
\titleformat{\section}{\Large\scshape\raggedright}{}{0em}{}[\titlerule]
\titlespacing{\section}{0pt}{3pt}{3pt}
%Tweak a bit the top margin
\addtolength{\voffset}{-1.3cm}
解决方案
使用 xelatex 编译工作正常
推荐阅读
- mysql - Symfony(带有教义)迁移不适用于有效的 mysql 函数创建请求
- javascript - 当 webscraping youtube 页面时,视频返回和空对象,但 video.src 返回一个值
- java - Java Spring Boot PersistenceException (OneToMany)
- if-statement - 自动化单元格引用
- laravel - 从 checkox 附加多个值,在 Laravel 中具有多对多关系
- python - 从源代码构建 Python 时用于 ./configure 的标志
- php - CodeIgniter 图像验证
- blockchain - 如何冻结 MasterEdition NFT 代币账户?
- wireshark - Wireshark:如何显示数据包评论?
- python - Django REST Framework 缺少 Docker 的导入