Showing posts with label LATEX. Show all posts
Showing posts with label LATEX. Show all posts

Monday, 29 December 2014

The \nocite Command in BibTeX


  The normal behavior of BibTeX is set in such a way that unreferenced entries in the .bib file will not be displayed in the bibliography section. But what if we need to print even the unreferenced entries in the .bib file also made part of the bibliographic section? For that we have a command called \nocite{*}. This command will override the default behavior of BibTeX such that even an referenced entries in the .bib file will be added in the bibliographic section in the DVI or PDF file produced. The script below shows the working of \nocite{*} command. The TeX file uses a .bib file called bib1.bib. 

\documentclass{article}

\usepackage{natbib}

\title{Sample Article}

\author{D}

\begin{document}

\maketitle

\nocite{*}

Here the entries in the Bibfile are not referenced. 

But they are shown in the reference section because we 

use \textbackslash cite\{*\} command.

\bibliographystyle{plain}

\bibliography{bib1.bib}

\end{document}
 

Friday, 29 November 2013

LaTeX: Presentation on Miscellaneous Topics


  This post provides a presentation on miscellaneous LaTeX topics. The presentation discusses a few useful topics in LaTeX. Download the file and view it in full screen mode or presentation mode.

Click here to download the Presentation.

Click here to download watermarking.tex.

Click here to download href.tex.

Click here to download newcommand.tex.

LaTeX: Presentation on Beamer


  This post provides a presentation on Beamer. Beamer is a LaTeX document class used to create presentations. The presentation might be sufficient for Beginners in Beamer. Download the presentation and view it in full screen mode or presentation mode.

LaTeX: Presentation on Math Mode


  This post provides a presentation on the Math mode of LaTeX. The contents discussed in the presentation gives an introduction to the basics of Math mode. For LaTeX Beginners this might be a good introduction to Math mode. Download the presentation and view it in full screen mode or presentation mode.

Click here to download the Presentation.

Tuesday, 22 January 2013

Watermarking in LATEX

  Before uploading documents to the Internet, it is a very good idea to watermark them so that your work is not claimed by others. You can include a watermark to PDF documents by using LATEX. I am discussing two different methods to watermark your PDF documents.

The code given below can be used to add a watermark to your PDF file.

\usepackage{draftwatermark}
\SetWatermarkLightness{ 0.90 }    
% The above Statement sets 
% the transparency of the Watermarking Text.
\SetWatermarkScale{ 15 } 
% The above Statement sets 
% the size of the Watermarking Text.   
\SetWatermarkText{D} 
% The above Statement sets the Watermarking Text.
 
Click here to download the TEX file for adding watermarks to PDF documents. 
Click here to view the PDF document with Watermark.
 
  
If you don't have the package "draftwatermark" in your Latex installation, then use the following code.

\usepackage{graphicx,type1cm,eso-pic,color}
\makeatletter
  \AddToShipoutPicture{              
    \setlength{\@tempdimb}{.5\paperwidth
    \setlength{\@tempdimc}{.5\paperheight}
    \setlength{\unitlength}{1pt}
    \put(\strip@pt\@tempdimb,\strip@pt\@tempdimc){
       \makebox(0,0){
          \rotatebox{55}{  
          % The above Statement sets 
          % the Rotation of the Watermarking Text.                        
           \textcolor[gray]{0.85}{ 
           % The above Statement sets 
           % the transparency of the Watermarking Text.
               \fontsize{5cm}{5cm} 
               % The above Statement sets 
               % the size of the Watermarking Text.
               \selectfont{D}}}}}}  
               % The above Statement sets 
               % the Watermarking Text.
\makeatother

Click here to download the TEX file for adding watermarks to PDF documents. 
Click here to view the PDF document with Watermark. 

Wednesday, 28 November 2012

Beamer Template for Simple Presentations.



  Research communities all over the world prefers presentations created using Latex. But most of us still use prefer Proprietary software like MS Word. The main reason for such preferences is not often the ignorance regarding open source alternatives. Many of us are simply afraid of working with a new technology, especially if it involves a few commands. 

  LATEX is a very good document preparation tool. Once you create a few documents using LATEX you will enjoy working with it. To create presentations LATEX provides a class called Beamer. Here I have included a Template for creating simple presentations. I have also included a presentation in PDF format which was created by running the program with Beamer Theme "beamerthemesidebar". Please compile the Program twice. Only then you will get a correct Table of Contents listing.


Click here to download the Tex Program for creating simple presentations.

Click here to download the Presentation in PDF format obtained after running the program with Beamer theme sidebar.

Tuesday, 27 November 2012

Latex Template for IEEE Conference Papers

   

  It is difficult to produce quality results in research. But some times it is even more difficult to produce a good quality IEEE Format paper. You have to worry about the font styles, alignment, margins and what not if you are using MS Word or some such word processor. If you are using Latex often you have to worry about different commands and packages. So here I try provide a simple LATEX Template for creating IEEE Conference Papers. I have tried to make it as simple as possible, and I have also given sufficient comments where ever required. Here I give two links the first one is to the tex file which you need to run in Texmaker. If you want you can also download the pdf file you will get when you run the tex file without making any modifications.



Click here to download the Tex file which gives a Template for creating IEEE Conference Papers.
 

Click here to download the PDF file generated, if you run the Tex file without any modification.