% Style file to format Carleton letters
% Author: Andrew Gainer-Dewar, 2014
% This work is licensed under the Creative Commons Attribution 4.0 International License.
% To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.
\ProvidesPackage{carlletter}

%% LOAD SUPPORTING PACKAGES

% We want to use US letter paper with one-inch margins
\RequirePackage{geometry}
\geometry{letterpaper, margin=1.0in}

% PDFLaTeX commands
\pdfpagewidth=\paperwidth
\pdfpageheight=\paperheight

% And we should use T1 for the output encoding, because the default results
% in a big mess with accented characters in the PDF
\RequirePackage[T1]{fontenc}

% The Babel package modernizes the hyphenation routines.
% Here, we configure it to use US English.
\RequirePackage[american]{babel}

% The microtype package fixes a lot of small typographical things.
% They're hard to see, but your eyes will thank you!
\RequirePackage{microtype}

% The mathtools and amssymb packages provide some important mathematical support
\RequirePackage{mathtools,amssymb}

% The mathtools package provides facilities for many mathematical tasks.
% In particular, it sets up nice commands for formatting braces.
\DeclarePairedDelimiter{\pbrac}{(}{)}
\DeclarePairedDelimiter{\sbrac}{[}{]}
\DeclarePairedDelimiter{\cbrac}{\{}{\}}
\DeclarePairedDelimiter{\floor}{\lfloor}{\rfloor}
\DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}
\DeclarePairedDelimiter{\abs}{\lvert}{\rvert}
\DeclarePairedDelimiter{\norm}{\lVert}{\rVert}

% The hyperref package sets up PDF hyperlinks and other fanciness.
% WARNING: THIS MUST BE THE LAST PACKAGE LOAD
\RequirePackage{hyperref}