2016-03-19 19 views
0

Ich exportiere eine .bibtex-Datei in HTML-Code, um sie auf meine Website hochzuladen. Es erstellt eine Liste von Zeitschriftenpublikationen. Ich wollte in der Lage sein, den/die Namen bestimmter Autoren im HTML-Journal zu markieren/unterstreichen. Wie kann ich das machen?Hervorhebung/Unterstreichen von Namen bestimmter Autoren in der HTML-Veröffentlichungsliste

Dank

<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>] 

Antwort

1

hinzufügen 'u' Tag um den Text, den Sie unterstrichen werden soll. So: https://jsfiddle.net/L476uonz/

<p>This is an <u>underlined</u> word</p> 

oder CSS inline verwenden oder von der Auswahl der Elemente/Klassen, die Sie wollen zum Ziel und Anwendung ‚text-decoration: underline;‘ wie folgt: https://jsfiddle.net/L476uonz/

<p style='text-decoration: underline'>Underlined text</p>