Text FormattingQuotation marks

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
pantera
Posts: 11
Joined: Mon Feb 20, 2012 6:01 pm

Quotation marks

Post by pantera »

Hi,
1)I want to write the following in a bib file

Code: Select all

@article {abc,
author="authorname",
journal="journal of abc",
year="1999",
}
I used the far left key for the first quotation marks. For the second, I used the key next to ENTER key. It didn't work, though, and the error message is that the fields are empty.

Where on the keyboard can I get the quotation marks?

2) I made a bib like below

Code: Select all

@article {SV86,
author ="Shleifer, A. and Vishny, {R.W.} ",
title ="Large Shareholders and Corporate Control ",
journal ="Journal of Political Economy ",
year ="1986 ",
volume="94 ",
pages="461-488 ",
}
In the main body, I could use /citet or /citep without problems. However, at the end of the paper the author names don't look like the one exported from Endnote into Word. It looks like this:

Shleifer, A., Vishny, R., 1986. Large shareholders and corporate control. Journal of Political Economy 94, 461–488.



How can I make the above reference look like below? Note the letter W in red

Shleifer, A., Vishny, R.W., 1986. Large Shareholders and Corporate Control. Journal of Political Economy 94, 461-488.

Recommended reading 2024:

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

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

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Quotation marks

Post by kaiserkarl13 »

(1) There is nothing wrong with what you entered in the code field; use the same key you used to type that. It's the double-quote key, right above the apostrophe. The grave accent/apostrophe combination is only used in TeX and LaTeX; BibTeX does not use those characters in a special way. If you don't like double quotes, you may use braces instead (e.g., author = {I. P. Freely},)

(2) Get rid of the braces in your example and put a space between the initials. It should look like this:

Code: Select all

@article{SV86,
  author = "Shleifer, A. and Vishny, R. W.",
  title  = "Large Shareholders and Corporate Control",
  journal = "Journal of Political Economy",
  year = 1986,
  volume = 94,
  pages = "461--488",
}
BibTeX treats whitespace between words as different parts of the same name. Thus "Vishny, R.W." and "Vishny, R. W." are two different names. The first is a person named R.W. Vishny (i.e., his/her first name is "R.W.")! Putting braces means "typeset this literally as a name/word, without changing case or formatting."

Note also that BibTeX is not intelligent about "461-488" versus "461--488"; many of the standard databases will replace the hyphen for you, but it's better to make it explicit for the ones that do not.
Post Reply