Make \cite{reference} to print title, author, year specificly in your LaTex document.

Basically \cite{reference} is used  to print Bibtex entries from .bib  file, .bib file is  called database file which stores title of Book, its author, year, publisher, pages etc , If you want to print complete title then enclose it in {{….}} in .bib file. To use this file, include \addbibresource{filename.bib} and {biblatex} package in you tex file. And run tex file using biber.

data.bib
@book{is4562000,
title={Indian Standard Plain and reinforced concrete--code of
        practice (IS 456 : 2000)},
author={{Cement and Concrete Sectional Committee, CED 2}},
journal={New Delhi: },
year={2000},
publisher={Bureau of Indian Standards},
}

@book{aci1981aci,
title={ACI Standard Building Code Requirements for Reinforced
        Concrete (ACI 318-77)},
author={{ACI Committee 318}},
series={ACI standard 318-77},
url={https://books.google.co.in/books?id=amEOfgtA-DYC},
year={1981},
publisher={American Concrete Institute},
}   
@STANDARD {aci31877,
title        = "ACI Standard Building Code Requirements for
    Reinforced Concrete (ACI 318-77)",
organization = "American Concrete Institute",
institution  = "American Concrete Institute",
author       = "ACI Committee 318",
language     = "English",
number       = "ACI standard 318-77",
year         = "1981"
}  

@book{IS2000,
title={{IS 456:2000}}
} 

@book{IS1964,
title={{IS 456:1964}}
}
citedemo.tex

\documentclass{article}
\usepackage[autostyle]{csquotes}
\usepackage[backend=biber]{biblatex}
\addbibresource{demo.bib}
\begin{document}

~\citetitle{IS2000}\\ %~ symbol insert extra space before \cite entry)
~\citetitle{IS1964}\\
\citeauthor{is4562000}\\
\citeyear{is4562000}\\

 \cite{is4562000}
\cite{aci1981aci}
~\cite{aci31877}

\printbibliography
\end{document}

To run:

$ sudo apt-get install biber
pdflatex  citedemo.tex
biber citedemo
pdflatex citedemo.tex

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s