## LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ Title loses formatting Topic is solved

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
nancyh
Posts: 7
Joined: Tue Mar 05, 2013 2:30 pm

### Title loses formatting

When the title of a journal displays in my bibliography there is no formatting. So

title={Four IRAC Sources with an Extremely Red H – [3.6] Color: Passive or Dusty Galaxies at z > 4.5?}

becomes

four irac sources with an extremely red h [3.6] color: Passive or dusty galax-
ies at z ¿ 4.5?

Plus I also get the following warnings when I compile.

Underfull \hbox (badness 1571) in paragraph at lines 39--45
\OT1/cmr/m/n/10.95 "four irac sources with an ex-tremely red h [3.6] color: Pa
s-sive or dusty galax-

I read somewhere that it should leave the formatting as it is if the text is inside braces, but this doesn't seem to be the case.

Does anyone know how I can get the title to display as intended?

Thanks

Tags:

Stefan Kottwitz
Posts: 9557
Joined: Mon Mar 10, 2008 9:44 pm
Hi,

welcome to the board!

You could protect the contents by additional braces, such as:

title={{Four IRAC Sources with an Extremely Red H – [3.6] Color:   Passive or Dusty Galaxies at z > 4.5?}}

It should also work partially, such as

title={Four {IRAC} Sources with an Extremely Red H – [3.6] Color:   Passive or Dusty Galaxies at z > 4.5?}

to protect one word. I just would not use {E}xtemely or similar to not harm kerning within a word.

To get a proper > sign, I would switch to T1 font encoding:

\usepackage[T1]{fontenc}

Stefan

nancyh
Posts: 7
Joined: Tue Mar 05, 2013 2:30 pm
Thanks. I had tried the brackets around IRAC, but that didn't work. What I have found does work is

title= "{F}our {IRAC} {S}ources with an {E}xtremely {R}ed {H -- [3.6]} {C}olor: {P}assive or {D}usty {G}alaxies at {z $>$ 4.5?}"

Though it does seem rather messy. I'll try the double brackets round the whole thing next time.

I'm now having trouble working out how to get the symbol ~ to appear. I've tried $~$ but that didn't work. Any suggestions?

Stefan Kottwitz
Posts: 9557
Joined: Mon Mar 10, 2008 9:44 pm
$\sim$ would work.

In textmode, you could use \char\~ or \texttt{\char\~}.

Stefan

nancyh
Posts: 7
Joined: Tue Mar 05, 2013 2:30 pm
Great, thanks.

cgnieder
Site Moderator
Posts: 1990
Joined: Sat Apr 16, 2011 7:27 pm
For completeness' sake: there's also LaTeX's \textasciitilde.

Regards
site moderator & package author