我想要加下划线的文本行包含文内引用。我的问题是,\uline
只有使用 时, 才能在此行上起作用\mbox
(没有 时会出错\mbox
),这使得无法换行文本。请注意,当我删除命令时\cite
,\uline
可以完美运行。如何为包含引用的文本加下划线并换行?
\documentclass[12pt]{article}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@Article{ hermes2008a,
author = {Hermes, Juliet C. and Reason, C. J C},
journal = {Journal of Geophysical Research: Oceans},
number = {4},
pages = {1--10},
title = {{Annual cycle of the South Indian Ocean
(Seychelles-Chagos) thermocline ridge in a regional ocean
model}},
volume = {113},
year = {2008}
}
\end{filecontents*}
\usepackage{geometry}
\geometry{a4paper,total={170mm,257mm},left=18mm,right=18mm,top=27mm,bottom=27mm}
\usepackage[comma,authoryear]{natbib}
\bibliographystyle{agsm}
\usepackage[utf8]{inputenc}
\usepackage[normalem]{ulem}
\usepackage{usebib}
\bibinput{\jobname}
\begin{document}
\subsubsection*{\uline{~\mbox{\cite{hermes2008a}: ~\mbox{\usebibentry{hermes2008a}{title}}}}}
\subsubsection*{\uline{Hermes and Reason (2008): Annual cycle of the South Indian Ocean (Seychelles-Chagos) thermocline ridge in a regional ocean model}}
\subsubsection*{\cite{hermes2008a}: \usebibentry{hermes2008a}{title}}
\bibliography{\jobname}
\end{document}