如果修改了模板,请提供原始模板的下载链接,和你做的具体修改,否则会大大增加别人的代码阅读量。
从这个链接下载的文件目录结构 V.S. 你的压缩包的目录结构对比如下:
左图这几个目录是什么,令人费解。
在你的elsarticle.cls/elsarticle.cls
的这个文件是哪里来的,是根目录下的elsarticle.dtx
释放出来的吗?看上去版本是不一样的,同样令人费解。
elsarticle.cls/elsarticle.cls
的版本为2009/09/17
发布的1.20b
elsarticle.dtx
对应的版本为2020/11/20
的v3.3
\documentclass[preprint,5p,times,twocolumn]{elsarticle}
\journal{Nuclear Physics B}
\begin{document}
\title{Leveraging social media news to predict stock index movement using RNN-boost}
%% main text
\section{Introduction}
Normal Case: I can eat the glass and it doesn't hurt me.
\texttt{textbf} Case: \textbf{I can eat the glass and it doesn't hurt me.}
\texttt{bfseries} Case: {\bfseries I can eat the glass and it doesn't hurt me.}
\end{document}
\endinput
\textbf
失效的最简代码(给一个简单的.tex
文件),并明确你调用的是哪一个.cls
文件,避免令人费解,要让人一点击编译立刻看到\textbf
失效。通过网盘分享的文件:elsarticle-main无法加粗textbf.zip
链接: https://pan.baidu.com/s/119twH2wP5DcBf1H6e0FefA?pwd=8iw1 提取码: 8iw1
--来自百度网盘超级会员v4的分享
代码链接如上。
\textbf
是\bfseries
的封装