LaTeX forum ⇒ BibTeX, biblatex and biberTitle 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

Postby nancyh » Tue Mar 05, 2013 5:31 pm

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:

User avatar
Stefan Kottwitz
Site Admin
Posts: 9434
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue Mar 05, 2013 5:47 pm

Hi,

welcome to the board!

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

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


It should also work partially, such as

  1. title={Four {IRAC} Sources with an Extremely Red H – [3.6] Color:
  2. 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:

  1. \usepackage[T1]{fontenc}


Stefan
Site admin

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

Postby nancyh » Tue Mar 05, 2013 6:21 pm

Thanks. I had tried the brackets around IRAC, but that didn't work. What I have found does work is

  1. 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?

User avatar
Stefan Kottwitz
Site Admin
Posts: 9434
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue Mar 05, 2013 6:33 pm

$\sim$ would work.

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

Stefan
Site admin

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

Postby nancyh » Tue Mar 05, 2013 6:55 pm

Great, thanks.

User avatar
cgnieder
Site Moderator
Posts: 1988
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Wed Mar 06, 2013 10:08 am

For completeness' sake: there's also LaTeX's \textasciitilde.

Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 5 guests