Text Formatting ⇒ Bibliography name bold
Bibliography name bold
I'm writing my academic cv, and need to highlight my name within my list of publications.
Say I have a bibtex bibliography called My_Bibliography which includes my peer reviewed work, and my name is Bob Smith.
\usepackackage(natbib) %bibliography package in preamble
\nocite{Jones_etal_2010} %Show first bibliographic reference
\nocite{Smith_etal_2009} %Show second bibliographic reference
\bibliographystyle{PLoS-Biology} %I want to use the style from PLoS-Biology
\bibliography{My_Bibliography} %The name of my bibliography is My_Bibliography
When this bibliography shows with my name "Smith B" amongst my co-authors, I want my name to be in bold.
Jones A, Smith B, Walker C 2010. Another paper I wrote. PLoS Biology 1(1): 1-10.
Smith B, Walker C, Jones A. 2009. A paper I wrote. Nature 1(1): 1-10.
I want to use the \nocite{} command to make use of my bibtex bibliography and not have to type out my work individually just so I can make my name bold.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
Bibliography name bold
(1) Put two "@string" entries at the top of your bibliography file like so:
Code: Select all
@string{ myname = "{Smith, B[restofname]" }
string{ myname = "{\textbf{Smith}}, {\textbf{B}}" }
Code: Select all
@article{Jones2010,
author = "Jones, A and " # myname # " and Walker, C",
year = 2010,
note = "Another paper I wrote",
journal = "PLoS Biology",
volume = 1,
number = 1,
pages = "1--10"
}
This may also work, depending on your bibliography style: edit your bibliography style file to include something like
Code: Select all
\providecommand{\myname}{Jones, B.}
Code: Select all
\newcommand{\myname}{\textbf{Jones, B.}}
Code: Select all
@article{Jones2010,
author = "Jones, A and {\myname} and Walker, C",
year = 2010,
note = "Another paper I wrote",
journal = "PLoS Biology",
volume = 1,
number = 1,
pages = "1--10"
}