1、\newline\url报错,并且参考文献引用为?
可能是由于参考文献(reference.bib文件)中包含doi或者url字段,把这两个字段删去重新编译即可
2、双栏文章格式中插入单栏图片
\begin{figure*}
\centering
\includegraphics[width=0.95\textwidth,height=0.7\textwidth]{ProcessImg.png}\\
\captionof{figure}{\song{流量识别与特征提取流程图}}\label{fig1}
\end{figure*}
\begin{figure*} \end{figure*},加个*可以实现图片横跨双栏
\includegraphics[width=0.95\textwidth,height=0.7\textwidth],比例为占页面的比例,自行调整
\captionof{figure}{\song{流量识别与特征提取流程图}},为图片标题
\label{fig1},为该图的引用标签
3、引用图表
\label{fig}与\ref{fig}成对出现,花括号中为标签名,需要完全一致
例如:具体过程如图(\ref{fig1})所示
4、双栏文章格式中插入单栏表格
\begin{table*}
\caption{PCIe各版本基本规格}\label{tab:table1}
\begin{center}
\begin{tabular}{cccccc}
\toprule
PCIe版本 & PCIe 1.x & PCIe 2.x & PCIe 3.x & PCIe 4.x & PCIe 5.x &
\midrule
发布时间 & 2002 Q3 & 2007 Q1 & 2010 Q4 & 2017 Q4 & 2019\\
编码方式 & 8b/10b & 8b/10b & 128b/130b & 128b/130b & 128b/130b\\
信号速率(GT/s)& 2.5 & 5 & 8 & 16 & 32\\
x1单向带宽(MB/s)& 250.0 & 500.0 & 984.6 & 1969.2 & 3938.5\\
x16双向带宽(GB/s)& 8.0 & 16.0 & 31.5 & 63.0 & 126.0\\
\bottomrule
\end{tabular}
\end{center}
\end{table*}
5、xelatex编译卡住
表格中
PCIe版本 & PCIe 1.x & PCIe 2.x & PCIe 3.x & PCIe 4.x & PCIe 5.x &
中最后一个&没有加上,导致编译的过程持续卡顿,CPU占用率急速增加,可以通过任务管理器结束xelatex.exe进程