我正在将.bibtex文件导出为HTML代码以上传到我的网站。它创建了期刊出版物清单。我希望能够突出显示/强调HTML日记引文中特定作者的姓名。我怎么能这样做?
由于
<p class="infolinks">
\begin{author}\format[AuthorFirstAbbrLastCommas,HTMLChars]{\author}\end{author}\begin{title},
<I><B>\format[Replace("``,\""),Replace("'',\""),HTMLChars,RemoveBrackets]{\title}</B></I>\end{title}\begin{howpublished},
\format[HTMLChars]{\howpublished}\end{howpublished}\begin{primaryclass}
[\primaryclass]\end{primaryclass}\begin{journal},
\format[HTMLChars]{\journal}\end{journal}\begin{booktitle},
\format[HTMLChars]{\booktitle}\end{booktitle}\begin{editor},
\format[AuthorFirstAbbrLastCommas,HTMLChars]{\editor} (eds.)\end{editor}\begin{series},
\format[HTMLChars]{\series}\end{series}\begin{publisher},
\format[HTMLChars]{\publisher}\end{publisher}\begin{institution},
\format[HTMLChars]{\institution}\end{institution}\begin{school},
\format[HTMLChars]{\school}\end{school}\begin{address},
\format[HTMLChars]{\address}\end{address}\begin{volume},
Volume \volume\end{volume}\begin{number},
Number \format[FormatPagesForHTML]{\number}\end{number}\begin{pages},
pp. \format[FormatPagesForHTML]{\pages}\end{pages}\begin{year},
\end{year}\begin{month&&month}
\format[HTMLChars]{\month}\end{month&&month}\begin{year}
\year\end{year}\begin{note},
\note\end{note}\begin{doi}
[<a href="\format[DOICheck]{\doi}" target="_blank">DOI</a>]\end{doi}
\begin{url}
<a href="\format{\url}">\url</a>\end{url}
\begin{eprint}[<a href="http://arxiv.org/pdf/\format{\eprint}">PDF</a>]\end{eprint}
\begin{pdf}[<a href="pubfiles/\format{\pdf}">PDF</a>]\end{pdf}
\begin{review}[<a href="javascript:toggleInfo('\format{\bibtexkey}','review')">Review</a>]\end{review}
[<a href="javascript:toggleInfo('\format{\bibtexkey}','bibtex')">BibTeX</a>]
答案 0 :(得分:1)
在要加下划线的文本周围添加“u”标记。 像这样:https://jsfiddle.net/L476uonz/
<p>This is an <u>underlined</u> word</p>
或者使用css内联或选择要定位的元素/类并应用'text-decoration:underline;'像这样:https://jsfiddle.net/L476uonz/
<p style='text-decoration: underline'>Underlined text</p>