BibTeX, biblatex and biberpreserve upper case in ref title

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

preserve upper case in ref title

Post by carol »

Hi,
How is it possible to preserve words or letters in uppercase in title of all references automatically without limiting them in brackets {}? Because I have already dowloaded and integrated references in my bib file; however, I have noticed that some words that are in uppercase get displayed in lower case after compilation. As I have a lot, I don't want to go to titles, one by one, and limiting them in brackets manually.

Thanks

Carol

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

olofos
Posts: 56
Joined: Tue Nov 24, 2009 10:37 pm

preserve upper case in ref title

Post by olofos »

This depends on the reference style you are using. Some style print titles in uppercase, other print them in lowercase (or, more commonly, in titlecase), and many styles use the title exactly as written in the bib-file. It is a good habit to include any parts of the title that should not change case, eg the first letter of a name, in brackets. My bib-file contains eg an entry with the title field

Code: Select all

  title         = {The {B}ethe ansatz for superconformal {C}hern-{S}imons},
If you already have a bib-file with many entries that you want to use for typesetting setting some document right now using some special style, without first going through your bib-file, it shouldn't be too hard to change the style so that it doesn't print titles in lowercase. But to show you how to make this change, we need to know what style you are using.
asdasd
Posts: 1
Joined: Tue Sep 25, 2012 8:41 pm

preserve upper case in ref title

Post by asdasd »

If you already have a bib-file with many entries that you want to use for typesetting setting some document right now using some special style, without first going through your bib-file, it shouldn't be too hard to change the style so that it doesn't print titles in lowercase. But to show you how to make this change, we need to know what style you are using.
I use unsrt and I have the same problem of carol.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

preserve upper case in ref title

Post by cgnieder »

Hi Carol and asdasd,

You should consider switching to biblatex. Due to the way it reads its bib resources caps stay as they are. And thanks to Marco Daniel the traditional bibtex bibliography styles plain, alpha, abbrv and unsrt are also available with biblatex (they are quite new so you'd need an up to date TeX system):

Code: Select all

\documentclass{article}

% to keep this MWE self-contained:
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{alpha,
  author = "A. Author and B. Buthor" ,
  title  = "A Test to see if Capital Letters are Preserved" ,
  date   = "2012-09-25"
}
\end{filecontents}

\usepackage[backend=bibtex,style=trad-unsrt]{biblatex}
\addbibresource{\jobname.bib}

\begin{document}

\cite{alpha}

\printbibliography

\end{document}
biblatex-trad.png
biblatex-trad.png (13.04 KiB) Viewed 24529 times
Regards
site moderator & package author
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

preserve upper case in ref title

Post by localghost »

asdasd wrote:I use unsrt and I have the same problem of carol.
Instead of a one-liner you should clearly show what your are doing to give an adequate problem description.


Thorsten
Post Reply