width = \smallfigscale
我在使用 时遇到问题\includegraphics
。我认为我已经包含了该软件包,但尚未安装。我需要安装哪个软件包才能运行它?
使用示例
\includegraphics[width=\smallfigscale]{example}
序言中使用的软件包:
\documentclass[11pt]{article}
% ------- Enable UTF8 characters ------- %
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[toc,page]{appendix}
\usepackage{listings}
\usepackage{color}
\usepackage[colorinlistoftodos]{todonotes}
%\usepackage{pdfpages}
\usepackage{epstopdf}
\usepackage{wrapfig}
\usepackage{pdfpages}
\usepackage{todonotes}
\usepackage{multicol}
\usepackage{amsmath}
\usepackage{amssymb}
% ------------ Code Listing ------------- %
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\lstset{frame=false,
language=VHDL,
aboveskip=3mm,
belowskip=3mm,
showstringspaces=false,
columns=flexible,
basicstyle={\small\ttfamily},
numbers=left,
numberstyle=\tiny\color{gray},
keywordstyle=\color{blue},
commentstyle=\color{dkgreen},
stringstyle=\color{mauve},
breaklines=true,
breakatwhitespace=true,
tabsize=3,
moredelim=**[is][\color{mauve}]{@}{@},
}
% ------- Page layout ------- %
\usepackage{fullpage}
\usepackage{hyperref} % clickable references
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
\usepackage{multicol}
\setlength{\columnsep}{1cm}
% ------- Images ------- %
\usepackage{graphicx}
\usepackage{caption}
\usepackage{float}
\usepackage{subcaption}
%\DeclareCaptionFont{gray}{\color{gray}}
%\captionsetup{textfont={footnotesize,sc,gray},font={footnotesize,sc,gray}}
\usepackage{blindtext}
% Test
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,shadows}
\newcommand{\mx}[1]{\mathbf{\bm{#1}}} % Matrix command
\newcommand{\vc}[1]{\mathbf{\bm{#1}}} % Vector command
答案1
我建议使用\def\smallscalefig{5cm}
(或任何其他适合的小宽度值)来提供编译文档的可能性。
显然,该\smallscalefig
宏曾经在用户代码的某个地方定义,但在复制粘贴等过程中丢失了。