Text Formattingformatting reference for article

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
upani1982
Posts: 43
Joined: Wed May 12, 2010 11:42 am

formatting reference for article

Post by upani1982 »

Hi All,

I am using Kile on ubuntu and new to latex. I have a problem with reference for the article in Natbib package. My preamble looks like this.

Code: Select all

documentclass[12pt,a4paper]{article}
\usepackage[round,sort,numbers]{natbib}
\usepackage{txfonts}
\usepackage{mathptmx}
\usepackage[caption=false,font=footnotesize]{subfig}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{natbib}
\usepackage[breaklinks]{hyperref}
\usepackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} 
\bibpunct{(}{)}{,}{a}{,}{,}
\begin{document}
\bibliographystyle{agsm}
\bibliography{referen}
\end{document}
My output for an journal article entry is coming like this.

Jacks, D. S. (2007),'Populist versus theorists: Futures markets and the Volatility of Prices', Explorations in Economic History 44,342-362.

But i want to have output like this

Jacks, D. S. (2007), Populist versus theorists: Futures markets and the Volatility of Prices, Explorations in Economic History, Vol. 44, pp. 342-362.

I am using JABREF for my bibliography entry and Kile for texediting.

As I am new to latex i am not able to track the problem so far..

Will be grateful to you for your solution

Sincere regards,
Upananda

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

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

formatting reference for article

Post by frabjous »

Those sorts of things are determined by by the bibliographystyle (.bst) file; in your case agsm. You'll need to either find another one that suits your needs, edit that one (which can be quite difficult), or create a new one. One nice way to create a new one is to run:

Code: Select all

latex makebst
from the command-line. It'll walk you through a bunch of multiple choice questions and then create a .bst file for you at the end based on how you answered.

An alternative is to use biblatex.
Post Reply