提问于:
浏览数:
4091
\documentclass{mcmthesis}
\mcmsetup{CTeX = FALSE, % 使用 CTeX 套装时,设置为 true
tcn = 1900000, problem = A,
sheet = true, titleinsheet = true, keywordsinsheet = true,
titlepage = false, abstract = true}
\usepackage{palatino}
\usepackage{lipsum}
\usepackage{geometry}
%===============设置正文和数学字体=============================
%有些字体需要安装一些字体文件,注意辨别。
%我参照 MCM论文集的字体 使用如下宏包来定制字体。
\usepackage{graphicx}
\usepackage{subfigure}
%设置段落之间的距离,若不需要删除或者注释掉即可。
\setlength\parskip{.5\baselineskip}
\newtheorem{definition}{Definition}[section]
%\def\abstractname{Summary}%可修改摘要名称
\usepackage{indentfirst}
\setlength{\parindent}{2em}
\usepackage{mwe}
\usepackage{chngpage}
\usepackage{array}
\usepackage{booktabs}
\usepackage{threeparttable}
\usepackage{longtable}
\usepackage[numbers,sort&compress]{natbib}
%%% 实现参考文献标号在右上角
\newcommand{\upcite}[1]{\textsuperscript{\textsuperscript{\cite{#1}}}}
%然后引用的时候使用\upcite{}的格式(一般的正常引用格式为\cite{})
\usepackage{colortbl}
\usepackage{multirow}
\PassOptionsToPackage{xcolor}
\usepackage[table,xcdraw]{xcolor}
\usepackage{color}
\usepackage{titletoc}
\titlecontents{section}[3cm]{\bf \large}{\contentslabel{2.8em}}{}{%
\titlerule*[0.5pc]{$\cdot$}\contentspage}%
\titlecontents{subsection}[4cm]{\normalsize}{\contentslabel{2.5em}}{}{%
\titlerule*[0.5pc]{$\cdot$}\contentspage}%
\titlecontents{subsubsection}[5.3cm]{\normalsize}{\contentslabel{3.0em}}{}{%
\titlerule*[0.5pc]{$\cdot$}\contentspage}%
\title{\large The Comprehensive Evacuation Planing Model in Case of Emergency}
\author{ }
\documentclass[xcolor=table]{beamer}
\date{\today}
\geometry{left=3.0cm,right=3.0cm}
\begin{document}
\begin{abstract}
\begin{keywords}
VRP; optimal path; Tyson polygon; Time-varying curve; \\ \hspace*{1.2cm}Time-varying curve
\end{keywords}
\end{abstract}
\maketitle
%\pagestyle{empty}
\newpage %
%==================================================================
%====================生=成=目=录===================================
\begin{adjustwidth}{-1cm}{0cm}
\setcounter{tocdepth}{3}
\thispagestyle{empty}
\tableofcontents %
\end{adjustwidth}
\newpage
\pagestyle{fancy}
\setcounter{page}{1}
\section{Introduction}
\subsection{Background}
Natural disasters(such as hurricanes, floods, earthquakes, etc.) have always been a kind of obstacles that are difficult to overcome for mankind. Most area along the coast are often hit by hurricanes or typhoon, causing major economic losses and human casualties.
\subsection{Problem Restatement}
\subsection{Our Work}
\section{Assumptions}
\begin{itemize}
\item We consider individual car traffic and organized public bus \\transports.
\item Individual traffic appears in the endangered region and then drives to the open shelters. Shelters need to provide sufficient parking space and evacuee capacity.
\item All buses start at rendezvous, and bring them to shelters.
\item Evacuees start their evacuation at different times.
Some people appear later during the evacuation because families or other groups might gather first in order to evacuate together, people do not immediately realize that they have to be evacuated, or people first have to reach places from which they can be evacuated further.
\item The planner has full control over both the buses and the individual traffic.
\item Planning aspects are the duration of the evacuation, the risk of the evacuees, and the number of shelters opened.
\item Vehicles may cause congestion.
The congestion depends on the size of the street and on the number of cars trying to use the street. Since we consider a system optimum approach, we model the congestion by capacitated roads.
\end{itemize}
\section{List of Notation}
%用的是http://www.tablesgenerator.com/# 此网站在线生成
% Please add the following required packages to your document preamble:
% If you use beamer only pass "xcolor=table" option, i.e.
\begin{table}[]
\begin{tabular}{|
>{\columncolor[HTML]{FFCCC9}}c |
>{\columncolor[HTML]{EFEFEF}}c |
>{\columncolor[HTML]{DAE8FC}}c |
>{\columncolor[HTML]{EFEFEF}}c |
>{\columncolor[HTML]{FFC702}}c |}
\hline
Indicators(I) & Indicators(II) & Weights & Indicators(III) & Weights \\ \hline
\cellcolor[HTML]{FFCCC9} & \cellcolor[HTML]{EFEFEF} & \cellcolor[HTML]{DAE8FC} & Food production & 0.0705 \\ \cline{4-5}
\cellcolor[HTML]{FFCCC9} & \cellcolor[HTML]{EFEFEF} & \cellcolor[HTML]{DAE8FC} & Raw material production & 0.0705 \\ \cline{4-5}
\cellcolor[HTML]{FFCCC9} & \multirow{-3}{*}{\cellcolor[HTML]{EFEFEF}Provisioning services} & \multirow{-3}{*}{\cellcolor[HTML]{DAE8FC}0.2591} & Water supply & 0.0705 \\ \cline{2-5}
\cellcolor[HTML]{FFCCC9} & \cellcolor[HTML]{EFEFEF} & \cellcolor[HTML]{DAE8FC} & Gas regulation & 0.0705 \\ \cline{4-5}
\cellcolor[HTML]{FFCCC9} & \cellcolor[HTML]{EFEFEF} & \cellcolor[HTML]{DAE8FC} & Solid regulation & 0.0705 \\ \cline{4-5}
\cellcolor[HTML]{FFCCC9} & \multirow{-3}{*}{\cellcolor[HTML]{EFEFEF}Regulating services} & \multirow{-3}{*}{\cellcolor[HTML]{DAE8FC}0.2591} & Water regulation & 0.0705 \\ \cline{2-5}
\cellcolor[HTML]{FFCCC9} & \cellcolor[HTML]{EFEFEF} & \cellcolor[HTML]{DAE8FC} & Soil conservation & 0.0705 \\ \cline{4-5}
\cellcolor[HTML]{FFCCC9} & \cellcolor[HTML]{EFEFEF} & \cellcolor[HTML]{DAE8FC} & Pest control & 0.0705 \\ \cline{4-5}
\cellcolor[HTML]{FFCCC9} & \multirow{-3}{*}{\cellcolor[HTML]{EFEFEF}Biotope services} & \multirow{-3}{*}{\cellcolor[HTML]{DAE8FC}0.2591} & Pest control & 0.0705 \\ \cline{2-5}
\cellcolor[HTML]{FFCCC9} & \cellcolor[HTML]{EFEFEF} & \cellcolor[HTML]{DAE8FC} & Recreation \& tourism & 0.0705 \\ \cline{4-5}
\multirow{-11}{*}{\cellcolor[HTML]{FFCCC9}Intensity} & \multirow{-2}{*}{\cellcolor[HTML]{EFEFEF}Cultural services} & \multirow{-2}{*}{\cellcolor[HTML]{DAE8FC}0.2591} & Performance \& art & 0.0705 \\ \hline
\end{tabular}
\end{table}
\end{appendices}
\end{document}
![](https://pics.latexstudio.net/data/images/202002/1f555d212fdd802.png)
2 回答
1
把重复的宏包去掉。表格线条不需要彩色,黑白就好
作者追问:2020-02-08 13:50
使用了美赛最新模板,
导言区用了如下宏包:
\documentclass{mcmthesis}
\mcmsetup{CTeX = false, % 使用 CTeX 套装时,设置为 true
tcn = 0000, problem = A,
sheet = true, titleinsheet = false, keywordsinsheet = true,
titlepage = true, abstract = true}
\usepackage{newtxtext}%\usepackage{palatino}
\usepackage{lipsum}
\usepackage{colortbl}
\usepackage{multirow}
\usepackage[table,xcdraw]{xcolor}
\title{The \LaTeX{} Template for MCM Version \MCMversion}
其中的
\usepackage{multirow}
\usepackage[table,xcdraw]{xcolor}
是此网站http://www.tablesgenerator.com/ 编辑彩色表格所需的宏包,报错信息是
! LaTeX Error: Option clash for package xcolor.
烦请大佬指教!!
-
xcolor重复加载了,找到cls删掉,或者几个参数合并下。 – latexstudio 2020-02-08 18:26 回复
0
为什么你要用带颜色的表啊?
你的回答
请登录后回答
你的回答将会帮助更多人,请务必认真回答问题。