Generaltilde characters in bibliography doesn't work?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
darckhart
Posts: 34
Joined: Mon Jul 09, 2007 4:04 am

tilde characters in bibliography doesn't work?

Post by darckhart »

One of the authors for a paper I am referencing has a tilde n in his name, but using the usual command \~{n} does not seem to work in the bibliography. I am using the IEEEtran bibliography style (ieeetran.bst) where perhaps the macro fixing the author names ("John Middle Smith" will become "J. M. Smith") is messing it up ?

This is what I enter:

Code: Select all

@article{ref12,
      author = "Ricardo Ba\`{n}uelas and Jiju Antony",
      title = "blah blah",
      journal = "blah blah",
}
I can't type how it would look on here, but suffice to say it should have been "R. Banuelas and J. Antony" (imagine the tilde is on the n correctly).
Instead I get "R. B. nuelas and J. Antony" Any ideas? or anyone with experience with the IEEEtran bib style can confirm? Thanks.

Also, don't know if this is related or not but as extra information I have not loaded the babel package because it is known to interfere with the ieeetran class.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

darckhart
Posts: 34
Joined: Mon Jul 09, 2007 4:04 am

Re: tilde characters in bibliography doesn't work?

Post by darckhart »

Ok I figured it out. It was simpler than I made it out to be. I forgot that the stuff is encapsulated by quotation marks, e.g., author = "first middle last", so all I had to do was put braces around the command like so: author = "Ricardo Ba{\~n}uelas"
Post Reply