[HOME]  [USEFUL LINKS]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% File: hasibpresentation.sty

%

% Author: A. A. Hasib

%

% Credit: Thomas G. Akin, Sara Barber

%

% Description: A macro to be called via \usepackage{}.
%

% Note: Path for the sty file to put in Windows 7 C:\Program Files(x 86)\MikTex 2.8\tex\latex\hasibpresentation
%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%

%

%================================================

%================================================

% New Command Macros

%================================================

%================================================

%

%

\usepackage{beamerthemesplit}

\usepackage{multicol}

%----------------------

% General Commands:

%---------------------

\everymath{\displaystyle} %a command that can be used a single time so all %equations will be displayed in "displaystyle" mode

%

%

%

%

%--------------------------

% General reference macros:

%--------------------------

\newcommand{\refsec}[1]{Section~\ref{#1}} % Text Environment

\newcommand{\refsubsec}[1]{Subsection~\ref{#1}} % Text Environment

\newcommand{\refsubsubsec}[1]{Subsubsection~\ref{#1}} % Text Environment

\newcommand{\reffig}[1]{Figure~\ref{#1}} % Text Environment

\newcommand{\refeq}[1]{Equation (\ref{#1})} % Text Environment

\newcommand{\reftab}[1]{Table~\ref{#1}} % Text Environment

%

%

%

%------------------------------

% Useful mathematical symbols:

%------------------------------

\newcommand{\del}{\nabla} % Math Environment

\newcommand{\p}{\partial}

\newcommand{\bb}[1]{\bar{#1}} % Math Environment

\newcommand{\pd}[3]{\frac{\partial^{#1}{#2}}{\partial{#3}}} % Math

\newcommand{\td}[3]{\frac{d^{#1}{#2}}{d{#3}}} % Math Environment

\newcommand{\lgmode}[2]{LG$_{#1}^{#2}$} % Text Environment

\newcommand{\sphericalharmonic}[2]{Y_{#1}^{#2}(\theta,\phi)} % Math

%

%

%

%--------------

%Environment:

%--------------

\newcommand{\beqn}{\begin{eqnarray} \begin{aligned}}

\newcommand{\eeqn}{\end{aligned} \end{eqnarray}}

\newcommand{\beqns}{\begin{eqnarray*}}

\newcommand{\eeqns}{\end{eqnarray*}}

\newcommand{\bal}{\begin{al}} % For some reason it doesn't work

\newcommand{\eal}{\end{al}} % For some reason it doesn't work

\newcommand{\bals}{\begin{align*}} % For some reason it doesn't work

\newcommand{\eals}{\end{align*}} % For some reason it doesn't work

\newcommand{\benm}{\begin{enumerate}}

\newcommand{\eenm}{\end{enumerate}}

\newcommand{\nl}{\nonumber \\} %For using in \begin{align} Environment %for lines with no equation number.

%

%

%

%------------------------------

% Quantum Mechanical Notation:

%------------------------------

\newcommand{\dg}{\dagger{}} %Math Environment

\newcommand{\bra}[1]{\langle #1 |} % Math Environment

\newcommand{\ket}[1]{| #1 \rangle} % Math Environment

\newcommand{\braket}[2]{\langle #1 \mid #2 \rangle} % Math Environment

\newcommand{\tramp}[3]{\langle{#1}\mid{#2}\mid{#3}\rangle} %Math Environment

%

\newcommand{\ylm}{Y_l^m} %Math Environment

\newcommand{\ylnm}{Y_l^{-m}} %Math Environment

\newcommand{\ylms}{Y_l^{*m}} %Math Environment

\newcommand{\ylmtp}{Y_l^m(\theta,\phi)} %Math Environment

\newcommand{\ylnmtp}{Y_l^{-m}(\theta,\phi)} %Math Environment

\newcommand{\ylmstp}{Y_l^{*m}(\theta,\phi)} %Math Environment

\newcommand{\plm}{P_l^m} %Math Environment

\newcommand{\plnm}{P_l^{-m}} %Math Environment

\newcommand{\plms}{Y_l^{*m}} %Math Environment

\newcommand{\summ}{\sum_{m=-l}^l} %Math Environment

\newcommand{\suml}{\sum_{l=0}^{\infty}} %Math Environment

\newcommand{\lm}{_l^m} %Math Environment

\newcommand{\lnm}{_l^{-m}} %Math Environment

\newcommand{\lms}{_l^{*m}} %Math Environment

\newcommand{\n}{_{\nu}} %Math Environment

%

%

%

%----------------------------

%Particle Physics Notations:

%----------------------------

\newcommand{\mn}{{ }^{\mu \nu}} %Math Environment

\newcommand{\nm}{{}_{\mu \nu}} %Math Environment

\newcommand{\um}{{}^{\mu}} %Math Environment

\newcommand{\dm}{{}_{\mu}} %Math Environment

\newcommand{\un}{{}^{\nu}} %Math Environment

\newcommand{\dn}{{}_{\nu}} %Math Environment

\newcommand{\us}{{}^{\sigma}} %Math Environment

\newcommand{\ds}{{}_{\sigma}} %Math Environment

\newcommand{\ur}{{}^{\rho}} %Math Environment

\newcommand{\dr}{{}_{\rho}} %Math Environment

\newcommand{\cut}{\slashed{}} %Math Environment

%

%

%

%================================================

%================================================

% Standard Usepackages that I use

%================================================

%================================================

%

%

%--------------------------------------------------------------------------

% The dvipsnames color package contains 68 colors to choose from.

% See http://en.wikibooks.org/wiki/LaTeX/Colors

% for a complete list of these colors.

% The simplest way to type colored text is by:

%\textcolor{declared-color}{text}

% \usepackage[usenames,dvipsnames]{color}

%--------------------------------------------------------------------------

%

%

%

%

%-----------------------------------------------------------------------

%-------------------------------------------------------------------------

%

%

%

%

%-------------------------------------------------------------------------

% LaTeX will use the Postscript Times type 1 font instead of the default

% ComputerModern font

%\usepackage{mathptmx}

%-------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% The amsmath contains the advanced math extensions for LaTeX. The

% complete documentation should be in your LaTeX distribution; the file

% is called amsdoc, and can be dvi or pdf.

\usepackage{amsmath}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% The amssymb adds new symbols in to be used in math mode.

\usepackage{amssymb}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% The eucal package contains more mathematical symbols.

\usepackage{eucal}

%--------------------------------------------------------------------------

%

%

%

%

%-------------------------------------------------------------------------

%The mathrsfs package uses a really fancy script font (the name stands for %"Ralph Smith's Formal Script") which is already part of most modern TeX %distributions. The package creates a new command \mathscr.

\usepackage{mathrsfs}

%-------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% The verbatim package allows for the user to insert any character(s)

% typed in the .tex file, and have it appear as is in the output file.

% The appropriate command is the following: \verb==. Where the desired

% text to be placed into the output file as is, should be entered

% between the '=' signs.

%\usepackage{verbatim}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% The latexsym introduces other mathematical symbols.

%\usepackage{latexsym}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% The package setspace allows the user to change line spacing, e.g.

% provides the \doublespacing for making double spaced documents.

%\usepackage{setspace}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% The enumerate package is an environment that allows you to choose the

% 'bullet' style. One begins the environment as usual:

%

% \begin{enumerate}[]

% \item

% ...

% \item

% \end{enumerate}

%

% where the choosing of the 'bullet' style is done using the []. If one

% inserts a 'I.' (without the quote ticks of course) then one gets

% bullets of the style I., II., III., IV., etc. I can also chose 'A.'

% to place in the '[]'. With this option, I get the following: A., B.,

% C., etc. I encourage the user to explore the possibilities.

\usepackage{enumerate}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% The epsfig packages allows the importation of .eps figures...I think.

%\usepackage{epsfig}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% The subfigure package allows to define multiple floats (figures,

% tables) within one environment giving individual captions and labels

% in the form 1a, 1b.

\usepackage{subfigure}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% The array package extends the possibility of LaTeX to handle tables,

% fixing some bugs and adding new features. Using it, you can create

% very complicated and customized tables. For more information visit

% the site:

% http://en.wikibooks.org/wiki/LaTeX/Tables

\usepackage{array}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% I found the deluxtable package whilst looking at the source file for an

% Astro LaTeX thesis. I found that it produced beautiful tables. See

% the example 'complextable.tex example. It is quite nice.

%\usepackage{deluxetable}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% The graphicx package is used to manage external pictures.

\usepackage{graphicx}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% The siunitx package helps you typeset of SI-units correctly. For

% example \SI{12}{\mega\herz}. Automatically handles the correct spacing

% between the number and the unit. Note that even non-SI-units are set,

% like dB, rad, ...

\usepackage{siunitx}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% The rotating package will rotate any object by a specified amount.

% This can be done by the following environment:

%

% \begin{turn}{deg}

% ...

% \end{turn}

%

% This will put in spaces around the object to prevent overlap. If one

% want so omit the automatic spaces, then use the 'rotate' environment

% rather than 'turn'.

%\usepackage{rotating}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% The package longtable breaks tables up over page breaks.

%\usepackage{longtable}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% The float package allows the user to place a figure/table in specific

% locations in the document.

%\usepackage{float}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% The bm package allows for the user to make bold face characters in the

% math environment.

\usepackage{bm}

%--------------------------------------------------------------------------

%

%

%

%

%

%------------------------------------------------------------------------

%The easiest way to do multirow and multicolumn spanning in latex is to use the package multirow.

%

%Example:

%\begin{tabular}{|l|l|l|} \hline

%\multicolumn{3}{|c|}{Schedulers} \\ \hline

%\multirow{3}{*}{Immediate} & RR & Round Robin \\

%& EF & Earliest First \\

%& LL & Lightest Loaded \\ \hline

%\multirow{4}{*}{Batch} & MM & Min-Min \\

%& MX & Max-Min \\

%& DL & Dynamic Level \\

%& RC & Relative Cost \\ \hline

%\multirow{4}{*}{Evolutionary} & PN & This paper \\

%& ZO & Genetic Algorithm\\

%& TA & Tabu search~\cite{GLOV1986j}\\

%& SA & Simlulated Annealing \\ \hline

%\end{tabular}

%

\usepackage{multirow}

\usepackage{multicol}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% The wrapfig package allows the user to wrap text around a figure.

\usepackage{wrapfig}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% The anysize package allows the user to set the size of the margins.

% To set margin sizes use the following command:

%

% \marginsize{left}{right}{top}{bottom}

%

% in whatever units are desired.

%\usepackage{anysize}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% Additional symbols

\usepackage{marvosym}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% Additional symbols

\usepackage{textcomp}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% To strike out an expression or portion of an expression use the

% following commands:

% \cancel draws a diagonal line

% through argument.

%

% \bcancel draws a neg. slope line

% (as in cancel).

%

% \xcancel draws an X through argument.

%

% \cancelto{value}{expression} draws a diagonal arrow

% through the expression,

% pointing to the value.

\usepackage{cancel}

%--------------------------------------------------------------------------

%

%

%

%

%

%--------------------------------------------------------------------------

% To create a list inside a paragraph do the following:

%

% paragraph text ....

% \begin{inparaenum}[(a)]

% \item ...

% \item ...

% .

% .

% .

% \end{inparaenum}

% rest of paragraph text.

\usepackage{paralist}

%--------------------------------------------------------------------------

%

%

%

%

%-------------------------------------------------------------------------

% This package I mainly use to flash the equation to left.

%\begin{fleqn}

% .

% .

% \begin{align}

% .

% .

% \end{align}

%

%\end{fleqn}

\usepackage{nccmath}

%-------------------------------------------------------------------------

%

%

%

%

%--------------------------------------------------------------------------

%

%This is use to write the slash notation \slashed p

%

\usepackage{slashed}

%--------------------------------------------------------------------------