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

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

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