冰箱研会长 发表于 2023-4-26 12:32

求救! 如何让ieeetran输出斜体的etal?



如题, 完全找不到问题出在哪里了...
我尝试找到IEEEtran.bst, 然后把里面的"et al." 全都替换成"\textit{et al}." 仍然没有效果...

用的是23 03 13最新的texlive

最小可运行例子:


\documentclass{IEEEtran}
\usepackage{amsmath,amsfonts}
\usepackage{algorithmic}
\usepackage{algorithm}
\usepackage{array}
\usepackage{subfig}
\usepackage{textcomp}
\usepackage{stfloats}
\usepackage{url}
\usepackage{verbatim}
\usepackage{graphicx}
% \usepackage{placeins}
\usepackage{cite}
\usepackage{natbib}

\hyphenation{op-tical net-works semi-conduc-tor IEEE-Xplore}

\usepackage{cleveref}

\begin{document}

\title{Test}
\author{Test}
% The paper headers
\markboth{Test}%
{Test}
% \IEEEpubid{0000--0000/00\$00.00~\copyright~2021 IEEE}
% Remember, if you use this you must call \IEEEpubidadjcol in the second
% column for its text to clear the IEEEpubid mark.

\maketitle

\begin{abstract}
    Test
\end{abstract}

\begin{IEEEkeywords}
Test
\end{IEEEkeywords}

\nocite{*}
\bibliographystyle{IEEEtran}
\bibliography{references}
\end{document}



@article{tieleman2012lecture,
title   = {Lecture 6.5-rmsprop: Divide the gradient by a running average of its recent magnitude},
author= {Tieleman, Tijmen and Hinton, Geoffrey and others},
journal = {COURSERA: Neural networks for machine learning},
volume= {4},
number= {2},
pages   = {26--31},
year    = {2012}
}



冰箱研会长 发表于 2023-4-26 12:49

用pdflatex编译了一遍, 发现bbl里面的\emph和\textit完全无效...
xelatex加上\usepackage{fontspec}就能解决这个问题...
但是我完全不理解为什么可以...

jchemphys 发表于 2023-4-26 12:57

冰箱研会长 发表于 2023-4-26 13:21

jchemphys 发表于 2023-4-26 12:57
可能是你的包里renewcommand了\textit,beamer好像也有类似行为

怪啊.
我用的就是ieee官方提供的模板, 包也没碰.
刚才加上fontspec才发现不只是斜体, 什么加粗啥的都没起效果...
总之我先把fontspec加上了

jchemphys 发表于 2023-4-26 13:35

jchemphys 发表于 2023-4-26 13:36

tsubasa9 发表于 2023-4-26 13:38

大概率是renew了,模板很多会干这事儿

冰箱研会长 发表于 2023-4-26 15:36

jchemphys 发表于 2023-4-26 13:36
话说最近有个叫typst的软件
号称比latex更好
不妨试试

唔 看着确实不错
下次写点什么玩意用它排版试试

sunny_am 发表于 2023-4-27 02:47

https://www.overleaf.com/project/64496f32239475479cf529e3

a9okalypse 发表于 2023-4-27 06:58

et al不需要斜体吧
页: [1]
查看完整版本: 求救! 如何让ieeetran输出斜体的etal?