Virgil.GRiffith:: The coolest LaTeX packages [Changes]   [Calendar]   [Search]   [Index]   

The coolest LaTeX packages

Download Full Package Here

% For skipping pages
\usepackage{afterpage}
% Skip to the next page
\afterpage{\clearpage}
\newpage

% For inputting foreign characters
\usepackage[utf8]{inputenc}

% For using color names
\usepackage[usenames,dvipsnames]{color}

% for multiline comments
\usepackage{verbatim}
\begin{comment}
This is my comment.
That can span multiple lines.
\end{comment}

% Pretty fonts
\usepackage[T1]{fontenc}
\usepackage{times,lmodern}
\usepackage{mathtime,amsfonts}

%% Make things prettier %%%%%%%%%%%
\usepackage[final]{graphicx}
%\usepackage[draft]{graphicx}

% better defaults and pretty customizations for tables
\usepackage{booktabs}

%\usepackage{url}
\usepackage{hyperref}

% better citations: [1,2,3,4,5] -> [1-5]
\usepackage{cite}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% necessary for fancy positioning
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{float}

% for floating boxes
\usepackage{boxedminipage}

% For figures and captions
% ccaption provides ability to rename Figure -> Fig.
% wrapfig allows wrapping text around figures
% subfig is a better version of "subfigure"
\usepackage{ccaption,subfig,wrapfig}

% Makes tables prettier
\renewcommand{\arraystretch}{1.2}

% Add extra symbols
\usepackage{commath}
\usepackage{wasysym, marvosym}

% prefer to things by name
\usepackage[usenames,dvipsnames]{color}

% Change header and footer on any page
\usepackage{fancyhdr}

% For debugging during document creation
\usepackage{showkeys}

% For handling many authors
\usepackage{authblk}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% SAVETREES - space saving options
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% options: normaltitle, normalmargins, normalsections, normallists, normalfloats, normalindent, , normalleading, normalbib, normalbibnotes
% use everything
%\usepackage[]{savetrees}
%\usepackage[normaltitle, normalsections, normalmargins, normalindent]{savetrees}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Commands

% For fixing fragile commands that cause the compile to fail
\protect\cmd

% References should include the entire .bib library
\nocite{*}

% For getting the primary author's contact email address at the bottom of the page:
\usepackage{authblk}
\author[*]{{\bf Virgil Griffith}}
\begin{document}
\maketitle


%%% For the footnote
\let\oldthefootnote\thefootnote
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\footnotetext[1]{To whom correspondence should be addressed. Email: \url{virgil@caltech.edu}}
\let\thefootnote\oldthefootnote
%%% End Footnote

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Abbreviations you'll always want
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand*{\benum}{\begin{enumerate}}
\newcommand*{\eenum}{\end{enumerate}}
\newcommand*{\bitem}{\begin{itemize}}
\newcommand*{\eitem}{\end{itemize}}
\newcommand*{\beqnarray}{\begin{eqnarray}}
\newcommand*{\eeqnarray}{\end{eqnarray}}
\newcommand*{\beqn}{\begin{equation}}
\newcommand*{\eeqn}{\end{equation}}
\newcommand*{\bdesc}{\begin{description}}
\newcommand*{\edesc}{\end{description}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Using \xspace at the end of custom macros to not fuckup spacing
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{xspace}


% example of best practice: \newcommand{\apples}{\textsf{AppLeS}\xspace}

(last modified 2012-01-18)       [Login]
(No back references.)