LaTeX forum ⇒ Text FormattingNames with prefixes

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
lateks
Posts: 1
Joined: Fri Jan 31, 2014 5:35 pm

Names with prefixes

Postby lateks » Fri Jan 31, 2014 6:28 pm

Hi,

I want to cite a surname with a prefix, like "van" or "de". How do I get Latex to do the following:

1. If the sentence where I cite the person starts with the person's name (e.g. Giorgio van Italia), I want Latex to start the sentence with upper-case V: "Van Italia (2014) wrote an interesting paper just like Smith (2013)." However, if the sentence starts with a word and the name is cited later in the sentence, I want Latex to cite the surname with lower-case v: "Unfortunately, van Italia (2014) did not reveal any new information."

2. In the bibliography, I want the reference to be "Italia, G. v. My first paper ever (2014). Journal of Hooey. Alternatively, the reference name could be "Italia, G. van".

3. I would like hyperref to put a box around "Van Italia (2014)" in the first case and "van Italia (2014)" in the second case.

Main document, as it looks now:
  1. \documentclass[11pt,a4paper]{article}
  2. \usepackage[authoryear]{natbib}
  3.  
  4. \begin{document}
  5. \cite{vanitalia} wrote an interesting paper, just like \cite{smith}. Unfortunately, \cite{vanitalia} did not reveal any new information.
  6.  
  7. \bibliographystyle{apalike}
  8. \bibliography{bibliography}
  9. \end{document}


Bibliography:
  1. @Article{vanitalia,
  2. author = {Giorgio van Italia},
  3. title = {My First Paper Ever},
  4. journal = {Journal of Hooey},
  5. year = {2014},
  6. }
  7. @Article{smith,
  8. author = {John Smith},
  9. title = {I Have Nothing to Say},
  10. journal = {Journal of Hooey},
  11. year = {2013},
  12. }


Thanks.

Tags:

Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 1 guest