Created
May 13, 2015 00:19
-
-
Save swaroopjcse/22ab27c508f205f9820f to your computer and use it in GitHub Desktop.
Main root file for a latex project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[a4paper,11pt]{article} | |
\usepackage{graphicx} | |
\usepackage{ifpdf} | |
\ifpdf | |
% put here packages only for the PDF: | |
\DeclareGraphicsExtensions{.pdf,.png,.jpg,.mps} | |
\usepackage{hyperref} | |
\usepackage{todonotes} | |
\else | |
% put here packages only for the DVI: | |
\fi | |
%\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent | |
\usepackage{amssymb} | |
%-------------------- custom configurations ------------------------ | |
%\linespread{1.5} % Double spaced text | |
\usepackage[semicolon,authoryear]{natbib} | |
%\bibpunct{(}{)}{;}{a}{}{;} %configure punctuation: use parentheses (), semicolon to separate, and author-year style | |
% numbering reset and prefixed for each section | |
\usepackage{amsmath} | |
\numberwithin{equation}{section} | |
\numberwithin{figure}{section} | |
%--------------------------------------------------------------- | |
%----------------------- title info ----------------------------- | |
\title{Title} | |
\author{Author} | |
%\date{} % Activate to display a given date or no date | |
%--------------------------------------------------------------- | |
\begin{document} | |
\maketitle | |
%--------------------------------------------------------------- | |
\input{./tex/abstract} | |
\input{./tex/1one} | |
%==================================================== | |
%\newpage | |
\bibliographystyle{IEEEtranN} | |
\bibliography{bibfile} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment