Last active
September 14, 2018 00:47
-
-
Save GhostofGoes/ce5f00ad2afe975dc3a39e5e147ac460 to your computer and use it in GitHub Desktop.
Various useful aliases, customizations, settings, packages, and such for LaTeX I've used over the years.
This file contains 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[14pt]{extarticle} | |
% -------------------------------------------------------------------------- | |
% Package imports | |
\usepackage{enumitem} | |
\usepackage{pdfpages} | |
\usepackage{calc} | |
\usepackage{ifthen} | |
\usepackage{geometry} | |
\usepackage{amsmath,amsthm,amsfonts,amssymb} | |
\usepackage{hyperref} | |
\usepackage{polynom} | |
\usepackage{listings} | |
% -------------------------------------------------------------------------- | |
\pdfinfo{ % Meta-data for generated PDF | |
/Title (\@title) | |
%/Subtitle () | |
/Creator (TeXworks) | |
/Author (\@author) | |
/Subject () | |
/Keywords (PDF;LaTeX;cgoes;goes8945;) | |
} | |
% Don't print section numbers | |
\setcounter{secnumdepth}{0} | |
% My Environments | |
\newcommand{\bbm}{\begin{bmatrix}} | |
\newcommand{\ebm}{\end{bmatrix}} | |
\newcommand{\ben}{\begin{enumerate}} | |
\newcommand{\een}{\end{enumerate}} | |
\newcommand{\bi}{\begin{itemize}} | |
\newcommand{\ei}{\end{itemize}} | |
\newcommand{\eq}[1]{\begin{align*}#1\end{align*}} % Usage: \eq{ <equation> } | |
\newcommand{\dydx}{\frac{dy}{dx}} | |
\newcommand{\part}{\partial} | |
% Letters instead of numbers for enumerated lists (Alph for capitals) | |
%\setenumerate[0]{label=(\alph*)} | |
% -------------------------------------------------------------------------- | |
% -------------------------------------------------------------------------- | |
\begin{document} | |
% -------------------------------------------------------------------------- | |
% Title page | |
\title{} | |
\date{} | |
\author{Christopher E Goes} | |
% \maketitle | |
% -------------------------------------------------------------------------- | |
% Document Content | |
%------------------------------------------------------------------------ | |
% End of Document % | |
\end{document} | |
%------------------------------------------------------------------------ | |
%------------------------------------------------------------------------ | |
%------------------------------------------------------------------------ | |
%------------------------------------------------------------------------ | |
\iffalse %%%% | |
\begin{thebibliography}{9} | |
\bibitem{du14} | |
Du, W. | |
\textit{SQL Injection Attack Lab - Using Collabtive.}\\ | |
Syracuse University, New York, 2011. | |
\end{thebibliography} | |
\fi %%%% | |
%------------------------------------------------------------------------ | |
\iffalse | |
\bibitem{stallings14} | |
Stallings, W. and Brown, L. | |
\textit{Computer Security: Principles and Practice.} | |
Pearson, New South Wales, 2014. | |
\fi | |
\end{thebibliography} | |
%------------------------------------------------------------------------ | |
%------------------------------------------------------------------------ | |
%------------------------------------------------------------------------ | |
% You can even have references | |
%\rule{0.3\linewidth}{0.25pt} | |
%\scriptsize | |
%\bibliographystyle{abstract} | |
%\bibliography{refFile} | |
%------------------------------------------------------------------------ | |
\end{document} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment