Skip to main content

How to cite references in Latex with explanation of a bibtex database and citation index

This is a tutorial that extends what we learnt in the previous tutorial on how to write IEEE style papers using Latex. In this tutorial we are going to talk about how to use citations in your paper. A paper is not complete without proper research and hence you need to cite those papers that add value to your own paper. Specifically, we are going to talk about:


  1. What is a bibtex database
  2. How to create a bibtex database
  3. How to add an external database in your paper
  4. How to add style to your bibtex database
  5. How to assign citation keys to your bibtex database entries.
  6. How to cite those references in your text





The code for this tutorial is given below. You need to create your own .bib file with the name ieetutorial.bib. Please leave a comment if you need help with that and I will post the file from tutorial:


\documentclass[conference]{IEEEtran}
\usepackage{cite}
\begin{document}
\title{Sample IEEE paper style using Latex by QuickLatex.blogspot.com}
\author{\IEEEauthorblockN{Author first, Author Second, and Suthor Third}
\IEEEauthorblockA{Department of Latex Typeset\\
Latex University\\
City - State - Zip \\
Email: latex@latex.lates}
}
\maketitle
\begin{abstract}
This is an abstract for a paper to show how to use latex for IEEE paper typeset.
\end{abstract}
\section{Introduction}
\label{sec:intro} 
Here is a modified text sample for intro section using latex. This is a citation \cite~{authoryear} This is how you refer a section in another section Section~\ref{sec:meth} ..... 
\section{Methodologies} 
\label{sec:meth} 
This is the other section that you can use. 
\bibilographystyle{IEEEtran}
\bibliography{ieetutorial}
 \end{document}

Comments

  1. Hi,
    Can I integrate my Mendeley reference database with LaTeX?

    ReplyDelete
    Replies
    1. Dear Atma,

      Yes you can. Mendeley is just a reference manager, it lets you integrate your references with LaTeX and you can still cite everything the same way.

      Regards,
      Dinesh Agarwal

      Delete

Post a Comment

Comments on QuickLatex are strictly moderated. As much as I hate moderation, I must fight spam. Please rest assured that if your comment is relevant I will approve it and answer.

Popular posts from this blog

Writing basic math in LaTeX - inline math and math environment

Internet abounds with LaTex tutorials on how to write mathematics equations and simple symbols in LaTeX. It is sometimes not clear as to how the math environment works in general and how to differntiate between inline math equations and how to write them on a line of their own. I earlier did a tutorial on how to write mathematical equations using Latex  which covered the "equation" environment in LaTeX. Math environment is equally important and in this tutorial I am going to talk about how to use basic math environment in LaTeX. Specifically, I am going to discuss how to do the following in LaTeX: How to initiate Math environment Writing inline math equations and writing equations in a separate line How to use frac for equations How to use paranthesis and brackets to enclose mathematical symbols and equations How to type powers and indices How to write matrices Following video illustrates the step by step instructions to use math in LaTeX   The code used in

Latex Tutorial: How to Create Images, Diagrams, and Flow Charts Using Latex

This tutorial is an extension of previous video tutorial on how to use tikz for image creation in Latex . In this video I explain how to set up your document for flow chat design. This equally applies to any other image that uses similar structure. Specifically, in this video I talk about following things: How to create a flow chart How to setup styles for reusable components of an image How to draw arrows from one component to other How to change the styles of components How to change the arrowhead for Latex arrows How to align components left, right, top, and below of each other The code use:d in the video is here: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,shadows,arrows} \begin{document} \tikzstyle{decision} = [diamond, draw, fill=blue!50] \tikzstyle{line} = [draw, -stealth, thick] \tikzstyle{elli}=[draw, ellipse, fill=red!50,minimum height=8mm, text width=5em, text centered] \tikzstyle{block} = [draw, rectangle, fill=blue!50, text width

How to draw Reddit Alien in LaTeX using Tikz - Video tutorial and code

If you are not a Redditor you are a lucky person. It's a one way traffic scenario with no dead end. Once you subscribe to Reddit there is no way back and it is no good being there. I am expecting my colleagues to have an intervention for my Reddit addiction soon but till then I am all here to invest (read:waste) my precious time. Since we got that out of our way, let us get back to business. Today, we are going to see how to draw a cartoon figure using LaTeX. The motivation behind this post is /r/latex on Reddit as I wanted that subreddit to have its logo drawn in LaTeX. I did not know it already was in LaTeX but it seems my work is appreciated there so I am going to contribute my 2 cents to the community. Specifically, we will learn following things in this tutorial: How to work with Colors - defining RGB colors in LaTeX. How to use multiple layers to set order of document objects (send to back, bring forward like functionality). How to use Arcs in an effective way.